summaryrefslogtreecommitdiff
path: root/graphics/clutter
diff options
context:
space:
mode:
authorobache <obache>2010-08-01 09:04:33 +0000
committerobache <obache>2010-08-01 09:04:33 +0000
commitc620ffb314741f49ac231b4d88634fc641e82622 (patch)
tree336f5baf23842abc4ac478ee20ae796dd9f7f401 /graphics/clutter
parenta9b979bd013f585aaeb3ca45eb2f040ed494ea8b (diff)
downloadpkgsrc-c620ffb314741f49ac231b4d88634fc641e82622.tar.gz
Fixes build on Darwin 8.11.0 without X.
Diffstat (limited to 'graphics/clutter')
-rw-r--r--graphics/clutter/distinfo3
-rwxr-xr-xgraphics/clutter/patches/patch-ac19
2 files changed, 21 insertions, 1 deletions
diff --git a/graphics/clutter/distinfo b/graphics/clutter/distinfo
index f8e75677bb0..bc9fb341f23 100644
--- a/graphics/clutter/distinfo
+++ b/graphics/clutter/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2010/07/16 14:56:10 obache Exp $
+$NetBSD: distinfo,v 1.12 2010/08/01 09:04:33 obache Exp $
SHA1 (clutter-1.2.12.tar.gz) = b4ee053f61306526ef13e4b15ad2a63fc3e9f70f
RMD160 (clutter-1.2.12.tar.gz) = 6f590f9c20dd030820aa6bbb88fba7cb93b6140d
Size (clutter-1.2.12.tar.gz) = 3200650 bytes
SHA1 (patch-ab) = 9f76fc4f1357081cd4a30485663bb440d3376095
+SHA1 (patch-ac) = 02d9c33b7d3cd7f08e342fb8796d95d471f1bb67
diff --git a/graphics/clutter/patches/patch-ac b/graphics/clutter/patches/patch-ac
new file mode 100755
index 00000000000..011e6b85d97
--- /dev/null
+++ b/graphics/clutter/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2010/08/01 09:04:33 obache Exp $
+
+--- clutter/cogl/cogl/cogl-texture.c.orig 2010-07-14 10:32:47.000000000 +0000
++++ clutter/cogl/cogl/cogl-texture.c
+@@ -49,6 +49,14 @@
+ #include "cogl-primitives.h"
+ #include "cogl-framebuffer-private.h"
+
++#if defined (HAVE_COGL_GL)
++
++#ifndef GL_PIXEL_UNPACK_BUFFER
++#define GL_PIXEL_UNPACK_BUFFER GL_PIXEL_UNPACK_BUFFER_ARB
++#endif
++
++#endif
++
+ #include <string.h>
+ #include <stdlib.h>
+ #include <math.h>