[med-svn] [Git][med-team/lagan][master] 3 commits: Add patch to fix FTBFS with lto

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sun Aug 7 09:35:43 BST 2022



Nilesh Patra pushed to branch master at Debian Med / lagan


Commits:
6a019af5 by Nilesh Patra at 2022-08-07T13:55:06+05:30
Add patch to fix FTBFS with lto

- - - - -
cbea2aaa by Nilesh Patra at 2022-08-07T13:56:09+05:30
d/p/hardening.patch: quote LDFLAGS so as to pass all relevant flags in makefile w/o confusing make

- - - - -
aa800534 by Nilesh Patra at 2022-08-07T14:00:30+05:30
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/gcc-lto.patch
- debian/patches/hardening.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+lagan (2.0-9) unstable; urgency=medium
+
+  * Team upload.
+  * Propagate hardening flags in src/glocal
+  * Add patch to fix FTBFS with lto (Closes: #1015467)
+  * d/p/hardening.patch: quote LDFLAGS so as to
+    pass all relevant flags in makefile w/o confusing make
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 07 Aug 2022 13:59:54 +0530
+
 lagan (2.0-8) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/gcc-lto.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Add static inline instead of inline as per C99
+Author: Nilesh Patra <nilesh at debian.org>
+Last-Update: 2022-08-07
+--- a/src/utils/scorecontigs.c
++++ b/src/utils/scorecontigs.c
+@@ -258,7 +258,7 @@
+   return 1;
+ }
+ 
+-inline void print (int start, int end, int *score, int numContigs){
++static inline void print (int start, int end, int *score, int numContigs){
+   int j;
+ 
+   printf ("(%7d %7d)", start, end);


=====================================
debian/patches/hardening.patch
=====================================
@@ -13,7 +13,7 @@ Last-Update: Tue, 04 Dec 2018 08:36:52 +0100
  
  all: ../anchors ../chaos ../order ../mlagan ../prolagan ../utils/bin2mf ../utils/bin2bl ../utils/cextract ../utils/cstat ../utils/contigorder ../utils/getbounds ../utils/getlength ../utils/getoverlap ../utils/rc ../utils/seqmerge ../utils/scorealign ../utils/scorecontigs ../utils/getcontigpos ../utils/fa2xfa ../utils/Glue ../utils/dotplot ../utils/overlay
 -	(cd glocal; $(MAKE))
-+	(cd glocal; $(MAKE) LDFLAGS=$(LDFLAGS))
++	(cd glocal; $(MAKE) LDFLAGS="$(LDFLAGS)")
  clean: 
  	rm -f *.o *~ utils/*~ mlagan.purify core
  	(cd glocal; $(MAKE) clean)
@@ -93,7 +93,7 @@ Last-Update: Tue, 04 Dec 2018 08:36:52 +0100
  CLINKER = g++ 
  # LIBDIR = -L/usr/local/lib
  MLIB =  -lm
-@@ -10,7 +10,7 @@ TRGT = glocal
+@@ -10,7 +10,7 @@
  OBJECTS = glocal.o io.o rightinfluence.o leftinfluence.o score.o
  
  .cpp.o:


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@ hardening.patch
 cross.patch
 gcc9.patch
 gcc10.patch
+gcc-lto.patch



View it on GitLab: https://salsa.debian.org/med-team/lagan/-/compare/4ba1237b50300129ec76549f5528fdd38e53b134...aa800534e626e42bca17b51428def2e4e02dbd7b

-- 
View it on GitLab: https://salsa.debian.org/med-team/lagan/-/compare/4ba1237b50300129ec76549f5528fdd38e53b134...aa800534e626e42bca17b51428def2e4e02dbd7b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220807/0b628965/attachment-0001.htm>


More information about the debian-med-commit mailing list