[netpanzer] 103/118: Add hardening.patch

Markus Koschany apo at moszumanska.debian.org
Sun Jun 5 10:20:43 UTC 2016


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

apo pushed a commit to branch master
in repository netpanzer.

commit da0336cd9d14dac2330de2cd1bd051b08bbda86a
Author: Markus Koschany <apo at debian.org>
Date:   Sun Jun 5 10:18:44 2016 +0200

    Add hardening.patch
---
 debian/patches/hardening.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..9ce2227
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,26 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sun, 5 Jun 2016 10:18:34 +0200
+Subject: hardening
+
+---
+ SConstruct | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/SConstruct b/SConstruct
+index 2db5bbb..09589e1 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -118,6 +118,13 @@ else:
+ 
+ exeappend = ''
+ 
++if 'CXXFLAGS' in os.environ:
++    env.Append(CCFLAGS = os.environ['CXXFLAGS'])
++
++if 'LDFLAGS' in os.environ:
++    env.Append(LINKFLAGS = os.environ['LDFLAGS'])
++
++
+ if env['cross'] == 'mingw':
+     print 'configuring for mingw cross compilation'
+     env.Tool('crossmingw', toolpath = ['.'])
diff --git a/debian/patches/series b/debian/patches/series
index 4afaafd..24a0dd9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ use-system-libs.patch
 system-physfs.patch
 system-lua.patch
 desktop-file.patch
+hardening.patch

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



More information about the Pkg-games-commits mailing list