summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-03-16 12:36:20 +0000
committerrillig <rillig@pkgsrc.org>2005-03-16 12:36:20 +0000
commit13c31ff10cc0b7cd8fb437635c4a189f8406bbde (patch)
tree01075afc5160a5fdc85509f3f77d0d776df11804 /inputmethod
parent05f7d5ad1e5ad1ebf97ab4450e14b9dffb6bb7fd (diff)
downloadpkgsrc-13c31ff10cc0b7cd8fb437635c4a189f8406bbde.tar.gz
Added a patch that #includes <sys/time.h> if present. Needed at least for
NetBSD-1.6.2. Approved by wiz.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/uim/distinfo3
-rw-r--r--inputmethod/uim/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/inputmethod/uim/distinfo b/inputmethod/uim/distinfo
index fc03bd559dc..6fd01670550 100644
--- a/inputmethod/uim/distinfo
+++ b/inputmethod/uim/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 21:00:35 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/03/16 12:36:20 rillig Exp $
SHA1 (uim-0.4.5.tar.gz) = a7f11c914bb8a6e23190fa9781892d8b3d3267f8
RMD160 (uim-0.4.5.tar.gz) = 79347829c20eacd618280423c255b2e21a276ff7
Size (uim-0.4.5.tar.gz) = 1112696 bytes
+SHA1 (patch-aa) = 1fe9938cfff5b10e926a1232fa90257490149916
diff --git a/inputmethod/uim/patches/patch-aa b/inputmethod/uim/patches/patch-aa
new file mode 100644
index 00000000000..1fb69891bdf
--- /dev/null
+++ b/inputmethod/uim/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2005/03/16 12:36:20 rillig Exp $
+
+--- xim/xim.h.orig Fri Oct 15 11:18:48 2004
++++ xim/xim.h Wed Mar 16 13:16:01 2005
+@@ -34,10 +34,16 @@
+ #ifndef _xim_h_included_
+ #define _xim_h_included_
+
++/* FIXME: config.h should be included from the C files, not from a header. */
++#include <config.h>
++
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/keysym.h>
+ #include <list>
++#ifdef HAVE_SYS_TIME_H
++#include <sys/time.h>
++#endif
+ #include "ximserver.h"
+ #include "ximpn.h"
+