Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package giflib for openSUSE:Factory checked 
in at 2021-04-22 18:03:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/giflib (Old)
 and      /work/SRC/openSUSE:Factory/.giflib.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "giflib"

Thu Apr 22 18:03:25 2021 rev:40 rq:886651 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/giflib/giflib.changes    2020-08-23 
09:18:32.062597186 +0200
+++ /work/SRC/openSUSE:Factory/.giflib.new.12324/giflib.changes 2021-04-22 
18:03:34.434470350 +0200
@@ -1,0 +2,13 @@
+Thu Apr 15 15:15:15 UTC 2021 - o...@aepfle.de
+
+- prep section should just extract and patch,
+  further modifications have to be done in the build section
+
+-------------------------------------------------------------------
+Wed Apr 14 11:32:49 UTC 2021 - Fridrich Strba <fst...@suse.com>
+
+- Added patch:
+  * PIE.patch
+    + build path independent objects
+
+-------------------------------------------------------------------

New:
----
  PIE.patch

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

Other differences:
------------------
++++++ giflib.spec ++++++
--- /var/tmp/diff_new_pack.vUDxzH/_old  2021-04-22 18:03:34.886471049 +0200
+++ /var/tmp/diff_new_pack.vUDxzH/_new  2021-04-22 18:03:34.890471055 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package giflib
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 URL:            http://giflib.sf.net/
 Source:         http://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
+Patch1:         PIE.patch
 BuildRequires:  libtool >= 2
 
 %description
@@ -55,7 +56,9 @@
 have expired, giflib can again be used instead of libungif.
 
 %prep
-%autosetup
+%autosetup -p1
+
+%build
 for file in `find util -name "*.c"`; do
        touch -r $file $file.stamp
 done
@@ -69,7 +72,6 @@
     rm -v $file.stamp
 done
 
-%build
 export CFLAGS="%optflags"
 make %{?_smp_mflags}
 

++++++ PIE.patch ++++++
Index: a/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@
 #
 OFLAGS = -O0 -g
 OFLAGS  = -O2
-CFLAGS  = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
+CFLAGS  += -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
 
 SHELL = /bin/sh
 TAR = tar
@@ -64,6 +64,7 @@ LDLIBS=libgif.a -lm
 all: libgif.so libgif.a libutil.so libutil.a $(UTILS)
        $(MAKE) -C doc
 
+$(UTILS):: LDFLAGS += -pie
 $(UTILS):: libgif.a libutil.a
 
 libgif.so: $(OBJECTS) $(HEADERS)

Reply via email to