[med-svn] [minia] 04/05: Build system is changed so old patches are useless

Andreas Tille tille at debian.org
Fri Dec 1 09:04:19 UTC 2017


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

tille pushed a commit to branch minia2
in repository minia.

commit 331ffe9832b606b990a649611c0f89009b6841cb
Author: Andreas Tille <tille at debian.org>
Date:   Sat Aug 12 18:05:22 2017 +0200

    Build system is changed so old patches are useless
---
 debian/patches/add_hardening | 34 ----------------------------------
 debian/patches/series        |  1 -
 2 files changed, 35 deletions(-)

diff --git a/debian/patches/add_hardening b/debian/patches/add_hardening
deleted file mode 100644
index b1f280c..0000000
--- a/debian/patches/add_hardening
+++ /dev/null
@@ -1,34 +0,0 @@
-Subject: add hardening flags
-Description: upstream makefile does not ake env CFLAGS. Add those
- to manage hardening and fortity
-Author: Olivier Sallou <osallou at debian.org>
-Last-Updated: 2014-01-13
-Forwarded: no
-Index: minia-1.6906/makefile
-===================================================================
---- minia-1.6906.orig/makefile
-+++ minia-1.6906/makefile
-@@ -1,4 +1,7 @@
--CFLAGS+= -O4 -D_FILE_OFFSET_BITS=64 # needed to handle files > 2 GB on 32 bits systems
-+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-+CFLAGS = $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -O4 -D_FILE_OFFSET_BITS=64 # needed to handle files > 2 GB on 32 bits systems
-+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-+
- SRC=Pool.cpp Bank.cpp Bloom.cpp Hash16.cpp LargeInt.cpp Kmer.cpp Terminator.cpp Traversal.cpp LinearCounter.cpp Set.cpp Utils.cpp SortingCount.cpp Debloom.cpp OAHash.cpp
- EXEC=minia
- OBJ= $(SRC:.cpp=.o)
-@@ -60,7 +63,7 @@ all:
- 	$(MAKE) $(EXEC)
- 
- minia: $(OBJ) Minia.cpp
--	$(CXX) -o $@ $(OBJ) Minia.cpp $(CFLAGS) -lz
-+	$(CXX) -o $@ $(OBJ) Minia.cpp $(CFLAGS) $(LDFLAGS) -lz
- 
- %.o: %.cpp %.h
- 	$(CXX) -o $@ -c $< $(CFLAGS)
-@@ -73,4 +76,4 @@ clean:
- 	rm -rf *.o
- 
- install:
--	cp minia /usr/local/bin
-+	#cp minia /usr/local/bin
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 1f54683..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-add_hardening

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/minia.git



More information about the debian-med-commit mailing list