rpms/libnl/devel libnl-1.1-include-limits-h.patch, NONE, 1.1 libnl.spec, 1.24, 1.25

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Fri Feb 22 16:43:14 UTC 2008


Author: dcbw

Update of /cvs/extras/rpms/libnl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5421

Modified Files:
	libnl.spec 
Added Files:
	libnl-1.1-include-limits-h.patch 
Log Message:
* Fri Feb 22 2008 Dan Williams <dcbw at redhat.com> - 1.1-3
- Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)



libnl-1.1-include-limits-h.patch:

--- NEW FILE libnl-1.1-include-limits-h.patch ---
diff -up libnl-1.1/include/netlink-local.h.limits libnl-1.1/include/netlink-local.h
--- libnl-1.1/include/netlink-local.h.limits	2008-02-22 11:31:18.000000000 -0500
+++ libnl-1.1/include/netlink-local.h	2008-02-22 11:32:57.000000000 -0500
@@ -22,6 +22,7 @@
 #include <time.h>
 #include <stdarg.h>
 #include <ctype.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <inttypes.h>


Index: libnl.spec
===================================================================
RCS file: /cvs/extras/rpms/libnl/devel/libnl.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- libnl.spec	19 Feb 2008 01:00:31 -0000	1.24
+++ libnl.spec	22 Feb 2008 16:42:23 -0000	1.25
@@ -3,7 +3,7 @@
 License: LGPL
 Name: libnl
 Version: 1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://people.suug.ch/~tgr/libnl/
 Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -12,6 +12,7 @@
 Patch2: libnl-1.0-pre5-debuginfo.patch
 Patch3: libnl-1.0-pre8-use-vasprintf-retval.patch
 Patch4: libnl-1.0-pre8-more-build-output.patch
+Patch5: libnl-1.1-include-limits-h.patch
 
 %description
 This package contains a convenience library to simplify
@@ -34,6 +35,7 @@
 %patch2 -p1 -b .debuginfo
 %patch3 -p1 -b .use-vasprintf-retval
 %patch4 -p1 -b .more-build-output
+%patch5 -p1 -b .limits
 
 %build
 %configure
@@ -63,6 +65,9 @@
 %{_libdir}/pkgconfig/%{name}-1.pc
 
 %changelog
+* Fri Feb 22 2008 Dan Williams <dcbw at redhat.com> - 1.1-3
+- Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.1-2
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list