All pastes #160251 Raw Edit

Someone

public text v1 · immutable
·published 2006-09-04 00:20 UTC
rendered paste body
gregf@betsy files % ls -l
total 12k
-rw-r--r--    1 root     wheel         425 Oct  6  2003 patch-aa
-rw-r--r--    1 root     wheel         411 Jan 23  2001 patch-am
-rw-r--r--    1 root     wheel         673 Mar  6  2005 patch-configure
-rw-r--r--    1 root     wheel        1.0k Dec 24  2004 patch-gimptool-2.0.in
-rw-r--r--    1 root     wheel         609 Dec 28  2005 patch-plug-ins_common_url.c
-rw-r--r--    1 root     wheel         330 Dec 26  2000 patch-plug-ins_print_print.c
gregf@betsy files % grep *
gregf@betsy files % cat *
--- 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 */
 
--- 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));
--- 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'
 

$FreeBSD: ports/graphics/gimp/files/patch-gimptool-2.0.in,v 1.2 2004/12/24 18:39:50 pav 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)
--- 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);
     }
--- 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
gregf@betsy files %