[med-svn] [Git][med-team/fastp][master] 2 commits: Fix build on riscv64
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sat Dec 11 15:50:58 GMT 2021
Andreas Tille pushed to branch master at Debian Med / fastp
Commits:
df0440fa by Andreas Tille at 2021-12-11T16:47:28+01:00
Fix build on riscv64
- - - - -
4cd62c9d by Andreas Tille at 2021-12-11T16:50:11+01:00
routine-update: Ready to upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/fix-riscv64.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+fastp (0.23.2+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Aurelien Jarno ]
+ * Fix build on riscv64.
+ Closes: #1001520
+
+ -- Andreas Tille <tille at debian.org> Sat, 11 Dec 2021 16:48:03 +0100
+
fastp (0.23.2+dfsg-1) unstable; urgency=medium
* New upstream version
=====================================
debian/patches/fix-riscv64.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Correctly link the binary with -pthread, to include -latomic when needed.
+Author: Aurelien Jarno <aurel32 at debian.org>
+Last-Update: 2021-12-11
+
+--- fastp-0.23.2+dfsg.orig/Makefile
++++ fastp-0.23.2+dfsg/Makefile
+@@ -16,9 +16,9 @@ BIN_TARGET := ${TARGET}
+
+ CXX ?= g++
+ CXXFLAGS += -std=c++11 -pthread -g -O3 -I${DIR_INC} $(foreach includedir,$(INCLUDE_DIRS),-I$(includedir))
+-LIBS := -lisal -ldeflate -lpthread
++LIBS := -lisal -ldeflate
+ STATIC_FLAGS := -static -Wl,--no-as-needed -pthread
+-LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS)
++LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(LIBS) -pthread
+ STATIC_LD_FLAGS := $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) $(STATIC_FLAGS) $(LIBS) $(STATIC_LD_FLAGS)
+
+
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
makefile.patch
fix-i386.patch
+fix-riscv64.patch
View it on GitLab: https://salsa.debian.org/med-team/fastp/-/compare/b2bee73d3ac1f97067974d8d00a5d1c9937ee51d...4cd62c9d95d6d03e9d1f84f0d7e0680b0a420d9f
--
View it on GitLab: https://salsa.debian.org/med-team/fastp/-/compare/b2bee73d3ac1f97067974d8d00a5d1c9937ee51d...4cd62c9d95d6d03e9d1f84f0d7e0680b0a420d9f
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/20211211/6a7feca0/attachment-0001.htm>
More information about the debian-med-commit
mailing list