This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository shapelib.

commit 82fc52576e8cec2c170ed49b5adc7d512f2c8070
Author: Johan Van de Wauw <johan.vandew...@gmail.com>
Date:   Wed Oct 8 22:55:56 2014 +0200

    Use dpkg buildflags in contrib (fixes hardening warnings)
---
 ...ildflags-in-contrib-fixes-hardening-warni.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  2 ++
 2 files changed, 28 insertions(+)

diff --git 
a/debian/patches/0007-Use-dpkg-buildflags-in-contrib-fixes-hardening-warni.patch
 
b/debian/patches/0007-Use-dpkg-buildflags-in-contrib-fixes-hardening-warni.patch
new file mode 100644
index 0000000..9645815
--- /dev/null
+++ 
b/debian/patches/0007-Use-dpkg-buildflags-in-contrib-fixes-hardening-warni.patch
@@ -0,0 +1,26 @@
+From: Johan Van de Wauw <johan.vandew...@gmail.com>
+Date: Wed, 8 Oct 2014 22:21:49 +0200
+Subject: Use dpkg-buildflags in contrib (fixes hardening warnings)
+
+---
+ contrib/Makefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/contrib/Makefile b/contrib/Makefile
+index 6d88faf..abb8402 100644
+--- a/contrib/Makefile
++++ b/contrib/Makefile
+@@ -1,11 +1,12 @@
+ 
+ #LINKOPT      =       /usr/local/lib/libdbmalloc.a
++LINKOPT = $(LDFLAGS)
+ #CFLAGS       =       -g
+ 
+ # Endian: define either LIBSHAPE_LITTLE_ENDIAN or LIBSHAPE_BIG_ENDIAN
+ ENDIAN        =       -DLIBSHAPE_LITTLE_ENDIAN
+ 
+-CFLAGS        =       -g -I.. -I$(HOME)/bld/include -DPROJ4 $(ENDIAN) -DDEBUG 
-DDEBUG2 
++override CFLAGS       +=      -g -I.. -I$(HOME)/bld/include -DPROJ4 $(ENDIAN) 
-DDEBUG -DDEBUG2  
+ 
+ SHPOBJ        =       ../shpopen.o ../dbfopen.o ../safileio.o
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3094ebb..60c8c2b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,5 @@
 0004-Dynamically-link-the-shp-binaries-to-libshp.patch
 0005-Stop-setting-CFLAGS-and-PREFIX-in-the-Makefile.patch
 0006-Fix-FTBFS-avoid-clash-with-_ENDIAN-defines.patch
+0007-Use-dpkg-buildflags-in-contrib-fixes-hardening-warni.patch debian/patches/
+

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/shapelib.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to