summaryrefslogtreecommitdiff
path: root/graphics/zphoto/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-11-17 01:47:02 +0000
committerobache <obache@pkgsrc.org>2007-11-17 01:47:02 +0000
commit51c8b8881b9af99286cc28ebce42da3bd6293ec5 (patch)
tree0bb4cdc54b580fb197472e95a87df0b4957f52b1 /graphics/zphoto/patches
parentdf0c22e8f3a56d5525b3724f98f57669491866ce (diff)
downloadpkgsrc-51c8b8881b9af99286cc28ebce42da3bd6293ec5.tar.gz
Enable to build with X-less imlib2.
Diffstat (limited to 'graphics/zphoto/patches')
-rw-r--r--graphics/zphoto/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/zphoto/patches/patch-ac b/graphics/zphoto/patches/patch-ac
new file mode 100644
index 00000000000..7802785094f
--- /dev/null
+++ b/graphics/zphoto/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2007/11/17 01:47:02 obache Exp $
+
+--- image.cpp.orig 2004-07-20 16:48:11.000000000 +0000
++++ image.cpp
+@@ -50,7 +50,6 @@ static void get_new_image_size (ZphotoIm
+
+ #include <avifile.h>
+ #include <avm_output.h>
+-#include <X11/Xlib.h>
+ #include <Imlib2.h>
+
+ typedef struct {
+@@ -315,7 +314,6 @@ zphoto_image_get_bitmap (const char* fil
+ */
+ #ifdef HAVE_IMLIB2
+
+-#include <X11/Xlib.h>
+ #include <Imlib2.h>
+
+ static Imlib_Image