Hello community, here is the log from the commit of package pth for openSUSE:Factory checked in at 2012-02-28 14:15:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pth (Old) and /work/SRC/openSUSE:Factory/.pth.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pth", Maintainer is "PUzel@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/pth/pth.changes 2011-12-27 18:38:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pth.new/pth.changes 2012-02-28 14:15:11.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Feb 26 15:37:17 CET 2012 - dmueller@suse.de + +- fix build on arm + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pth.spec ++++++ --- /var/tmp/diff_new_pack.eA5kmB/_old 2012-02-28 14:15:12.000000000 +0100 +++ /var/tmp/diff_new_pack.eA5kmB/_new 2012-02-28 14:15:12.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pth # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -40,6 +40,7 @@ %package -n libpth20 Summary: GNU Portable Threads +Group: Development/Libraries/C and C++ Provides: pth Obsoletes: pth %define library_name libpth20 @@ -55,6 +56,7 @@ %package -n libpth-devel Summary: GNU Portable Threads +Group: Development/Libraries/C and C++ Requires: %{library_name} = %{version} # pth-devel was last used in openSUSE 11.1 Provides: pth-devel = %{version} @@ -75,12 +77,19 @@ %build autoconf +%ifarch %{arm} +CFLAGS="${RPM_OPT_FLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0}" +%endif + %configure --disable-static --with-pic \ +%ifarch %arm + --with-mctx-mth=sjlj --with-mctx-dsp=sjlj --with-mctx-stk=ss \ +%endif --enable-optimize=yes \ --enable-pthread=no \ --with-gnu-ld -# not supporting -jN at this time (pth_p.h is not created fast enough) -%{__make} +%{__make} pth_p.h +%{__make} %{?_smp_mflags} %check make test -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org