Your message dated Mon, 31 Aug 2009 09:21:59 +0200 (CEST)
with message-id <[email protected]>
and subject line ibus: FTBFS on GNU/kFreeBSD - fixed upstream
has caused the Debian Bug report #540325,
regarding ibus: FTBFS on GNU/kFreeBSD
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
540325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540325
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ibus
Version: 1.2.0.20090806-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The src/test-keymap.c is linux specific.
Please alter it as show bellow.

It would also be nice if you can ask upstream
to include similar change.

Thanks in advance

                        Petr

--- src/test-keymap.c
+++ src/test-keymap.c
@@ -1,10 +1,19 @@
-#include <linux/input.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include "ibus.h"

+#ifndef __linux__
+/* the test is supported only on linux */
+int main (int argc, char **argv)
+{
+    return 3;
+}
+#else
+
+#include <linux/input.h>
+
 #define KEYBOARDPATH "/dev/input/event4"

 int main (int argc, char **argv)
@@ -42,3 +51,4 @@
        return 0;

 }
+#endif




--- End Message ---
--- Begin Message ---
Version: 1.2.0.20090828-1
Changes:
 ibus (1.2.0.20090828-1) unstable; urgency=low
 .
   * new upstream release.
   * debian/control: bump standards version to 3.8.3.
   * debian/libibus1.symbols: updated.


--- End Message ---

Reply via email to