* [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius/files: freeradius-2.1.3-qafixes.patch
@ 2009-03-05 22:50 Alin Nastac (mrness)
0 siblings, 0 replies; 2+ messages in thread
From: Alin Nastac (mrness) @ 2009-03-05 22:50 UTC (permalink / raw
To: gentoo-commits
mrness 09/03/05 22:50:39
Modified: freeradius-2.1.3-qafixes.patch
Log:
Fix compile errors on systems with libtool-2 (#261189). Add readline and libpcap dependency atoms.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Revision Changes Path
1.2 net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?r1=1.1&r2=1.2
Index: freeradius-2.1.3-qafixes.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- freeradius-2.1.3-qafixes.patch 1 Mar 2009 13:57:04 -0000 1.1
+++ freeradius-2.1.3-qafixes.patch 5 Mar 2009 22:50:39 -0000 1.2
@@ -1,6 +1,42 @@
+diff -Nru freeradius-server-2.1.3.orig/configure.in freeradius-server-2.1.3/configure.in
+--- freeradius-server-2.1.3.orig/configure.in 2008-12-05 16:37:56.000000000 +0000
++++ freeradius-server-2.1.3/configure.in 2009-03-05 22:25:53.000000000 +0000
+@@ -544,7 +544,19 @@
+ ],
+ [ AC_MSG_WARN([pcap library not found, silently disabling the RADIUS sniffer.]) ])
+
+-AC_LIB_READLINE
++AC_CHECK_LIB(readline, readline,
++ [ LIBREADLINE="-lreadline"
++ AC_DEFINE(HAVE_LIBREADLINE, 1,
++ [Define to 1 if you have a readline compatible library.])
++ AC_DEFINE(HAVE_READLINE_READLINE_H, 1,
++ [Define to 1 if you have the <readline/readline.h> header file.])
++ AC_DEFINE(HAVE_READLINE_HISTORY, 1,
++ [Define if your readline library has \`add_history'])
++ AC_DEFINE(HAVE_READLINE_HISTORY_H, 1,
++ [Define to 1 if you have the <readline/history.h> header file.])
++ ],
++ [ LIBREADLINE="" ])
++AC_SUBST(LIBREADLINE)
+
+ dnl #############################################################
+ dnl #
+diff -Nru freeradius-server-2.1.3.orig/src/lib/Makefile freeradius-server-2.1.3/src/lib/Makefile
+--- freeradius-server-2.1.3.orig/src/lib/Makefile 2009-03-05 22:24:10.000000000 +0000
++++ freeradius-server-2.1.3/src/lib/Makefile 2009-03-05 22:25:53.000000000 +0000
+@@ -41,7 +41,7 @@
+
+ $(TARGET).la: $(LT_OBJS)
+ $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
+- $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^
++ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ -lpthread
+
+ $(LT_OBJS): $(INCLUDES)
+
diff -Nru freeradius-server-2.1.3.orig/src/main/listen.c freeradius-server-2.1.3/src/main/listen.c
--- freeradius-server-2.1.3.orig/src/main/listen.c 2008-12-05 16:37:56.000000000 +0000
-+++ freeradius-server-2.1.3/src/main/listen.c 2009-03-01 12:16:55.000000000 +0000
++++ freeradius-server-2.1.3/src/main/listen.c 2009-03-05 22:25:53.000000000 +0000
@@ -45,6 +45,9 @@
#include <fcntl.h>
#endif
@@ -11,14 +47,3 @@
/*
* We'll use this below.
-diff -Nru freeradius-server-2.1.3.orig/src/main/radmin.c freeradius-server-2.1.3/src/main/radmin.c
---- freeradius-server-2.1.3.orig/src/main/radmin.c 2008-12-05 16:37:56.000000000 +0000
-+++ freeradius-server-2.1.3/src/main/radmin.c 2009-03-01 12:22:44.000000000 +0000
-@@ -47,6 +47,7 @@
- #else /* !defined(HAVE_READLINE_H) */
- extern char *readline ();
- #endif /* !defined(HAVE_READLINE_H) */
-+#include <readline/history.h>
- char *cmdline = NULL;
- #else /* !defined(HAVE_READLINE_READLINE_H) */
- /* no readline */
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius/files: freeradius-2.1.3-qafixes.patch
@ 2009-03-05 23:11 Alin Nastac (mrness)
0 siblings, 0 replies; 2+ messages in thread
From: Alin Nastac (mrness) @ 2009-03-05 23:11 UTC (permalink / raw
To: gentoo-commits
mrness 09/03/05 23:11:52
Modified: freeradius-2.1.3-qafixes.patch
Log:
Use $LIBS instead -lpthread, since thread support could be disabled through configure options.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Revision Changes Path
1.3 net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch?r1=1.2&r2=1.3
Index: freeradius-2.1.3-qafixes.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dialup/freeradius/files/freeradius-2.1.3-qafixes.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- freeradius-2.1.3-qafixes.patch 5 Mar 2009 22:50:39 -0000 1.2
+++ freeradius-2.1.3-qafixes.patch 5 Mar 2009 23:11:52 -0000 1.3
@@ -30,7 +30,7 @@
$(TARGET).la: $(LT_OBJS)
$(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
- $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^
-+ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ -lpthread
++ $(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^ $(LIBS)
$(LT_OBJS): $(INCLUDES)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-05 23:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 23:11 [gentoo-commits] gentoo-x86 commit in net-dialup/freeradius/files: freeradius-2.1.3-qafixes.patch Alin Nastac (mrness)
-- strict thread matches above, loose matches on Subject: below --
2009-03-05 22:50 Alin Nastac (mrness)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox