Hello community,

here is the log from the commit of package compicc for openSUSE:Factory checked 
in at 2016-07-20 09:24:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/compicc (Old)
 and      /work/SRC/openSUSE:Factory/.compicc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "compicc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/compicc/compicc.changes  2015-11-13 
23:36:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.compicc.new/compicc.changes     2016-07-20 
09:24:34.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Jul 18 12:50:52 UTC 2016 - [email protected]
+
+- pic-flag.patch: always compile shared objects with -fPIC
+
+-------------------------------------------------------------------

New:
----
  pic-flag.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ compicc.spec ++++++
--- /var/tmp/diff_new_pack.uoHwSl/_old  2016-07-20 09:24:35.000000000 +0200
+++ /var/tmp/diff_new_pack.uoHwSl/_new  2016-07-20 09:24:35.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package compicc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,7 @@
 Group:          Productivity/Graphics/Other
 Url:            http://compicc.sourceforge.net/
 Source:         http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
+Patch:          pic-flag.patch
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
@@ -50,6 +51,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 %configure \

++++++ pic-flag.patch ++++++
Index: compicc-0.8.9/configure
===================================================================
--- compicc-0.8.9.orig/configure
+++ compicc-0.8.9/configure
@@ -437,6 +437,8 @@ else
 fi
 $COMPILER $CFLAGS $ROOT_DIR/tests/intptr_test.c -o tests/intptr_test 
2>/dev/null
 if [ -f tests/intptr_test ]; then
+  FPIC=-fPIC
+  DPIC=-DPIC
   tests/intptr_test
   INTPTR_SIZE=$?
   if [ $INTPTR_SIZE -eq 4 ]; then
@@ -444,8 +446,6 @@ if [ -f tests/intptr_test ]; then
   elif [ $INTPTR_SIZE -gt 4 ]; then
     echo_="64-bit build            detected"
     BARCH=64
-    FPIC=-fPIC
-    DPIC=-DPIC
     test -n "$ECHO" && $ECHO "BUILD_64 = 1" >> $CONF
   elif [ $INTPTR_SIZE -ne 0 ]; then
     echo_="$INTPTR_SIZE-byte intptr_t          detected"

Reply via email to