]> git.pld-linux.org Git - packages/gdome2.git/commitdiff
- added no-common patch to fix build with -fno-common, gcc 10+ default; release 16 master auto/th/gdome2-0.8.1-16
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 4 Jun 2023 05:23:55 +0000 (07:23 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 4 Jun 2023 05:23:55 +0000 (07:23 +0200)
gdome2-no-common.patch [new file with mode: 0644]
gdome2.spec

diff --git a/gdome2-no-common.patch b/gdome2-no-common.patch
new file mode 100644 (file)
index 0000000..f17509c
--- /dev/null
@@ -0,0 +1,10 @@
+--- gdome2-0.8.1/libgdome/xpath/gdome-xpath-xpnsresolv.h.orig  2002-02-22 22:15:53.000000000 +0100
++++ gdome2-0.8.1/libgdome/xpath/gdome-xpath-xpnsresolv.h       2023-06-04 06:57:15.225153400 +0200
+@@ -42,6 +42,6 @@ void gdome_xpath_xpnsresolv_ref (GdomeXP
+ void gdome_xpath_xpnsresolv_unref (GdomeXPathNSResolver *self, GdomeException *exc);
+ GdomeDOMString * gdome_xpath_xpnsresolv_lookupNamespaceURI( GdomeXPathNSResolver *self, GdomeDOMString *prefix, GdomeException *exc);
+-const GdomeXPathNSResolverVtab gdome_xpath_xpnsresolv_vtab;
++extern const GdomeXPathNSResolverVtab gdome_xpath_xpnsresolv_vtab;
+ #endif /* GDOME_XPNSRESOLV_FILE */
index 98bacf8f8bc8a51224c3cbc22f8147c00886e49d..eb828ecf0d12b699568059cd4322fffcdad44815 100644 (file)
@@ -6,7 +6,7 @@ Summary:        DOM level2 library for accessing XML files
 Summary(pl.UTF-8):     Biblioteka dostępu do plików XML, DOM poziom 2
 Name:          gdome2
 Version:       0.8.1
-Release:       15
+Release:       16
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://gdome2.cs.unibo.it/tarball/%{name}-%{version}.tar.gz
@@ -15,6 +15,7 @@ Patch0:               %{name}-glib2.patch
 Patch1:                %{name}-build_fix.patch
 Patch2:                format-security.patch
 Patch3:                %{name}-destdir.patch
+Patch4:                %{name}-no-common.patch
 URL:           http://gdome2.cs.unibo.it/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -141,6 +142,7 @@ Dokumentacja API biblioteki gdome2.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # disable glib 1.x in order to force 2.x
 echo 'AM_DEFUN([AM_PATH_GLIB], [$3])' >> acinclude.m4
This page took 0.181069 seconds and 4 git commands to generate.