aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-11-18 11:56:52 +0800
committerade <ade@FreeBSD.org>2000-11-18 11:56:52 +0800
commit87eff936fdeb164f9e3f18664d84c939fb3fb920 (patch)
treeab11ab1ec5f50833d28f141be61d1a254e3d1ed0
parent09972a2380703f0fb9f63bbbdff036e5d9846f50 (diff)
downloadfreebsd-ports-gnome-87eff936fdeb164f9e3f18664d84c939fb3fb920.tar.gz
freebsd-ports-gnome-87eff936fdeb164f9e3f18664d84c939fb3fb920.tar.zst
freebsd-ports-gnome-87eff936fdeb164f9e3f18664d84c939fb3fb920.zip
Make sane build with gimp >= 1.1.27
PR: 21993 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
-rw-r--r--graphics/sane-backends/Makefile1
-rw-r--r--graphics/sane-backends/files/patch-af12
-rw-r--r--graphics/sane-frontends/Makefile1
-rw-r--r--graphics/sane-frontends/files/patch-af12
-rw-r--r--graphics/sane/Makefile1
-rw-r--r--graphics/sane/files/patch-af12
6 files changed, 39 insertions, 0 deletions
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 <libgimp/gimp.h>
+
+ 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 <libgimp/gimp.h>
+
+ 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 <libgimp/gimp.h>
+
+ static void query (void);
+