[SCM] klick/master: Added patch to fix hardening.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sat Aug 10 22:28:25 UTC 2013


The following commit has been merged in the master branch:
commit 6c30de2e610cfc9f92e8b2e3db1ecb9814b621d2
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Aug 11 00:29:24 2013 +0200

    Added patch to fix hardening.

diff --git a/debian/patches/01-hardening_fix.patch b/debian/patches/01-hardening_fix.patch
new file mode 100644
index 0000000..15c48c9
--- /dev/null
+++ b/debian/patches/01-hardening_fix.patch
@@ -0,0 +1,20 @@
+Description: Fix hardening, passed CPPFLAGS and LDFLAGS to scons.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: yes
+Last-Update: 2013-08-10
+
+Index: klick/SConstruct
+===================================================================
+--- klick.orig/SConstruct	2013-08-11 00:14:28.493011269 +0200
++++ klick/SConstruct	2013-08-11 00:15:54.853014780 +0200
+@@ -25,6 +25,10 @@
+ opts.Save('scache.conf', env)
+ Help(opts.GenerateHelpText(env))
+ 
++env.Append(CFLAGS = os.environ['CFLAGS'],
++           CXXFLAGS = os.environ['CPPFLAGS'],
++           LINKFLAGS = os.environ['LDFLAGS'])
++
+ if env['DEBUG']:
+     env.Append(CCFLAGS = ['-g', '-W', '-Wall'])
+ else:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..104f568
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-hardening_fix.patch

-- 
klick packaging



More information about the pkg-multimedia-commits mailing list