packages: glib2/glib2.spec, glib2/glib2-pc.patch (NEW) - rel 2; -lrt needed...

arekm arekm at pld-linux.org
Fri Feb 11 08:55:13 CET 2011


Author: arekm                        Date: Fri Feb 11 07:55:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; -lrt needed for static linking

---- Files affected:
packages/glib2:
   glib2.spec (1.233 -> 1.234) , glib2-pc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/glib2/glib2.spec
diff -u packages/glib2/glib2.spec:1.233 packages/glib2/glib2.spec:1.234
--- packages/glib2/glib2.spec:1.233	Wed Feb  9 18:53:04 2011
+++ packages/glib2/glib2.spec	Fri Feb 11 08:55:07 2011
@@ -20,13 +20,14 @@
 Summary(zh_CN.UTF-8):	实用工具函数库
 Name:		glib2
 Version:	2.28.0
-Release:	1
+Release:	2
 Epoch:		1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/glib-%{version}.tar.bz2
 # Source0-md5:	51dbe36bc03a29a1f9bf6b74fb4a6926
 Patch0:		%{name}-makefile.patch
+Patch1:		%{name}-pc.patch
 URL:		http://www.gtk.org/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.10
@@ -195,6 +196,7 @@
 %prep
 %setup -q -n glib-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %if !%{with apidocs}
 %{__sed} -e '/SUBDIRS/s/docs//' -i Makefile.am
@@ -370,6 +372,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.234  2011/02/11 07:55:07  arekm
+- rel 2; -lrt needed for static linking
+
 Revision 1.233  2011/02/09 17:53:04  qboosh
 - package gdb pretty printers (-gdb subpackage)
 

================================================================
Index: packages/glib2/glib2-pc.patch
diff -u /dev/null packages/glib2/glib2-pc.patch:1.1
--- /dev/null	Fri Feb 11 08:55:13 2011
+++ packages/glib2/glib2-pc.patch	Fri Feb 11 08:55:07 2011
@@ -0,0 +1,10 @@
+--- glib-2.28.0/glib-2.0.pc.in~	2009-04-01 01:04:20.000000000 +0200
++++ glib-2.28.0/glib-2.0.pc.in	2011-02-11 08:47:51.847033632 +0100
+@@ -10,6 +10,6 @@
+ Name: GLib
+ Description: C Utility Library
+ Version: @VERSION@
+ Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
+-Libs.private: @ICONV_LIBS@
++Libs.private: @ICONV_LIBS@ -lrt
+ Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include @GLIB_EXTRA_CFLAGS@
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/glib2/glib2.spec?r1=1.233&r2=1.234&f=u



More information about the pld-cvs-commit mailing list