summaryrefslogtreecommitdiff
path: root/dev-libs/xmlwrapp/files
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/xmlwrapp/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/xmlwrapp/files')
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch10
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch10
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch20
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch33
-rw-r--r--dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff12
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
new file mode 100644
index 00000000000..813a4318593
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-fbsd.patch
@@ -0,0 +1,10 @@
+--- tools/cxxflags.orig 2006-12-13 22:56:53.000000000 +0100
++++ tools/cxxflags 2006-12-13 22:57:30.000000000 +0100
+@@ -286,6 +286,7 @@
+ if ($^O =~ /freebsd/i) {
+ $flags{'mtlink'} .= " -pthread";
+ $flags{'arextra'}.= "ranlib";
++ $flags{'pic'} = '-fpic -shared';
+ } elsif ($^O =~ /darwin/i) {
+ $flags{'pic'} = '';
+ $flags{'shared.ext'} = '.dylib'; \ No newline at end of file
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
new file mode 100644
index 00000000000..dba843f520d
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc-4.3.patch
@@ -0,0 +1,10 @@
+--- src/libxml/node.cxx.orig 2008-04-05 02:55:35.804091000 +0200
++++ src/libxml/node.cxx 2008-04-05 03:09:21.170667965 +0200
+@@ -51,6 +51,7 @@
+ #include <algorithm>
+ #include <stdexcept>
+ #include <functional>
++#include <cstring>
+
+ // libxml includes
+ #include <libxml/tree.h>
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch
new file mode 100644
index 00000000000..6b61bcb6064
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-gcc42_namespace.patch
@@ -0,0 +1,20 @@
+--- xmlwrapp-0.5.0/src/libxml/node.cxx.orig 2007-07-06 08:13:31.000000000 +0200
++++ xmlwrapp-0.5.0/src/libxml/node.cxx 2007-07-06 08:13:05.000000000 +0200
+@@ -512,10 +512,12 @@
+ }
+ }
+ //####################################################################
+-std::ostream& xml::operator<< (std::ostream &stream, const xml::node &n) {
+- std::string xmldata;
+- n.node_to_string(xmldata);
+- stream << xmldata;
+- return stream;
++namespace xml {
++ std::ostream& operator<< (std::ostream &stream, const xml::node &n) {
++ std::string xmldata;
++ n.node_to_string(xmldata);
++ stream << xmldata;
++ return stream;
++ }
+ }
+ //####################################################################
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
new file mode 100644
index 00000000000..7de77450c47
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-0.5.0-tests.patch
@@ -0,0 +1,33 @@
+diff -Naur tests.orig/attributes/data/09.xml tests/attributes/data/09.xml
+--- tests.orig/attributes/data/09.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/attributes/data/09.xml 2006-10-24 21:45:21.000000000 +0200
+@@ -1,2 +1,2 @@
+-<!DOCTYPE root SYSTEM "data/09.dtd">
++<!DOCTYPE root SYSTEM "09.dtd">
+ <root one="1"/>
+diff -Naur tests.orig/attributes/data/10.xml tests/attributes/data/10.xml
+--- tests.orig/attributes/data/10.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/attributes/data/10.xml 2006-10-24 21:45:30.000000000 +0200
+@@ -1,3 +1,3 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE example SYSTEM "data/10.dtd">
++<!DOCTYPE example SYSTEM "10.dtd">
+ <example>See?</example>
+diff -Naur tests.orig/document/data/14inc.xml tests/document/data/14inc.xml
+--- tests.orig/document/data/14inc.xml 2006-10-24 21:45:02.000000000 +0200
++++ tests/document/data/14inc.xml 2006-10-24 21:45:09.000000000 +0200
+@@ -1 +1 @@
+-<subchild><innerchild self="yes"/></subchild>
++<subchild xml:base="data/14inc.xml"><innerchild self="yes"/></subchild>
+diff -Naur tests.orig/xslt/runtest.pl tests/xslt/runtest.pl
+--- tests.orig/xslt/runtest.pl 2006-12-13 23:10:49.000000000 +0100
++++ tests/xslt/runtest.pl 2006-12-13 23:11:05.000000000 +0100
+@@ -42,7 +42,7 @@
+ sub runtests
+ {
+ ###########################################################################
+- foreach (['a', 1], ['b', 0], ['c', 1]) {
++ foreach (['b', 0]) {
+ $test->run_test_exit_status("constructor (01$_->[0])", "./test_xslt-01 data/01$_->[0].xsl", $_->[1]);
+ }
+ ###########################################################################
diff --git a/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff b/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
new file mode 100644
index 00000000000..31f0315eef0
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/xmlwrapp-gentoo.diff
@@ -0,0 +1,12 @@
+diff -urN ori/configure.pl xmlwrapp-0.4.0/configure.pl
+--- ori/configure.pl 2003-02-03 23:47:54.000000000 +0100
++++ xmlwrapp-0.4.0/configure.pl 2003-03-24 12:21:07.000000000 +0100
+@@ -277,7 +277,7 @@
+ $output =~ s/-I//g;
+ my @include_dirs = split(/\s+/, $output);
+ my $main_include_dir = undef;
+- my $xslt_include_dir = undef;
++ my $xslt_include_dir = "/usr/include/libxml2";
+
+ foreach my $dir (@include_dirs) {
+ if (-d "$dir${dirsep}libxml") {