summaryrefslogtreecommitdiff
path: root/external/curl/curl-freebsd.patch.1
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-11 14:42:13 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-18 14:27:40 -0600
commit88e65df2e4be47ae3ae1ae1b3a30003f4cfe4b11 (patch)
tree320c7d09ddf863a23b49aeef455372f15fb41159 /external/curl/curl-freebsd.patch.1
parent6a826ddc4ee40a9727131cd4b13365bf6ae16319 (diff)
curl: upgrade to version 7.33.0
- from curl-7.26.0.patch: * drop ADDCFLAGS stuff, must be some dmake relic * drop wspiapi.h, presumably for backward compat with NT 5.0/Win2000 which is unsupported (and ws2_32.lib is linked anyway...) * split out curl-freebsd.patch.1 - curl-7.26.0_win.patch: * drop the library renaming stuff - can be handled in Package and RepositoryExternal.mk without patch * rename the rest to curl-msvc.patch.1 - drop curl-aix.patch: presumably don't need special check for V7BETA since it's released now - drop curl-7.26.0_strlcat.patch (obsolete) Change-Id: Ie8c1d9e72f82ada95f42c49d22d90e43b1a6c3c0 Reviewed-on: https://gerrit.libreoffice.org/6642 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/curl/curl-freebsd.patch.1')
-rw-r--r--external/curl/curl-freebsd.patch.132
1 files changed, 32 insertions, 0 deletions
diff --git a/external/curl/curl-freebsd.patch.1 b/external/curl/curl-freebsd.patch.1
new file mode 100644
index 000000000000..b1d7cb845845
--- /dev/null
+++ b/external/curl/curl-freebsd.patch.1
@@ -0,0 +1,32 @@
+Usual patch to produce Linux-like .so files on FreeBSD
+
+diff -ur curl-7.26.0/ltmain.sh misc/build/curl-7.26.0/ltmain.sh
+--- a/ltmain.sh 2012-07-02 13:28:51.298994493 +0200
++++ b/ltmain.sh 2012-07-02 13:42:46.511039769 +0200
+@@ -7334,13 +7334,13 @@
+ #
+ case $version_type in
+ # correct linux to gnu/linux during the next big refactor
+- darwin|linux|osf|windows|none)
++ darwin|linux|osf|windows|freebsd-aout|freebsd-elf|none)
+ func_arith $number_major + $number_minor
+ current=$func_arith_result
+ age="$number_minor"
+ revision="$number_revision"
+ ;;
+- freebsd-aout|freebsd-elf|qnx|sunos)
++ qnx|sunos)
+ current="$number_major"
+ revision="$number_minor"
+ age="0"
+@@ -7420,8 +7420,8 @@
+ ;;
+
+ freebsd-elf)
+- major=".$current"
+- versuffix=".$current"
++ major=.`expr $current - $age`
++ versuffix="$major"
+ ;;
+
+ irix | nonstopux)