Hello community, here is the log from the commit of package blocxx for openSUSE:Factory checked in at Fri Jul 10 16:44:39 CEST 2009. -------- --- blocxx/blocxx.changes 2009-06-20 20:33:45.000000000 +0200 +++ blocxx/blocxx.changes 2009-07-10 13:47:03.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jul 9 22:29:46 CEST 2009 - mt@suse.de + +- improved asneeded patch to use -pthread in shared lib flags too + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- blocxx-2.1.0-asneeded.patch New: ---- blocxx-2.1.0-asneeded.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blocxx-doc.spec ++++++ --- /var/tmp/diff_new_pack.Z8QgOp/_old 2009-07-10 16:44:12.000000000 +0200 +++ /var/tmp/diff_new_pack.Z8QgOp/_new 2009-07-10 16:44:12.000000000 +0200 @@ -21,7 +21,7 @@ Name: blocxx-doc %define blocxx_version 2.1.0 Version: 2.1.0.342 -Release: 125 +Release: 126 License: BSD 3-clause (or similar) Group: Documentation/HTML AutoReqProv: on ++++++ blocxx.spec ++++++ --- /var/tmp/diff_new_pack.Z8QgOp/_old 2009-07-10 16:44:12.000000000 +0200 +++ /var/tmp/diff_new_pack.Z8QgOp/_new 2009-07-10 16:44:12.000000000 +0200 @@ -21,7 +21,7 @@ Name: blocxx %define blocxx_version 2.1.0 Version: 2.1.0.342 -Release: 17 +Release: 18 License: BSD 3-clause (or similar) Group: Development/Libraries/C and C++ AutoReqProv: on @@ -34,7 +34,7 @@ Patch2: %{name}-no-condition-test.dif Patch3: %{name}-pkgconfig.diff Patch4: %{name}-2.1.0-gcc44.dif -Patch5: %{name}-2.1.0-asneeded.patch +Patch5: %{name}-2.1.0-asneeded.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ pcre-devel %if 0%{?suse_version} >= 1030 ++++++ libblocxx4.spec ++++++ --- /var/tmp/diff_new_pack.Z8QgOp/_old 2009-07-10 16:44:12.000000000 +0200 +++ /var/tmp/diff_new_pack.Z8QgOp/_new 2009-07-10 16:44:12.000000000 +0200 @@ -19,7 +19,7 @@ Name: libblocxx4 Version: 1.0.0 -Release: 81 +Release: 82 License: BSD 3-clause (or similar) Group: Development/Libraries/C and C++ AutoReqProv: on ++++++ blocxx-2.1.0-asneeded.patch -> blocxx-2.1.0-asneeded.dif ++++++ --- blocxx/blocxx-2.1.0-asneeded.patch 2009-06-20 20:33:43.000000000 +0200 +++ blocxx/blocxx-2.1.0-asneeded.dif 2009-07-09 22:39:09.000000000 +0200 @@ -1,15 +1,31 @@ -Index: blocxx-2.1.0/configure.in -=================================================================== ---- blocxx-2.1.0.orig/configure.in -+++ blocxx-2.1.0/configure.in -@@ -368,8 +368,8 @@ case "$target" in +--- blocxx-2.1.0/configure.in ++++ blocxx-2.1.0/configure.in 2009/07/09 19:57:51 +@@ -368,9 +368,9 @@ case "$target" in PLAT_CFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe" PLAT_CXXFLAGS="-fPIC -D_REENTRANT -D_GNU_SOURCE -pipe" CXXCOMMONLINKFLAGS="" - CXXBINLINKFLAGS="-Wl,-Bdynamic -lpthread -Wl,-E $LDFLAGS" - CBINLINKFLAGS="-Wl,-Bdynamic -lpthread $LDFLAGS" +- CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -lpthread' + CXXBINLINKFLAGS="-Wl,-Bdynamic -pthread -Wl,-E $LDFLAGS" + CBINLINKFLAGS="-Wl,-Bdynamic -pthread $LDFLAGS" - CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -lpthread' ++ CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION) -pthread' PLAT_OPTFLAGS="-O3" LIB_EXT="so" + STATIC_LINK_FLAGS="-Wl,-Bstatic" +--- blocxx-2.1.0/examples/sharedLibs/SharedLibMakefile ++++ blocxx-2.1.0/examples/sharedLibs/SharedLibMakefile 2009/07/09 20:32:31 +@@ -14,11 +14,11 @@ DEBUGFLAGS = + endif + + DEFS = -D_REENTRANT +-LIBS = -lpthread -L$(BLOCXXLIBDIR) -lopenwbem ++LIBS = -pthread -L$(BLOCXXLIBDIR) -lopenwbem + + INCLUDES = -I$(BLOCXXINCDIR) + CXX = g++ +-CXXFLAGS = $(DEBUGFLAGS) $(INCLUDES) $(DEFS) -Werror -Wall -fPIC ++CXXFLAGS = $(DEBUGFLAGS) $(INCLUDES) $(DEFS) -Werror -Wall -fPIC -pthread + + SRCS = \ + derivedDummyLib.cpp dummyLib.cpp ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org