From 499e44455e1c37f89dfb9be9e8a970c26e1311d0 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 5 Apr 2013 10:03:05 +0200 Subject: recipes-extended: split out recipes which are not needed for compiling openjdk Signed-off-by: Henning Heinold --- recipes-extended/rxtx/files/sys_io_h_check.patch | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 recipes-extended/rxtx/files/sys_io_h_check.patch (limited to 'recipes-extended/rxtx/files/sys_io_h_check.patch') diff --git a/recipes-extended/rxtx/files/sys_io_h_check.patch b/recipes-extended/rxtx/files/sys_io_h_check.patch new file mode 100644 index 0000000..5072f1d --- /dev/null +++ b/recipes-extended/rxtx/files/sys_io_h_check.patch @@ -0,0 +1,35 @@ +Description: sys/io.h does not exist on all systems +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609152 +Author: Scott Howard + +Index: rxtx/configure.in +=================================================================== +--- rxtx.orig/configure.in 2011-02-23 23:01:09.596613286 -0500 ++++ rxtx/configure.in 2011-02-23 23:02:41.269525630 -0500 +@@ -71,6 +71,7 @@ + AC_CHECK_HEADERS(sys/time.h) + AC_CHECK_HEADERS(sys/signal.h) + AC_CHECK_HEADERS(signal.h) ++AC_CHECK_HEADERS(sys/io.h) + AC_CHECK_HEADERS(termios.h) + AC_CHECK_HEADERS(grp.h) + AC_CHECK_HEADERS(pwd.h) +Index: rxtx/src/RawImp.c +=================================================================== +--- rxtx.orig/src/RawImp.c 2011-02-23 23:04:29.641932242 -0500 ++++ rxtx/src/RawImp.c 2011-02-23 23:05:40.487353587 -0500 +@@ -99,11 +99,9 @@ + # include + # include + #endif +-#ifndef __APPLE__ /* dima */ +-#ifndef PPC +-#include +-#endif /* PPC */ +-#endif /* dima */ ++#ifdef HAVE_SYS_IO_H ++# include ++#endif + + extern int errno; + #include "I2CImp.h" -- cgit v1.2.3-54-g00ecf