aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/p5-Prima
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-24 17:56:15 +0800
committerpav <pav@FreeBSD.org>2009-01-24 17:56:15 +0800
commit9509e18b4e111eef423f1d58ff7f84561d65b5c4 (patch)
treedf939ad9d5a3ec5c2ec3f1627a78eefa258d971a /x11-toolkits/p5-Prima
parentb7d22444869bb6a54cf4f2a02c9f64ee6c5774e5 (diff)
downloadfreebsd-ports-gnome-9509e18b4e111eef423f1d58ff7f84561d65b5c4.tar.gz
freebsd-ports-gnome-9509e18b4e111eef423f1d58ff7f84561d65b5c4.tar.zst
freebsd-ports-gnome-9509e18b4e111eef423f1d58ff7f84561d65b5c4.zip
- Fix build
Submitted by: Dmitry Karasik <dmitry@karasik.eu.org> (maintainer)
Diffstat (limited to 'x11-toolkits/p5-Prima')
-rw-r--r--x11-toolkits/p5-Prima/files/patch-apricot.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Prima/files/patch-apricot.h b/x11-toolkits/p5-Prima/files/patch-apricot.h
new file mode 100644
index 000000000000..49e6f304752d
--- /dev/null
+++ b/x11-toolkits/p5-Prima/files/patch-apricot.h
@@ -0,0 +1,50 @@
+Index: apricot.h
+===================================================================
+RCS file: /pub/prima.eu.org/cvs/prima/Prima/include/apricot.h,v
+retrieving revision 1.192
+retrieving revision 1.193
+diff -u -r1.192 -r1.193
+--- include/apricot.h 28 Apr 2008 20:54:03 -0000 1.192
++++ include/apricot.h 6 Nov 2008 10:54:37 -0000 1.193
+@@ -24,7 +24,7 @@
+ * SUCH DAMAGE.
+ */
+
+-/* $Id: apricot.h,v 1.192 2008/04/28 20:54:03 dk Exp $ */
++/* $Id: apricot.h,v 1.193 2008/11/06 10:54:37 dk Exp $ */
+
+ #ifndef _APRICOT_H_
+ #define _APRICOT_H_
+@@ -423,6 +423,10 @@
+
+ /* Event structures */
+
++#ifdef KeyEvent
++#undef KeyEvent
++#endif
++
+ typedef struct _KeyEvent {
+ int cmd;
+ int subcmd;
+@@ -433,6 +437,10 @@
+ int repeat;
+ } KeyEvent, *PKeyEvent;
+
++#ifdef PositionalEvent
++#undef PositionalEvent
++#endif
++
+ typedef struct _PositionalEvent {
+ int cmd;
+ int subcmd;
+@@ -443,6 +451,10 @@
+ Bool dblclk;
+ } PositionalEvent, *PPositionalEvent;
+
++#ifdef GenericEvent
++#undef GenericEvent
++#endif
++
+ typedef struct _GenericEvent {
+ int cmd;
+ int subcmd;