summaryrefslogtreecommitdiff
path: root/external/libxml2/libxml2-freebsd.patch.1
blob: a8743155a94067f68345fe0dc1340127c00d5f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)