rename {03_,}cflags.patch
authorgregor herrmann <gregoa@debian.org>
Thu, 10 Feb 2011 15:53:25 +0000 (15:53 -0000)
committergregor herrmann <gregoa@debian.org>
Thu, 10 Feb 2011 15:53:25 +0000 (15:53 -0000)
debian/patches/03_cflags.patch [deleted file]
debian/patches/cflags.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/03_cflags.patch b/debian/patches/03_cflags.patch
deleted file mode 100644 (file)
index cb7fd0d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Description: remove from CFLAGS what gets passed by Debian build system
-Forwarded: no
-Origin: vendor
-Author: gregor herrmann <gregoa@debian.org>
-Last-Update: 2010-07-03
-
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -9,7 +9,7 @@
- LIBPATH = -L.
- LDFLAGS +=  -lz `sh osflags $(TARGETOS) link` $(LIBPATH)
--CFLAGS += -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags`
-+CFLAGS += -c -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags`
- all: stateos $(CLIENT) $(SERVER)
---- a/tests/Makefile
-+++ b/tests/Makefile
-@@ -7,7 +7,7 @@
- CHECK_PATH = /usr/local
- LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link`
--CFLAGS = -g -Wall -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags`
-+CFLAGS += -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags`
- all: $(TEST)
-       @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
diff --git a/debian/patches/cflags.patch b/debian/patches/cflags.patch
new file mode 100644 (file)
index 0000000..cb7fd0d
--- /dev/null
@@ -0,0 +1,28 @@
+Description: remove from CFLAGS what gets passed by Debian build system
+Forwarded: no
+Origin: vendor
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2010-07-03
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -9,7 +9,7 @@
+ LIBPATH = -L.
+ LDFLAGS +=  -lz `sh osflags $(TARGETOS) link` $(LIBPATH)
+-CFLAGS += -c -g -Wall -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags`
++CFLAGS += -c -D$(OS) -pedantic `sh osflags $(TARGETOS) cflags`
+ all: stateos $(CLIENT) $(SERVER)
+--- a/tests/Makefile
++++ b/tests/Makefile
+@@ -7,7 +7,7 @@
+ CHECK_PATH = /usr/local
+ LDFLAGS = -L$(CHECK_PATH)/lib -lcheck `../src/osflags link`
+-CFLAGS = -g -Wall -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags`
++CFLAGS += -D$(OS) -I../src -I$(CHECK_PATH)/include -pedantic `../src/osflags cflags`
+ all: $(TEST)
+       @LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
index 6927ef907185f3256c2af40f828ef6aefa6af917..f39024bcaa3381ea4578f7b60aa89f70cae997ca 100644 (file)
@@ -1,4 +1,4 @@
-03_cflags.patch
+cflags.patch
 spelling.patch
 manpage.patch
 uninitialized-inside_topdomain.patch