Dylan Aïssi pushed to branch master at Debian Med / fastp


Commits:
50095f2c by Dylan Aïssi at 2025-08-16T11:07:58+02:00
Refresh patches

- - - - -


3 changed files:

- debian/changelog
- debian/patches/fix-riscv64.patch
- debian/patches/makefile.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,7 @@ fastp (1.0.1+dfsg-1) UNRELEASED; urgency=medium
   * New upstream version 1.0.1+dfsg
   * Update debian/copyright
   * Standards-Version: 4.7.2 (no changes required)
+  * Refresh patches
 
  -- Dylan Aïssi <[email protected]>  Sat, 16 Aug 2025 10:53:36 +0200
 


=====================================
debian/patches/fix-riscv64.patch
=====================================
@@ -1,13 +1,13 @@
 Description: Correctly link the binary with -pthread, to include -latomic when 
needed.
 Author: Aurelien Jarno <[email protected]>
-Last-Update: 2021-12-11
+Last-Update: 2025-08-16
 
 --- a/Makefile
 +++ b/Makefile
 @@ -16,9 +16,9 @@
  
  CXX ?= g++
- CXXFLAGS += -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir))
+ CXXFLAGS += -std=c++11 -pthread -g -O3 -MD -MP -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir))
 -LIBS := -lisal -ldeflate -lpthread
 +LIBS := -lisal -ldeflate
  STATIC_FLAGS := -static -Wl,--no-as-needed -pthread


=====================================
debian/patches/makefile.patch
=====================================
@@ -1,15 +1,15 @@
-Author: Dylan Aïssi <[email protected]>
+Author: Dylan Aïssi <[email protected]>
 Description: Inject some compiler flags.
-Last-Update: 2019-01-18
+Last-Update: 2025-08-16
 
 --- a/Makefile
 +++ b/Makefile
-@@ -15,21 +15,21 @@
+@@ -15,22 +15,22 @@
  BIN_TARGET := ${TARGET}
  
  CXX ?= g++
--CXXFLAGS := -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
-+CXXFLAGS += -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir))
+-CXXFLAGS := -std=c++11 -pthread -g -O3 -MD -MP -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir)) ${CXXFLAGS}
++CXXFLAGS += -std=c++11 -pthread -g -O3 -MD -MP -I${DIR_INC} $(foreach 
includedir,$(INCLUDE_DIRS),-I$(includedir))
  LIBS := -lisal -ldeflate -lpthread
  STATIC_FLAGS := -static -Wl,--no-as-needed -pthread
 -LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) 
$(LD_FLAGS)
@@ -24,7 +24,8 @@ Last-Update: 2019-01-18
  static:${OBJ}
        $(CXX) $(OBJ) -o ${BIN_TARGET} $(STATIC_LD_FLAGS)
  
- ${DIR_OBJ}/%.o:${DIR_SRC}/%.cpp make_obj_dir
+ ${DIR_OBJ}/%.o:${DIR_SRC}/%.cpp
+       @mkdir -p $(@D)
 -      $(CXX) -c $< -o $@ $(CXXFLAGS)
 +      $(CXX) -c $< -o $@ $(CPPFLAGS) $(CXXFLAGS)
  



View it on GitLab: 
https://salsa.debian.org/med-team/fastp/-/commit/50095f2c87ed753670ae7e80c13076cf5ff568ce

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/fastp/-/commit/50095f2c87ed753670ae7e80c13076cf5ff568ce
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to