summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp-app/files')
-rw-r--r--graphics/gimp-app/files/patch-aa20
-rw-r--r--graphics/gimp-app/files/patch-am19
-rw-r--r--graphics/gimp-app/files/patch-configure23
-rw-r--r--graphics/gimp-app/files/patch-gimptool-2.0.in26
-rw-r--r--graphics/gimp-app/files/patch-plug-ins_common_url.c17
-rw-r--r--graphics/gimp-app/files/patch-plug-ins_print_print.c11
6 files changed, 116 insertions, 0 deletions
diff --git a/graphics/gimp-app/files/patch-aa b/graphics/gimp-app/files/patch-aa
new file mode 100644
index 000000000..411ac92c9
--- /dev/null
+++ b/graphics/gimp-app/files/patch-aa
@@ -0,0 +1,20 @@
+--- app/main.c.orig Sun Oct 5 09:16:02 2003
++++ app/main.c Mon Oct 6 12:14:34 2003
+@@ -23,6 +23,7 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <floatingpoint.h>
+
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
+@@ -113,6 +114,9 @@
+ /* Initialize variables */
+
+ full_prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize i18n support */
+
diff --git a/graphics/gimp-app/files/patch-am b/graphics/gimp-app/files/patch-am
new file mode 100644
index 000000000..45c58cbe5
--- /dev/null
+++ b/graphics/gimp-app/files/patch-am
@@ -0,0 +1,19 @@
+--- libgimp/gimp.c.orig Fri May 12 12:37:27 2000
++++ libgimp/gimp.c Thu May 18 16:42:21 2000
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <floatingpoint.h>
+
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+@@ -211,6 +212,9 @@
+ }
+
+ progname = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ g_set_prgname (g_basename (progname));
diff --git a/graphics/gimp-app/files/patch-configure b/graphics/gimp-app/files/patch-configure
new file mode 100644
index 000000000..da42f67f8
--- /dev/null
+++ b/graphics/gimp-app/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/files/patch-gimptool-2.0.in b/graphics/gimp-app/files/patch-gimptool-2.0.in
new file mode 100644
index 000000000..3ee0f17b8
--- /dev/null
+++ b/graphics/gimp-app/files/patch-gimptool-2.0.in
@@ -0,0 +1,26 @@
+--- 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/files/patch-plug-ins_common_url.c b/graphics/gimp-app/files/patch-plug-ins_common_url.c
new file mode 100644
index 000000000..bceff6df1
--- /dev/null
+++ b/graphics/gimp-app/files/patch-plug-ins_common_url.c
@@ -0,0 +1,17 @@
+--- plug-ins/common/url.c.orig Wed Dec 28 13:56:48 2005
++++ plug-ins/common/url.c Wed Dec 28 13:58:33 2005
+@@ -186,10 +186,10 @@
+ putenv ("LANG=C");
+ #endif
+
+- execlp ("wget",
+- "wget", "-v", "-e", "server-response=off", "-T", TIMEOUT,
+- filename, "-O", tmpname, NULL);
+- g_message ("exec() failed: wget: %s", g_strerror (errno));
++ execlp ("fetch",
++ "fetch", "-T", TIMEOUT,
++ filename, "-p", "-o", tmpname, NULL);
++ g_message ("exec() failed: fetch: %s", g_strerror (errno));
+ g_free (tmpname);
+ _exit (127);
+ }
diff --git a/graphics/gimp-app/files/patch-plug-ins_print_print.c b/graphics/gimp-app/files/patch-plug-ins_print_print.c
new file mode 100644
index 000000000..36f4bf714
--- /dev/null
+++ b/graphics/gimp-app/files/patch-plug-ins_print_print.c
@@ -0,0 +1,11 @@
+--- plug-ins/print/print.c.orig Tue Dec 26 07:43:54 2000
++++ plug-ins/print/print.c Tue Dec 26 07:44:07 2000
+@@ -1417,7 +1417,7 @@
+
+ if (i < (sizeof(lpcs) / sizeof(lpcs[0])))
+ {
+- strcat(command, " status < /dev/null");
++ strcat(command, " status all < /dev/null");
+ type = PRINTERS_LPC;
+ }
+ else