summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/xqilla/files')
-rw-r--r--dev-libs/xqilla/files/2.2.4-respect-ldflags-no-rpath.patch13
-rw-r--r--dev-libs/xqilla/files/xqilla-2.2.4-gcc46.patch11
-rw-r--r--dev-libs/xqilla/files/xqilla-2.2.4-gcc47.patch15
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/xqilla/files/2.2.4-respect-ldflags-no-rpath.patch b/dev-libs/xqilla/files/2.2.4-respect-ldflags-no-rpath.patch
new file mode 100644
index 000000000000..5188617c2585
--- /dev/null
+++ b/dev-libs/xqilla/files/2.2.4-respect-ldflags-no-rpath.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index 1c08992..ffeb840 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign dist-zip
+ SUBDIRS = include
+
+ INCLUDES = -I$(top_srcdir)/include/ $(xerces_include) -I$(top_srcdir)/src/lexer/ $(faxpp_include) $(tidy_include)
+-LDFLAGS = -L$(xerces_lib) -R$(xerces_lib) $(faxpp_lib) $(tidy_lib) -lxerces-c $(faxpp_library) $(tidy_library)
++LDFLAGS += -L$(xerces_lib) $(faxpp_lib) $(tidy_lib) -lxerces-c $(faxpp_library) $(tidy_library)
+ LDADD = libxqilla.la
+ ACLOCAL_AMFLAGS = -I autotools/m4
+
diff --git a/dev-libs/xqilla/files/xqilla-2.2.4-gcc46.patch b/dev-libs/xqilla/files/xqilla-2.2.4-gcc46.patch
new file mode 100644
index 000000000000..d64a28d73ce0
--- /dev/null
+++ b/dev-libs/xqilla/files/xqilla-2.2.4-gcc46.patch
@@ -0,0 +1,11 @@
+diff -uNr XQilla-2.2.4.ORIG/include/xqilla/framework/XPath2MemoryManager.hpp XQilla-2.2.4/include/xqilla/framework/XPath2MemoryManager.hpp
+--- XQilla-2.2.4.ORIG/include/xqilla/framework/XPath2MemoryManager.hpp 2011-09-24 13:31:20.666469427 +0100
++++ XQilla-2.2.4/include/xqilla/framework/XPath2MemoryManager.hpp 2011-09-24 13:32:01.175470668 +0100
+@@ -23,6 +23,7 @@
+ #define __XPATH2MEMORYMANAGER_HPP
+
+ #include <algorithm>
++#include <cstddef>
+ #include <assert.h>
+
+ #include <xqilla/framework/XQillaExport.hpp>
diff --git a/dev-libs/xqilla/files/xqilla-2.2.4-gcc47.patch b/dev-libs/xqilla/files/xqilla-2.2.4-gcc47.patch
new file mode 100644
index 000000000000..d7f5cde5993e
--- /dev/null
+++ b/dev-libs/xqilla/files/xqilla-2.2.4-gcc47.patch
@@ -0,0 +1,15 @@
+Fix build failure with GCC 4.7.
+https://bugs.gentoo.org/441800
+
+
+--- a/src/items/DatatypeFactoryTemplate.hpp
++++ b/src/items/DatatypeFactoryTemplate.hpp
+@@ -79,7 +79,7 @@ public:
+ AnyAtomicType::Ptr createInstance(const XMLCh* value,
+ const DynamicContext* context) const
+ {
+- return createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(),
++ return this->createInstanceNoCheck(DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeURI(),
+ DatatypeFactoryTemplate<TYPE>::getPrimitiveTypeName(), value, context);
+ }
+