rpms/xsupplicant/devel xsupplicant-2.2.0-implicit-DSO.patch, NONE, 1.1 xsupplicant.spec, 1.47, 1.48

Tom Callaway spot at fedoraproject.org
Wed Feb 10 21:22:22 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/xsupplicant/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18533

Modified Files:
	xsupplicant.spec 
Added Files:
	xsupplicant-2.2.0-implicit-DSO.patch 
Log Message:
fix implicit DSO linking

xsupplicant-2.2.0-implicit-DSO.patch:
 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

--- NEW FILE xsupplicant-2.2.0-implicit-DSO.patch ---
diff -up XSupplicant-2.2.0-src/xsupplicant/configure.ac.DSO XSupplicant-2.2.0-src/xsupplicant/configure.ac
--- XSupplicant-2.2.0-src/xsupplicant/configure.ac.DSO	2009-06-18 13:20:09.000000000 -0400
+++ XSupplicant-2.2.0-src/xsupplicant/configure.ac	2010-02-10 16:05:30.374641077 -0500
@@ -361,6 +361,9 @@ case "$host_os" in
       AC_CHECK_HEADER(sys/socket.h, [], [AC_MSG_ERROR([header file \
         <sys/socket.h> is required for Xsupplicant.])])
 
+      AC_CHECK_LIB(dl, dladdr)
+      AC_CHECK_LIB(z, deflate)
+
       AS_IF([test "$enable_static_iwlib" != yes], 
       		  [AC_CHECK_HEADER([iwlib.h], 
 		  	[MORELIBS="${MORELIBS} -liw"], [AC_MSG_ERROR([header file <iwlib.h> is required for XSupplicant.])])],


Index: xsupplicant.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xsupplicant/devel/xsupplicant.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- xsupplicant.spec	30 Jan 2010 04:13:04 -0000	1.47
+++ xsupplicant.spec	10 Feb 2010 21:22:22 -0000	1.48
@@ -1,7 +1,7 @@
 Name:		xsupplicant
 Summary:	Open Source Implementation of IEEE 802.1x
 Version:	2.2.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+ or BSD with advertising
 Group:		System Environment/Base
 URL:		http://www.open1x.org/
@@ -10,6 +10,7 @@ Source1:	XSupplicantUI.desktop
 Patch2:		xsupplicant-2.1.8-ui-Fedora.patch
 Patch3:		XSupplicant-2.1.8-ppc-fix.patch
 Patch4:		xsupplicant-2.1.9-force-release.patch
+Patch5:		xsupplicant-2.2.0-implicit-DSO.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libtool, dos2unix, libxml2-devel, pcsc-lite-devel, libtnc-devel
 BuildRequires:	openssl-devel, wireless-tools-devel
@@ -47,6 +48,8 @@ QT User Interface for XSupplicant.
 %patch3 -p1 -b .ppc
 # Force the UI bits to be built as "release", not "debug"
 %patch4 -p1 -b .release
+# Fix implicit linking issues
+%patch5 -p1 -b .DSO
 cd xsupplicant
 autoreconf -vfis
 
@@ -128,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}/
 
 %changelog
+* Wed Feb 10 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.2.0-2
+- fix implicit DSO linking issue with libdl
+
 * Fri Jan 29 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 2.2.0-1
 - update to 2.2.0
 



More information about the scm-commits mailing list