Package: wnn6-sdk
Severity: important
Version: 1.0.0-13
Tags: patch
Hi,
the current version of wnn6-sdk fails to build on GNU/kFreeBSD.
Please find attached a simple patch to fix that.
It would be nice if it could be included in the next upload.
Thanks in advance,
Petr
diff -ur wnn6-sdk-1.0.0.old/patch/config.patch wnn6-sdk-1.0.0/patch/config.patch
--- wnn6-sdk-1.0.0.old/patch/config.patch 2000-03-12 15:25:35.000000000
+0100
+++ wnn6-sdk-1.0.0/patch/config.patch 2005-11-30 17:15:52.000000000 +0100
@@ -18,6 +18,15 @@
diff -uNr src/contrib/im/Xsi.orig/config/X11.tmpl
src/contrib/im/Xsi/config/X11.tmpl
--- src/contrib/im/Xsi.orig/config/X11.tmpl Sun Mar 12 23:22:28 2000
+++ src/contrib/im/Xsi/config/X11.tmpl Sun Mar 12 23:25:06 2000
+@@ -6,7 +6,7 @@
+ #if defined(SunArchitecture) && defined(SVR4)
+ #include "/usr/openwin/lib/config/Project.tmpl"
+ #else /* Sun & SVR4 */
+-#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) ||
defined(NetBSDArchitecture) || defined(OpenBSDArchitecture) ||
defined(BSD386Architecture)
++#if defined(LinuxArchitecture) || defined(KFreeBSDArchitecture) ||
defined(FreeBSDArchitecture) || defined(NetBSDArchitecture) ||
defined(OpenBSDArchitecture) || defined(BSD386Architecture)
+ #include "/usr/X11R6/lib/X11/config/X11.tmpl"
+ #else /* Linux || *BSD */
+ #include "/usr/lib/X11/config/Project.tmpl"
@@ -502,6 +502,10 @@
#define WnnOwner wnn
#endif