summaryrefslogtreecommitdiff
path: root/external/libxml2/libxml2-freebsd.patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'external/libxml2/libxml2-freebsd.patch.1')
-rw-r--r--external/libxml2/libxml2-freebsd.patch.115
1 files changed, 15 insertions, 0 deletions
diff --git a/external/libxml2/libxml2-freebsd.patch.1 b/external/libxml2/libxml2-freebsd.patch.1
new file mode 100644
index 000000000000..a8743155a940
--- /dev/null
+++ b/external/libxml2/libxml2-freebsd.patch.1
@@ -0,0 +1,15 @@
+Usual patch to produce Linux-like .so files on FreeBSD
+
+--- a/ltmain.sh 2009-10-06 17:39:54.000000000 +0100
++++ b/ltmain.sh 2009-12-17 11:43:56.000000000 +0000
+@@ -6271,8 +6271,8 @@
+ ;;
+
+ freebsd-elf)
+- major=".$current"
+- versuffix=".$current"
++ major=.`expr $current - $age`
++ versuffix=".$major.$age.$revision";
+ ;;
+
+ irix | nonstopux)