packages: mxml/mxml.spec, mxml/mxml-lpthread.patch (NEW) - link the library...

jajcus jajcus at pld-linux.org
Mon Apr 4 13:10:19 CEST 2011


Author: jajcus                       Date: Mon Apr  4 11:10:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link the library with libpthread
- Release: 3

---- Files affected:
packages/mxml:
   mxml.spec (1.14 -> 1.15) , mxml-lpthread.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mxml/mxml.spec
diff -u packages/mxml/mxml.spec:1.14 packages/mxml/mxml.spec:1.15
--- packages/mxml/mxml.spec:1.14	Tue Dec 29 20:29:11 2009
+++ packages/mxml/mxml.spec	Mon Apr  4 13:10:14 2011
@@ -3,11 +3,12 @@
 Summary(pl.UTF-8):	Mała biblioteka parsująca XML
 Name:		mxml
 Version:	2.6
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Libraries
 Source0:	http://ftp.easysw.com/pub/mxml/2.6/%{name}-%{version}.tar.gz
 # Source0-md5:	68977789ae64985dddbd1a1a1652642e
+Patch0:		%{name}-lpthread.patch
 URL:		http://www.minixml.org/
 BuildRequires:	autoconf
 BuildRequires:	sed >= 4.0
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 %{__sed} -i -e 's/OPTIM="-O"/OPTIM=$OPTFLAGS/' configure.in
 
 %build
@@ -107,6 +109,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2011/04/04 11:10:14  jajcus
+- link the library with libpthread
+- Release: 3
+
 Revision 1.14  2009/12/29 19:29:11  glen
 - update url, enhanced descs
 - fix manual page messup with -devel and main package; rel 2

================================================================
Index: packages/mxml/mxml-lpthread.patch
diff -u /dev/null packages/mxml/mxml-lpthread.patch:1.1
--- /dev/null	Mon Apr  4 13:10:19 2011
+++ packages/mxml/mxml-lpthread.patch	Mon Apr  4 13:10:14 2011
@@ -0,0 +1,11 @@
+--- mxml-2.6/Makefile.in.orig	2008-12-06 05:20:38.000000000 +0100
++++ mxml-2.6/Makefile.in	2011-04-04 13:08:43.000000000 +0200
+@@ -256,7 +256,7 @@
+ #
+ 
+ libmxml.so.1.4:	$(LIBOBJS)
+-	$(DSO) $(DSOFLAGS) -o libmxml.so.1.4 $(LIBOBJS)
++	$(DSO) $(DSOFLAGS) -o libmxml.so.1.4 $(LIBOBJS) -lpthread
+ 	$(RM) libmxml.so libmxml.so.1
+ 	$(LN) libmxml.so.1.4 libmxml.so
+ 	$(LN) libmxml.so.1.4 libmxml.so.1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mxml/mxml.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list