File: kfreebsd_libpthread.patch

package info (click to toggle)
rxtx 2.2pre2-11
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,764 kB
  • sloc: ansic: 14,347; sh: 10,742; java: 7,629; cpp: 2,717; makefile: 150
file content (17 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: libc_r is not available, use libpthread
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089
Author: Scott Howard <showard@debian.org>

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 \