]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- gcc4 fix.
authorPaweł Sikora <pluto@pld-linux.org>
Tue, 22 Mar 2005 14:57:08 +0000 (14:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxml2-gcc4.patch -> 1.1
    libxml2.spec -> 1.126

libxml2-gcc4.patch [new file with mode: 0644]
libxml2.spec

diff --git a/libxml2-gcc4.patch b/libxml2-gcc4.patch
new file mode 100644 (file)
index 0000000..f068671
--- /dev/null
@@ -0,0 +1,17 @@
+disable invalid aliases to undefined symbols.
+
+--- libxml2-2.6.18/elfgcchack.h.orig   2005-03-08 14:57:55.000000000 +0100
++++ libxml2-2.6.18/elfgcchack.h        2005-03-22 15:29:41.000000000 +0100
+@@ -55,6 +55,7 @@
+ #include "libxml/xpointer.h"
+ #include "libxml/xmlmodule.h"
++#if 0
+ /* special hot spot not exported ones */
+ extern __typeof (__xmlGenericError) __xmlGenericError__internal_alias __attribute((visibility("hidden")));
+@@ -7841,3 +7842,4 @@
+ #define xmlXPtrWrapLocationSet xmlXPtrWrapLocationSet__internal_alias
+ #endif
++#endif /* #if 0 */
index 12afc5fe012d653ac0556a11af57ea1479f7b230..3daebc983edf3f9e2ba7f2ce140ed509f93e142f 100644 (file)
@@ -19,6 +19,7 @@ Patch0:               %{name}-amfix.patch
 Patch1:                %{name}-man_fixes.patch
 Patch2:                %{name}-open.gz.patch
 Patch3:                %{name}-DESTDIR.patch
+Patch4:                %{name}-gcc4.patch
 URL:           http://xmlsoft.org/
 BuildRequires: autoconf >= 2.2
 BuildRequires: automake
@@ -120,6 +121,7 @@ Modu
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
This page took 0.158186 seconds and 4 git commands to generate.