diff options
Diffstat (limited to 'graphics/gimp/patches/patch-ah')
-rw-r--r-- | graphics/gimp/patches/patch-ah | 169 |
1 files changed, 169 insertions, 0 deletions
diff --git a/graphics/gimp/patches/patch-ah b/graphics/gimp/patches/patch-ah new file mode 100644 index 00000000000..95a88c7ebfe --- /dev/null +++ b/graphics/gimp/patches/patch-ah @@ -0,0 +1,169 @@ +--- app/boundary.c 1998/02/11 13:41:55 1.1 ++++ app/boundary.c 1998/02/11 13:42:40 +@@ -21,6 +21,8 @@ + #include "errors.h" + #include "boundary.h" + ++#include <libgimp/gimpconst.h> ++ + /* half intensity for mask */ + #define HALF_WAY 127 + +--- /dev/null Wed Feb 11 13:37:01 1998 ++++ libgimp/gimpconst.h Wed Feb 11 13:48:03 1998 +@@ -0,0 +1,41 @@ ++#ifndef GIMPCONST_H_ ++#define GIMPCONST_H_ ++ ++#include <limits.h> ++ ++#ifndef G_MININT ++#define G_MININT INT_MIN ++#endif ++#ifndef G_MAXINT ++#define G_MAXINT INT_MAX ++#endif ++ ++#ifndef G_MINFLOAT ++#define G_MINFLOAT FLT_MIN ++#endif ++#ifndef G_MAXFLOAT ++#define G_MAXFLOAT FLT_MAX ++#endif ++ ++#ifndef G_MINDOUBLE ++#define G_MINDOUBLE DBL_MIN ++#endif ++#ifndef G_MAXDOUBLE ++#define G_MAXDOUBLE DBL_MAX ++#endif ++ ++#ifndef G_MINSHORT ++#define G_MINSHORT SHRT_MIN ++#endif ++#ifndef G_MAXSHORT ++#define G_MAXSHORT SHRT_MAX ++#endif ++ ++#ifndef G_MINLONG ++#define G_MINLONG LONG_MIN ++#endif ++#ifndef G_MAXLONG ++#define G_MAXLONG LONG_MAX ++#endif ++ ++#endif /* !GIMPCONST_H_ */ +--- libgimp/gimp.h 1998/02/11 11:44:37 1.1 ++++ libgimp/gimp.h 1998/02/11 13:46:57 +@@ -21,6 +21,7 @@ + + #include <glib.h> + #include <libgimp/gimpenums.h> ++#include <libgimp/gimpconst.h> + + + #ifdef __cplusplus +--- app/curves.c 1998/02/11 15:18:01 1.1 ++++ app/curves.c 1998/02/11 15:18:31 +@@ -31,6 +31,8 @@ + #include "interface.h" + #include "curves.h" + ++#include <libgimp/gimpconst.h> ++ + #define ROUND(x) ((int) ((x) + 0.5)) + + #define GRAPH 0x1 +--- app/gdisplay.c 1998/02/11 15:26:48 1.1 ++++ app/gdisplay.c 1998/02/11 15:27:10 +@@ -46,6 +46,8 @@ + + #include "layer_pvt.h" /* ick. */ + ++#include <libgimp/gimpconst.h> ++ + #define OVERHEAD 25 /* in units of pixel area */ + #define EPSILON 5 + +--- app/levels.c 1998/02/11 15:39:59 1.1 ++++ app/levels.c 1998/02/11 15:40:20 +@@ -30,6 +30,8 @@ + #include "interface.h" + #include "levels.h" + ++#include <libgimp/gimpconst.h> ++ + #define LOW_INPUT 0x1 + #define GAMMA 0x2 + #define HIGH_INPUT 0x4 +--- app/pixel_region.c 1998/02/11 15:51:31 1.1 ++++ app/pixel_region.c 1998/02/11 15:51:56 +@@ -25,6 +25,8 @@ + + #include "tile_manager_pvt.h" + ++#include <libgimp/gimpconst.h> ++ + typedef struct _PixelRegionHolder PixelRegionHolder; + + struct _PixelRegionHolder +--- plug-ins/gimptcl/Makefile.in 1998/02/11 16:11:03 1.1 ++++ plug-ins/gimptcl/Makefile.in 1998/02/11 16:12:25 +@@ -46,7 +46,7 @@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_SCRIPT = ${INSTALL} -m 555 + transform = @program_transform_name@ + + NORMAL_INSTALL = : +@@ -331,7 +331,7 @@ + all: all-recursive all-am + + install-strip: +- $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install ++ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_SCRIPT)' install + installdirs: installdirs-recursive + $(mkinstalldirs) $(libexecdir) + +--- plug-ins/gimptcl/scripts/Makefile.in 1998/02/11 16:17:39 1.1 ++++ plug-ins/gimptcl/scripts/Makefile.in 1998/02/11 16:18:40 +@@ -46,7 +46,7 @@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_SCRIPT = ${INSTALL} -m 0555 + transform = @program_transform_name@ + + NORMAL_INSTALL = : +@@ -174,7 +174,7 @@ + all: Makefile $(SCRIPTS) + + install-strip: +- $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install ++ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_SCRIPT)' install + installdirs: + $(mkinstalldirs) $(pluginlibdir) + +--- Makefile.in 1998/02/11 16:44:06 1.1 ++++ Makefile.in 1998/02/11 16:44:43 +@@ -46,7 +46,7 @@ + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ +-INSTALL_SCRIPT = @INSTALL_SCRIPT@ ++INSTALL_SCRIPT = ${INSTALL} -m 0555 + transform = @program_transform_name@ + + NORMAL_INSTALL = : +@@ -333,7 +333,7 @@ + all: all-recursive-am all-am + + install-strip: +- $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install ++ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_SCRIPT)' install + installdirs: installdirs-recursive + $(mkinstalldirs) $(gimpdatadir) $(gimpdatadir) + |