diff -u protobuf-c-0.11/debian/changelog protobuf-c-0.11/debian/changelog --- protobuf-c-0.11/debian/changelog +++ protobuf-c-0.11/debian/changelog @@ -1,3 +1,9 @@ +protobuf-c (0.11-4~basak3) unstable; urgency=low + + * [12f9f27] Use -lpthread when linking to -lprotobuf in tests + + -- Robie Basak Sun, 07 Mar 2010 14:53:12 +0000 + protobuf-c (0.11-4~basak2) unstable; urgency=low * [d943f3c] Brought back to debhelper 6 diff -u protobuf-c-0.11/debian/patches/20_disable_rpc_test protobuf-c-0.11/debian/patches/20_disable_rpc_test --- protobuf-c-0.11/debian/patches/20_disable_rpc_test +++ protobuf-c-0.11/debian/patches/20_disable_rpc_test @@ -19,7 +19,7 @@ -../libprotobuf-c.la cxx_generate_packed_data_SOURCES = \ cxx-generate-packed-data.cc generated-code/test-full.pb.cc - cxx_generate_packed_data_LDADD = -lprotobuf + cxx_generate_packed_data_LDADD = -lprotobuf -lpthread @@ -43,5 +38,5 @@ generated-code/test-full.pb.cc generated-code/test-full.pb.h \ generated-code/test-full-cxx-output.inc only in patch2: unchanged: --- protobuf-c-0.11.orig/src/test/Makefile.am +++ protobuf-c-0.11/src/test/Makefile.am @@ -18,7 +18,7 @@ ../libprotobuf-c.la cxx_generate_packed_data_SOURCES = \ cxx-generate-packed-data.cc generated-code/test-full.pb.cc -cxx_generate_packed_data_LDADD = -lprotobuf +cxx_generate_packed_data_LDADD = -lprotobuf -lpthread example_server_SOURCES = \ example-server.c generated-code/test.pb-c.c example_server_LDADD = ../libprotobuf-c.la