fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libxslt / libxslt-freebsd.patch.1
blob2f454cb95850d43e0665fde13a13392ac9f4cd0a
1 Usual patch to produce Linux-like .so files on FreeBSD
3 --- a/ltmain.sh Wed Aug 29 14:28:46 2007
4 +++ b/ltmain.sh Wed Jun 25 13:06:05 2008
5 @@ -6195,9 +6195,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 @@ -6271,8 +6271,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)