fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / redland / raptor / raptor-freebsd.patch.1
blob349f3a197b8a22fea61205c3da28dfafd24c9048
1 Usual patch to produce Linux-like .so files on FreeBSD
3 --- a/build/ltmain.sh   2008-02-02 22:28:24.000000000 +0900
4 +++ b/build/ltmain.sh   2008-07-08 11:58:42.000000000 +0900
5 @@ -7341,9 +7341,9 @@
6             revision="$number_revision"
7             ;;
8           freebsd-aout|freebsd-elf|qnx|sunos)
9 -           current="$number_major"
10 -           revision="$number_minor"
11 -           age="0"
12 +           current=`expr $number_major + $number_minor`
13 +           age="$number_minor"
14 +           revision="$number_revision"
15             ;;
16           irix|nonstopux)
17             func_arith $number_major + $number_minor
18 @@ -7420,8 +7420,8 @@
19           ;;
21         freebsd-elf)
22 -         major=".$current"
23 -         versuffix=".$current"
24 +         major=.`expr $current - $age`
25 +         versuffix="$major.$age.$revision"
26           ;;
28         irix | nonstopux)