summaryrefslogtreecommitdiff
path: root/graphics/gimp/patches/patch-ab
blob: 24e33ff02e7f1b0bb1b4605062b4a612d569964a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
$NetBSD: patch-ab,v 1.39 2013/11/10 20:12:32 dholland Exp $

- add -lexecinfo if libexecinfo exists (hack for NetBSD-current)
- ...?

A more proper fix for the first hunk has been reported upstream here:
https://bugzilla.gnome.org/show_bug.cgi?id=711795
so once that gets rolled in the first hunk can be removed.

--- configure.orig	2013-11-03 17:00:19.000000000 +0000
+++ configure
@@ -14135,7 +14135,11 @@ if eval test \"x\$"$as_ac_Header"\" = x"
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
-
+if [ $ac_header = execinfo.h ]; then
+    if [ -e /usr/lib/libexecinfo.a -o -e /usr/lib/libexecinfo.so ]; then
+	LIBS="$LIBS -lexecinfo"
+    fi
+fi
 fi
 
 done
@@ -19153,13 +19157,13 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&
   gimp_ok=yes
 fi
 rm -f conftest*
+  fi
 
       if test "x$gimp_ok" = xyes; then
 
 $as_echo "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
 
       fi
-  fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gimp_ok" >&5
 $as_echo "$gimp_ok" >&6; }
   if test "x$gimp_ok" = xno; then
@@ -23499,7 +23503,7 @@ fi
 
 gimpdatadir="$datadir/$PACKAGE/2.0"
 gimpplugindir="$libdir/$PACKAGE/2.0"
-gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
+gimpsysconfdir="$sysconfdir"