From b1818d8e4072728bb7dc0b14d177b5ae68c82518 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Sat, 18 Nov 2000 03:56:52 +0000 Subject: [PATCH] Make sane build with gimp >= 1.1.27 PR: 21993 Submitted by: Motomichi Matsuzaki --- graphics/sane-backends/Makefile | 1 + graphics/sane-backends/files/patch-af | 12 ++++++++++++ graphics/sane-frontends/Makefile | 1 + graphics/sane-frontends/files/patch-af | 12 ++++++++++++ graphics/sane/Makefile | 1 + graphics/sane/files/patch-af | 12 ++++++++++++ 6 files changed, 39 insertions(+) create mode 100644 graphics/sane-backends/files/patch-af create mode 100644 graphics/sane-frontends/files/patch-af create mode 100644 graphics/sane/files/patch-af diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 46f183b00564..f8ab104fee5d 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -7,6 +7,7 @@ PORTNAME= sane PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SUNSITE} \ ftp://ftp.mostang.com/pub/sane/ diff --git a/graphics/sane-backends/files/patch-af b/graphics/sane-backends/files/patch-af new file mode 100644 index 000000000000..22046d4f0224 --- /dev/null +++ b/graphics/sane-backends/files/patch-af @@ -0,0 +1,12 @@ +--- frontend/xscanimage.c.orig Sun Oct 15 08:12:12 2000 ++++ frontend/xscanimage.c Sun Oct 15 08:12:39 2000 +@@ -57,6 +57,8 @@ + + #ifdef HAVE_LIBGIMP_GIMP_H + ++#define GIMP_ENABLE_COMPAT_CRUFT ++ + #include + + static void query (void); + diff --git a/graphics/sane-frontends/Makefile b/graphics/sane-frontends/Makefile index 46f183b00564..f8ab104fee5d 100644 --- a/graphics/sane-frontends/Makefile +++ b/graphics/sane-frontends/Makefile @@ -7,6 +7,7 @@ PORTNAME= sane PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SUNSITE} \ ftp://ftp.mostang.com/pub/sane/ diff --git a/graphics/sane-frontends/files/patch-af b/graphics/sane-frontends/files/patch-af new file mode 100644 index 000000000000..22046d4f0224 --- /dev/null +++ b/graphics/sane-frontends/files/patch-af @@ -0,0 +1,12 @@ +--- frontend/xscanimage.c.orig Sun Oct 15 08:12:12 2000 ++++ frontend/xscanimage.c Sun Oct 15 08:12:39 2000 +@@ -57,6 +57,8 @@ + + #ifdef HAVE_LIBGIMP_GIMP_H + ++#define GIMP_ENABLE_COMPAT_CRUFT ++ + #include + + static void query (void); + diff --git a/graphics/sane/Makefile b/graphics/sane/Makefile index 46f183b00564..f8ab104fee5d 100644 --- a/graphics/sane/Makefile +++ b/graphics/sane/Makefile @@ -7,6 +7,7 @@ PORTNAME= sane PORTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SUNSITE} \ ftp://ftp.mostang.com/pub/sane/ diff --git a/graphics/sane/files/patch-af b/graphics/sane/files/patch-af new file mode 100644 index 000000000000..22046d4f0224 --- /dev/null +++ b/graphics/sane/files/patch-af @@ -0,0 +1,12 @@ +--- frontend/xscanimage.c.orig Sun Oct 15 08:12:12 2000 ++++ frontend/xscanimage.c Sun Oct 15 08:12:39 2000 +@@ -57,6 +57,8 @@ + + #ifdef HAVE_LIBGIMP_GIMP_H + ++#define GIMP_ENABLE_COMPAT_CRUFT ++ + #include + + static void query (void); +