packages: libxml/libxml.spec, libxml/libxml-open.patch (NEW) - added open p...
tommat
tommat at pld-linux.org
Wed Sep 2 15:22:49 CEST 2009
Author: tommat Date: Wed Sep 2 13:22:49 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- added open patch to build with new glibc
- ghost soname symlink
---- Files affected:
packages/libxml:
libxml.spec (1.89 -> 1.90) , libxml-open.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libxml/libxml.spec
diff -u packages/libxml/libxml.spec:1.89 packages/libxml/libxml.spec:1.90
--- packages/libxml/libxml.spec:1.89 Mon Aug 20 21:31:12 2007
+++ packages/libxml/libxml.spec Wed Sep 2 15:22:44 2009
@@ -22,6 +22,7 @@
Patch2: %{name}-urlbound.patch
Patch3: %{name}-man.patch
Patch4: %{name}-CAN-2004-0989.patch
+Patch5: %{name}-open.patch
URL: http://xmlsoft.org/
BuildRequires: autoconf
BuildRequires: automake
@@ -120,6 +121,7 @@
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
%{__libtoolize}
@@ -153,6 +155,7 @@
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libxml.so.1
%files devel
%defattr(644,root,root,755)
@@ -177,6 +180,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.90 2009/09/02 13:22:44 tommat
+- added open patch to build with new glibc
+- ghost soname symlink
+
Revision 1.89 2007/08/20 19:31:12 witekfl
- added bcond_without static_libs
================================================================
Index: packages/libxml/libxml-open.patch
diff -u /dev/null packages/libxml/libxml-open.patch:1.1
--- /dev/null Wed Sep 2 15:22:49 2009
+++ packages/libxml/libxml-open.patch Wed Sep 2 15:22:44 2009
@@ -0,0 +1,12 @@
+diff -Nur libxml-1.8.17.orig/nanohttp.c libxml-1.8.17/nanohttp.c
+--- libxml-1.8.17.orig/nanohttp.c 2009-09-02 15:06:55.000000000 +0200
++++ libxml-1.8.17/nanohttp.c 2009-09-02 15:10:39.000000000 +0200
+@@ -1184,7 +1184,7 @@
+ if (!strcmp(filename, "-"))
+ fd = 0;
+ else {
+- fd = open(filename, O_CREAT | O_WRONLY);
++ fd = open(filename, O_CREAT | O_WRONLY, 00644);
+ if (fd < 0) {
+ xmlNanoHTTPClose(ctxt);
+ return(-1);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxml/libxml.spec?r1=1.89&r2=1.90&f=u
More information about the pld-cvs-commit
mailing list