packages: libnl/libnl.spec, libnl/libnl-gcc44.patch (NEW) - fix error: /usr...

glen glen at pld-linux.org
Wed May 27 23:49:14 CEST 2009


Author: glen                         Date: Wed May 27 21:49:14 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix error: /usr/include/netlink/object.h:58: error: inline function 'nl_object_priv' declared but never defined
- rel 4

---- Files affected:
packages/libnl:
   libnl.spec (1.25 -> 1.26) , libnl-gcc44.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libnl/libnl.spec
diff -u packages/libnl/libnl.spec:1.25 packages/libnl/libnl.spec:1.26
--- packages/libnl/libnl.spec:1.25	Wed Mar 11 18:02:49 2009
+++ packages/libnl/libnl.spec	Wed May 27 23:49:08 2009
@@ -7,7 +7,7 @@
 Summary(pl.UTF-8):	Biblioteka do obsługi gniazd netlink
 Name:		libnl
 Version:	1.1
-Release:	3
+Release:	4
 Epoch:		1
 License:	LGPL v2.1
 Group:		Libraries
@@ -15,6 +15,7 @@
 # Source0-md5:	ae970ccd9144e132b68664f98e7ceeb1
 Patch0:		%{name}-static.patch
 Patch1:		%{name}-ULONG_MAX.patch
+Patch2:		%{name}-gcc44.patch
 URL:		http://people.suug.ch/~tgr/libnl/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -76,6 +77,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
@@ -130,6 +132,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2009/05/27 21:49:08  glen
+- fix error: /usr/include/netlink/object.h:58: error: inline function 'nl_object_priv' declared but never defined
+- rel 4
+
 Revision 1.25  2009/03/11 17:02:49  qboosh
 - pl for -apidocs
 

================================================================
Index: packages/libnl/libnl-gcc44.patch
diff -u /dev/null packages/libnl/libnl-gcc44.patch:1.1
--- /dev/null	Wed May 27 23:49:14 2009
+++ packages/libnl/libnl-gcc44.patch	Wed May 27 23:49:08 2009
@@ -0,0 +1,10 @@
+--- libnl-1.1/include/netlink/object.h~	2008-01-14 17:48:45.000000000 +0200
++++ libnl-1.1/include/netlink/object.h	2009-05-28 00:47:33.434187052 +0300
+@@ -55,7 +55,6 @@
+ /* Access Functions */
+ extern int			nl_object_get_refcnt(struct nl_object *);
+ extern struct nl_cache *	nl_object_get_cache(struct nl_object *);
+-extern inline void *		nl_object_priv(struct nl_object *);
+ 
+ #ifdef __cplusplus
+ }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libnl/libnl.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list