From c72df728b4cd93e7af06d966f1365e532febf06f Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 5 Mar 2012 22:01:08 +0000 Subject: rxtx: add 2.2.0 pre2 Signed-off-by: Otavio Salvador --- recipes-core/rxtx/files/kfreebsd_libpthread.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 recipes-core/rxtx/files/kfreebsd_libpthread.patch (limited to 'recipes-core/rxtx/files/kfreebsd_libpthread.patch') diff --git a/recipes-core/rxtx/files/kfreebsd_libpthread.patch b/recipes-core/rxtx/files/kfreebsd_libpthread.patch new file mode 100644 index 0000000..19040d2 --- /dev/null +++ b/recipes-core/rxtx/files/kfreebsd_libpthread.patch @@ -0,0 +1,17 @@ +Description: libc_r is not available, use libpthread +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089 +Author: Scott Howard + +Index: rxtx/configure.in +=================================================================== +--- rxtx.orig/configure.in 2011-02-06 11:13:16.151426139 -0500 ++++ rxtx/configure.in 2011-02-06 11:13:58.820020857 -0500 +@@ -575,7 +575,7 @@ + ;; + + *BSD) +- LDFLAGS=$LDFLAGS" -lc_r" ++ LDFLAGS=$LDFLAGS" -lpthread" + JHOME=$JPATH/"lib" + CFLAGS=$CFLAGS" -D_NO_POSIX=1 -D_NO_XOPEN4=1" + TARGETLIB="\$(target_triplet)/librxtxSerial.la \ -- cgit v1.2.3-54-g00ecf