diff options
author | woglinde <henning@familie-heinold.de> | 2012-03-06 13:36:59 -0800 |
---|---|---|
committer | woglinde <henning@familie-heinold.de> | 2012-03-06 13:36:59 -0800 |
commit | 76775830aa4c4038530003fe5b4d5b678a6b51eb (patch) | |
tree | 467b3702099ee43b09e3c708b33026d70a0e6801 /recipes-core/rxtx/files/kfreebsd_libpthread.patch | |
parent | d430de31c167cd264be74a1d82af4b732bb915dd (diff) | |
parent | c72df728b4cd93e7af06d966f1365e532febf06f (diff) | |
download | meta-java-76775830aa4c4038530003fe5b4d5b678a6b51eb.tar.gz |
Merge pull request #23 from OSSystems/master
Java library packaging improvements
Diffstat (limited to 'recipes-core/rxtx/files/kfreebsd_libpthread.patch')
-rw-r--r-- | recipes-core/rxtx/files/kfreebsd_libpthread.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 @@ | |||
1 | Description: libc_r is not available, use libpthread | ||
2 | Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089 | ||
3 | Author: Scott Howard <showard@debian.org> | ||
4 | |||
5 | Index: rxtx/configure.in | ||
6 | =================================================================== | ||
7 | --- rxtx.orig/configure.in 2011-02-06 11:13:16.151426139 -0500 | ||
8 | +++ rxtx/configure.in 2011-02-06 11:13:58.820020857 -0500 | ||
9 | @@ -575,7 +575,7 @@ | ||
10 | ;; | ||
11 | |||
12 | *BSD) | ||
13 | - LDFLAGS=$LDFLAGS" -lc_r" | ||
14 | + LDFLAGS=$LDFLAGS" -lpthread" | ||
15 | JHOME=$JPATH/"lib" | ||
16 | CFLAGS=$CFLAGS" -D_NO_POSIX=1 -D_NO_XOPEN4=1" | ||
17 | TARGETLIB="\$(target_triplet)/librxtxSerial.la \ | ||