office-gobmx/external/curl/curl-freebsd.patch.1
Michael Stahl 88e65df2e4 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>
2013-11-18 14:27:40 -06:00

32 lines
896 B
Groff

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)