Hello community,

here is the log from the commit of package scotty for openSUSE:Factory checked 
in at 2012-02-03 10:26:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/scotty (Old)
 and      /work/SRC/openSUSE:Factory/.scotty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "scotty", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/scotty/scotty.changes    2011-09-23 
12:45:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.scotty.new/scotty.changes       2012-02-03 
10:26:49.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb  2 11:11:59 UTC 2012 - [email protected]
+
+- Added patch for PIE compilation & linking
+
+-------------------------------------------------------------------

New:
----
  scotty-pie.patch

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

Other differences:
------------------
++++++ scotty.spec ++++++
--- /var/tmp/diff_new_pack.gFWCNX/_old  2012-02-03 10:26:50.000000000 +0100
+++ /var/tmp/diff_new_pack.gFWCNX/_new  2012-02-03 10:26:50.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package scotty
 #
-# 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
@@ -35,6 +35,7 @@
 Patch2:         scotty-http.patch
 Patch3:         strcmp.patch
 Patch4:         tkined-tcl85.patch
+Patch5:         scotty-pie.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -61,6 +62,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 %build
 cd unix

++++++ scotty-pie.patch ++++++
Index: scotty-2.1.11/unix/Makefile.in
===================================================================
--- scotty-2.1.11.orig/unix/Makefile.in
+++ scotty-2.1.11/unix/Makefile.in
@@ -839,12 +839,12 @@ bintar:
 #----------------------------------------------------------------
 
 ntping.o: $(TNM_NTPING_DIR)/ntping.c
-       $(CC) -c $(CFLAGS) -I. -DHAVE_CONFIG_H $(TNM_NTPING_DIR)/ntping.c
+       $(CC) -c $(CFLAGS) -fpie -I. -DHAVE_CONFIG_H $(TNM_NTPING_DIR)/ntping.c
 
 ntping:        ntping.o
        @if [ -f ntping ] ; then mv -f ntping ntpink.bak ; else true ; fi
        @rm -f ntping.bak || true
-       $(LD) $(LD_FLAGS) -o ntping ntping.o $(LIBS)
+       $(LD) $(LD_FLAGS) -pie -o ntping ntping.o $(LIBS)
 
 straps.o: $(TNM_SNMP_DIR)/straps.c
        $(CC) -c $(CFLAGS) -I. $(TNM_SNMP_DIR)/straps.c
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to