summaryrefslogtreecommitdiff
path: root/inputmethod/uim
diff options
context:
space:
mode:
authorrillig <rillig>2005-03-16 12:36:20 +0000
committerrillig <rillig>2005-03-16 12:36:20 +0000
commit25a67dfe20ad6ecbf8b8eeb580e3c42e7ef9544e (patch)
tree01075afc5160a5fdc85509f3f77d0d776df11804 /inputmethod/uim
parente36c8323efa6e52df75848409df13765ffea4929 (diff)
downloadpkgsrc-25a67dfe20ad6ecbf8b8eeb580e3c42e7ef9544e.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/uim')
-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"
+