[SCM] gxtuner/master: Added patch to fix hardening

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Aug 5 14:45:32 UTC 2013


The following commit has been merged in the master branch:
commit 74c3d7b74b7ecca110c1bec1f8b9616dddb057a7
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Aug 5 16:41:49 2013 +0200

    Added patch to fix hardening

diff --git a/debian/patches/0004-fix_hardening.patch b/debian/patches/0004-fix_hardening.patch
new file mode 100644
index 0000000..0ba667c
--- /dev/null
+++ b/debian/patches/0004-fix_hardening.patch
@@ -0,0 +1,65 @@
+Description: Pass CPPFLAGS.
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Forwarded: no
+Index: gxtuner/Makefile
+===================================================================
+--- gxtuner.orig/Makefile	2013-08-05 16:33:25.317197598 +0200
++++ gxtuner/Makefile	2013-08-05 16:35:34.925840296 +0200
+@@ -34,7 +34,7 @@
+ link : $(OBJS)
+ 	@rm -rf gxtuner
+ 	@echo $(BROWN)
+-	- $(CXX) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LIBS) -o gxtuner
++	- $(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) $(OBJS) $(LIBS) -o gxtuner
+ 
+     #@check if build have worked
+ check : link
+@@ -77,39 +77,39 @@
+     #@build object files
+ jacktuner.o : jacktuner.cpp jacktuner.h config.h
+ 	@rm -rf jacktuner.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c jacktuner.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c jacktuner.cpp
+ 
+ gxtuner.o : gxtuner.cpp gxtuner.h 
+ 	@rm -rf gxtuner.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c gxtuner.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c gxtuner.cpp
+ 
+ cmdparser.o : cmdparser.cpp cmdparser.h config.h
+ 	@rm -rf cmdparser.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c cmdparser.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c cmdparser.cpp
+ 
+ pitchtracker.o : pitchtracker.cpp pitchtracker.h
+ 	@rm -rf pitchtracker.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c pitchtracker.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c pitchtracker.cpp
+ 
+ gtkknob.o : gtkknob.cc gtkknob.h
+ 	@rm -rf gtkknob.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c gtkknob.cc
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c gtkknob.cc
+ 
+ tuner.o :tuner.cpp tuner.h config.h paintbox.h gtkknob.h gxtuner.h deskpager.h
+ 	@rm -rf tuner.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c tuner.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c tuner.cpp
+ 
+ paintbox.o : paintbox.cpp paintbox.h frame.h
+ 	@rm -rf paintbox.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c paintbox.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c paintbox.cpp
+ 
+ deskpager.o : deskpager.cpp deskpager.h
+ 	@rm -rf deskpager.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c deskpager.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c deskpager.cpp
+ 
+ main.o : main.cpp jacktuner.h gxtuner.h cmdparser.h pitchtracker.h tuner.h deskpager.h
+ 	@rm -rf main.o
+-	-$(CXX) $(LDFLAGS) $(CFLAGS) -c main.cpp
++	-$(CXX) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -c main.cpp
+ 
+     #@install all
+ install :
diff --git a/debian/patches/series b/debian/patches/series
index 00fa620..b15489f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
-0003-spelling_fix.patch
 0001-new_resampler_api.patch
 0002-undefined_reference.patch
+0003-spelling_fix.patch
+0004-fix_hardening.patch

-- 
gxtuner packaging



More information about the pkg-multimedia-commits mailing list