openbsd-ports/devel/protobuf-c/patches/patch-src_Makefile_in
dcoppa 93c093c24e Import devel/protobuf-c, a C implementation of google protocol
buffers.

This is a new dependency of an upcoming update of audio/umurmur.

Tested by Jonathon Sisson, who also takes maintainership
OK ajacoutot@
2011-07-08 08:58:02 +00:00

16 lines
546 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2011/07/08 08:58:02 dcoppa Exp $
Fix libpthread linkage
--- src/Makefile.in.orig Thu Jul 7 15:11:45 2011
+++ src/Makefile.in Thu Jul 7 15:11:55 2011
@@ -262,7 +262,7 @@ top_srcdir = @top_srcdir@
@BUILD_PROTOC_C_TRUE@google/protobuf/compiler/c/c_bytes_field.cc
@BUILD_PROTOC_C_TRUE@protoc_c_LDADD = \
-@BUILD_PROTOC_C_TRUE@-lprotoc -lprotobuf -lpthread
+@BUILD_PROTOC_C_TRUE@-lprotoc -lprotobuf -pthread
lib_LTLIBRARIES = libprotobuf-c.la
protobufcincludedir = $(includedir)/google/protobuf-c