summaryrefslogtreecommitdiff
path: root/graphics/dx
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2003-11-16 15:58:52 +0000
committercube <cube@pkgsrc.org>2003-11-16 15:58:52 +0000
commit3d973f92b69de54b6c343569df58532855e055fb (patch)
tree6a39e0978886627acf251c1acb7321629adcd8a0 /graphics/dx
parent13fc5b953128ad09c268068c99268f13e4d7b96f (diff)
downloadpkgsrc-3d973f92b69de54b6c343569df58532855e055fb.tar.gz
Correctly include X11/keysymdef.h, through keysym.h to get all definitions
and allow compilation of Number.c on XFree86 4.3 systems.
Diffstat (limited to 'graphics/dx')
-rw-r--r--graphics/dx/distinfo3
-rw-r--r--graphics/dx/patches/patch-au14
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/dx/distinfo b/graphics/dx/distinfo
index b795f7ff59e..669b82012d1 100644
--- a/graphics/dx/distinfo
+++ b/graphics/dx/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2002/12/05 21:44:31 drochner Exp $
+$NetBSD: distinfo,v 1.8 2003/11/16 15:58:52 cube Exp $
SHA1 (dx-4.2.0.tar.gz) = 792d472e854b0d6afd516f41cc22a5f28346a381
Size (dx-4.2.0.tar.gz) = 9335729 bytes
@@ -14,3 +14,4 @@ SHA1 (patch-ap) = 06c04dfb585891499bd2d26078e6bfb118172dcd
SHA1 (patch-ar) = cafb9f3eec34cc3909eea194c644497ad53960ca
SHA1 (patch-as) = 3ef53092e58cf09fe0b60a453c9c00df4b9546d6
SHA1 (patch-at) = 158c05f4c30e92a1c5ca470f763f1038c2c34418
+SHA1 (patch-au) = 7e5e6a865e15d70aaf05daa98b31fff99f3a84f2
diff --git a/graphics/dx/patches/patch-au b/graphics/dx/patches/patch-au
new file mode 100644
index 00000000000..23870a53933
--- /dev/null
+++ b/graphics/dx/patches/patch-au
@@ -0,0 +1,14 @@
+$NetBSD: patch-au,v 1.1 2003/11/16 15:58:52 cube Exp $
+
+--- src/uipp/widgets/NumberInput.h.orig 2002-01-13 18:48:48.000000000 +0100
++++ src/uipp/widgets/NumberInput.h
+@@ -11,8 +11,7 @@
+ #include <ctype.h> /* issspace(), isdigit(), isalnum() */
+ #include <stdlib.h> /* strtod() */
+ #include <errno.h> /* errno, ERANGE */
+-#define XK_MISCELLANY 1
+-#include <X11/keysymdef.h>
++#include <X11/keysym.h>
+
+ #if defined(__cplusplus) || defined(c_plusplus)
+ extern "C" {