[med-svn] [Git][med-team/libbigwig][master] Refresh patch to include blhc fix

Mohd Bilal (@rmb) gitlab at salsa.debian.org
Mon Aug 29 18:08:52 BST 2022



Mohd  Bilal pushed to branch master at Debian Med / libbigwig


Commits:
25e2b950 by Mohammed Bilal at 2022-08-29T22:38:09+05:30
Refresh patch to include blhc fix

- - - - -


1 changed file:

- debian/patches/Makefile.patch


Changes:

=====================================
debian/patches/Makefile.patch
=====================================
@@ -4,11 +4,11 @@ Description: Adapt Makefile to Debian build variables
 
 --- a/Makefile
 +++ b/Makefile
-@@ -2,11 +2,16 @@ CC ?= gcc
+@@ -2,11 +2,16 @@
  AR ?= ar
  RANLIB ?= ranlib
  CFLAGS ?= -g -Wall -O3 -Wsign-compare
-+CFLAG += -flto
++CFLAG += -flto -D_FORTIFY_SOURCE=2
 +VERSION=0.4.2
 +MAJOR=$(shell echo $(VERSION)| cut -f1 -d.)
 +LDFLAGS = -Wl,-soname,libBigWig.so.$(MAJOR) -Wl,-flto
@@ -22,7 +22,7 @@ Description: Adapt Makefile to Debian build variables
  
  # Create a simple test-program to check if gcc can compile with curl
  tmpfile:=$(shell mktemp --suffix=.c)
-@@ -24,7 +29,7 @@ else
+@@ -24,7 +29,7 @@
  endif
  
  
@@ -31,7 +31,7 @@ Description: Adapt Makefile to Debian build variables
  includedir = $(prefix)/include
  libdir = $(exec_prefix)/lib
  
-@@ -56,7 +61,13 @@ libBigWig.a: $(OBJS)
+@@ -56,7 +61,13 @@
  	$(AR) -rcs $@ $(OBJS)
  	$(RANLIB) $@
  
@@ -46,7 +46,7 @@ Description: Adapt Makefile to Debian build variables
  	$(CC) -shared $(LDFLAGS) -o $@ $(OBJS:.o=.pico) $(LDLIBS) $(LIBS)
  
  test/testLocal: libBigWig.a
-@@ -87,7 +98,7 @@ clean:
+@@ -87,7 +98,7 @@
  	rm -f *.o libBigWig.a libBigWig.so *.pico test/testLocal test/testRemote test/testWrite test/exampleWrite test/testRemoteManyContigs test/testBigBed test/testIterator example_output.bw
  
  install: libBigWig.a libBigWig.so



View it on GitLab: https://salsa.debian.org/med-team/libbigwig/-/commit/25e2b95025f9f7bbac600c9b09e7d23e9119b34a

-- 
View it on GitLab: https://salsa.debian.org/med-team/libbigwig/-/commit/25e2b95025f9f7bbac600c9b09e7d23e9119b34a
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/20220829/debcb8b6/attachment-0001.htm>


More information about the debian-med-commit mailing list