[SCM] clthreads/master: Add patch to use build architecture compiler for linking. (Closes: #853188)

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Jan 30 20:23:07 UTC 2017


The following commit has been merged in the master branch:
commit dbcb82b74650a13be390b472d5e801439962b8c2
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Jan 30 21:10:01 2017 +0100

    Add patch to use build architecture compiler for linking. (Closes: #853188)

diff --git a/debian/patches/makefile-03.patch b/debian/patches/makefile-03.patch
new file mode 100644
index 0000000..8261e7d
--- /dev/null
+++ b/debian/patches/makefile-03.patch
@@ -0,0 +1,18 @@
+Description: make C++ compiler overridable for cross compilation
+Author: Helmut Grohne <helmut at subdivi.de>
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853188
+Forwarded: Fons Adriaensen  <fons at linuxaudio.org>
+
+Index: clthreads/Makefile
+===================================================================
+--- clthreads.orig/Makefile
++++ clthreads/Makefile
+@@ -42,7 +42,7 @@ CLTHREADS_H = clthreads.h
+ 
+ 
+ $(CLTHREADS_MIN): $(CLTHREADS_O)
+-	g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
++	$(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP)
+ 
+ 
+ install:	$(CLTHREADS_MIN)
diff --git a/debian/patches/series b/debian/patches/series
index c0bc7c6..f36d8d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 makefile-01.patch
 makefile-02.patch
+makefile-03.patch

-- 
ClThreads packaging



More information about the pkg-multimedia-commits mailing list