ports/graphics/gimp-app/files/patch-configure
Joe Marcus Clarke f9916a4991 Include string.h when running the test for gimp-print as it needs a proper
prototype for strdup.  This fixes the build on 64-bit systems.  Thanks to
marcel for hunting this down.
2004-02-27 23:12:01 +00:00

32 lines
630 B
Text

--- configure.orig Fri Feb 27 18:09:19 2004
+++ configure Fri Feb 27 18:10:20 2004
@@ -1995,8 +1995,8 @@
-LT_VERSION_INFO="26:0:0"
-LT_CURRENT_MINUS_AGE=26
+LT_VERSION_INFO="2:0:0"
+LT_CURRENT_MINUS_AGE=2
@@ -31377,6 +31377,7 @@
#include <gimp-print/gimp-print.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
int
main ()
@@ -32842,8 +32843,8 @@
fi
fi;
-gimpdatadir="$datadir/$PACKAGE/1.3"
-gimpplugindir="$libdir/$PACKAGE/1.3"
+gimpdatadir="$datadir/$PACKAGE"
+gimpplugindir="$libexecdir/$PACKAGE/1.3"
gimpsysconfdir="$sysconfdir/$PACKAGE/1.3"
localedir='${prefix}/${DATADIRNAME}/locale'