summaryrefslogtreecommitdiff
path: root/graphics/gimp-app-devel/files
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2006-10-14 09:11:19 +0000
committerMichael Johnson <ahze@FreeBSD.org>2006-10-14 09:11:19 +0000
commit0fa56c08b1eae63dc02d0092f022f344184fb8f2 (patch)
treeca9ce5ecf3dedd75a02c976d5fdc5e7a991f6c60 /graphics/gimp-app-devel/files
parentSimple commandline wrapper around gpg that makes it store its passphrase (diff)
- Readd gimp-devel
Approved by: portmgr (marcus, kris)
Notes
Notes: svn path=/head/; revision=175287
Diffstat (limited to 'graphics/gimp-app-devel/files')
-rw-r--r--graphics/gimp-app-devel/files/patch-app_main.c11
-rw-r--r--graphics/gimp-app-devel/files/patch-configure23
-rw-r--r--graphics/gimp-app-devel/files/patch-gimptool-2.0.in30
-rw-r--r--graphics/gimp-app-devel/files/patch-libgimp_gimp.c29
4 files changed, 93 insertions, 0 deletions
diff --git a/graphics/gimp-app-devel/files/patch-app_main.c b/graphics/gimp-app-devel/files/patch-app_main.c
new file mode 100644
index 000000000000..eb29601cd33a
--- /dev/null
+++ b/graphics/gimp-app-devel/files/patch-app_main.c
@@ -0,0 +1,11 @@
+--- app/main.c.orig Fri Jun 9 12:02:54 2006
++++ app/main.c Fri Jun 9 12:03:28 2006
+@@ -18,7 +18,7 @@
+
+ #include "config.h"
+
+-#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
++#define __XSI_VISIBLE
+ #define _SVID_SOURCE /* except for SA_RESTART, it seems */
+
+ #include <stdio.h>
diff --git a/graphics/gimp-app-devel/files/patch-configure b/graphics/gimp-app-devel/files/patch-configure
new file mode 100644
index 000000000000..da42f67f8ca6
--- /dev/null
+++ b/graphics/gimp-app-devel/files/patch-configure
@@ -0,0 +1,23 @@
+--- configure.orig Sun Mar 6 15:30:12 2005
++++ configure Sun Mar 6 15:33:57 2005
+@@ -25925,6 +25925,7 @@
+ if test "x$enable_gtktest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
++ GTK_LIBS="$GIMP_THREAD_LIBS $GTK_LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$GTK_LIBS $LIBS"
+ rm -f conf.gtktest
+@@ -33865,9 +33866,9 @@
+ fi
+ fi;
+
+-gimpdatadir="$datadir/$PACKAGE/2.0"
+-gimpplugindir="$libdir/$PACKAGE/2.0"
+-gimpsysconfdir="$sysconfdir/$PACKAGE/2.0"
++gimpdatadir="$datadir/$PACKAGE"
++gimpplugindir="$libexecdir/$PACKAGE/2.2"
++gimpsysconfdir="$sysconfdir/$PACKAGE/2.2"
+
+ localedir='${prefix}/${DATADIRNAME}/locale'
+
diff --git a/graphics/gimp-app-devel/files/patch-gimptool-2.0.in b/graphics/gimp-app-devel/files/patch-gimptool-2.0.in
new file mode 100644
index 000000000000..d97dc2a31c6c
--- /dev/null
+++ b/graphics/gimp-app-devel/files/patch-gimptool-2.0.in
@@ -0,0 +1,30 @@
+
+$FreeBSD$
+ $MCom: ports/graphics/gimp-devel/files/patch-gimptool-2.0.in,v 1.3 2005/06/28 05:40:04 adamw Exp $
+
+--- gimptool-2.0.in.orig Tue Jan 15 12:21:05 2002
++++ gimptool-2.0.in Fri May 17 20:46:18 2002
+@@ -215,19 +215,19 @@
+ | --uninstall-script | --uninstall-admin-script )
+ case $1 in
+ --*install-bin)
+- install_cmd="@INSTALL_PROGRAM@"
++ install_cmd="@INSTALL_SCRIPT@"
+ install_dir="$HOME/@gimpdir@/plug-ins"
+ ;;
+ --install-bin-strip)
+- install_cmd="@INSTALL_PROGRAM@ -s"
++ install_cmd="@INSTALL_SCRIPT@ -s"
+ install_dir="$HOME/@gimpdir@/plug-ins"
+ ;;
+ --*install-admin-bin)
+- install_cmd="@INSTALL_PROGRAM@"
++ install_cmd="@INSTALL_SCRIPT@"
+ install_dir="$gimpplugindir/plug-ins"
+ ;;
+ --install-admin-bin-strip)
+- install_cmd="@INSTALL_PROGRAM@ -s"
++ install_cmd="@INSTALL_SCRIPT@ -s"
+ install_dir="$gimpplugindir/plug-ins"
+ ;;
+ --*install-script)
diff --git a/graphics/gimp-app-devel/files/patch-libgimp_gimp.c b/graphics/gimp-app-devel/files/patch-libgimp_gimp.c
new file mode 100644
index 000000000000..121a49bbf147
--- /dev/null
+++ b/graphics/gimp-app-devel/files/patch-libgimp_gimp.c
@@ -0,0 +1,29 @@
+--- libgimp/gimp.c.orig Fri Jun 2 08:04:39 2006
++++ libgimp/gimp.c Fri Jun 9 11:24:56 2006
+@@ -21,7 +21,7 @@
+
+ #include "config.h"
+
+-#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
++#define __XSI_VISIBLE /* all the sigaction stuff is POSIX */
+ #define _SVID_SOURCE /* except for SA_RESTART, it seems */
+
+ #include <errno.h>
+@@ -30,6 +30,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <floatingpoint.h>
+
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+@@ -292,6 +293,9 @@
+ gimp_env_init (TRUE);
+
+ progname = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ basename = g_path_get_basename (progname);
+