Bug#609152: rxtx fixing, more archs TODO
Scott Howard
showard314 at gmail.com
Thu Feb 24 03:03:48 UTC 2011
Thanks alot, that's an elegant solution - better than upstreams! I
have to tweak it a little, and will send it upstream once it's done.
Notes for myself:
--- rxtx-2.2pre2/configure.in 2011-02-22 10:28:52.000000000 +0900
+++ rxtx-2.2pre2/configure.in 2011-02-22 10:22:18.000000000 +0900
@@ -70,6 +70,7 @@
AC_CHECK_HEADERS(sys/file.h)
AC_CHECK_HEADERS(sys/time.h)
AC_CHECK_HEADERS(sys/signal.h)
+AC_CHECK_HEADERS(sys/io.h)
AC_CHECK_HEADERS(signal.h)
AC_CHECK_HEADERS(termios.h)
AC_CHECK_HEADERS(grp.h)
--- rxtx-2.2pre2/Makefile.lcc 2002-04-06 03:21:56.000000000 +0900
+++ rxtx-2.2pre2/Makefile.lcc 2011-02-22 10:26:09.000000000 +0900
@@ -13,6 +13,7 @@
#define HAVE_SIGNAL_H
#undef HAVE_SYS_FCNTL_H
#undef HAVE_SYS_FILE_H
+#define HAVE_SYS_IO_H
#undef HAVE_SYS_SIGNAL_H
#undef HAVE_TERMIOS_H
#undef HAVE_SYS_TIME_H
--- rxtx-2.2pre2/Makefile.mingw32 2008-11-28 06:13:20.000000000 +0900
+++ rxtx-2.2pre2/Makefile.mingw32 2011-02-22 10:26:43.000000000 +0900
@@ -191,6 +191,7 @@
echo "#define HAVE_SIGNAL_H 1" >> config.h
echo "#define HAVE_SYS_FCNTL_H 1" >> config.h
echo "#define HAVE_SYS_FILE_H 1" >> config.h
+ echo "#define HAVE_SYS_IO_H" >> config.h
echo "#undef HAVE_SYS_SIGNAL_H" >> config.h
echo "#undef HAVE_TERMIOS_H" >> config.h
--- rxtx-2.2pre2/Makefile.msvc 2008-11-28 06:13:20.000000000 +0900
+++ rxtx-2.2pre2/Makefile.msvc 2011-02-22 10:27:04.000000000 +0900
@@ -113,6 +113,7 @@
echo #define HAVE_SIGNAL_H >> config.h
echo #undef HAVE_SYS_FCNTL_H >> config.h
echo #undef HAVE_SYS_FILE_H >> config.h
+ echo #define HAVE_SYS_IO_H >> config.h
echo #undef HAVE_SYS_SIGNAL_H >> config.h
echo #undef HAVE_TERMIOS_H >> config.h
echo #undef HAVE_SYS_TIME_H >> config.h
and then both places that reference sys/io.h:
#ifdef HAVE_SYS_IO_H
#include <sys/io.h>
#endif /* HAVE_SYS_IO_H */
More information about the pkg-java-maintainers
mailing list