fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / curl / curl-freebsd.patch.1
blobb1d7cb84584548e5332273f44c4214e6d20068ff
1 Usual patch to produce Linux-like .so files on FreeBSD
3 diff -ur curl-7.26.0/ltmain.sh misc/build/curl-7.26.0/ltmain.sh
4 --- a/ltmain.sh 2012-07-02 13:28:51.298994493 +0200
5 +++ b/ltmain.sh 2012-07-02 13:42:46.511039769 +0200
6 @@ -7334,13 +7334,13 @@
7           #
8           case $version_type in
9           # correct linux to gnu/linux during the next big refactor
10 -         darwin|linux|osf|windows|none)
11 +         darwin|linux|osf|windows|freebsd-aout|freebsd-elf|none)
12             func_arith $number_major + $number_minor
13             current=$func_arith_result
14             age="$number_minor"
15             revision="$number_revision"
16             ;;
17 -         freebsd-aout|freebsd-elf|qnx|sunos)
18 +         qnx|sunos)
19             current="$number_major"
20             revision="$number_minor"
21             age="0"
22 @@ -7420,8 +7420,8 @@
23           ;;
25         freebsd-elf)
26 -         major=".$current"
27 -         versuffix=".$current"
28 +         major=.`expr $current - $age`
29 +         versuffix="$major"
30           ;;
32         irix | nonstopux)