[SCM] clxclient/master: Add patch to use build architecture compiler for linking. (Closes: #853012)
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sun Jan 29 16:58:52 UTC 2017
The following commit has been merged in the master branch:
commit fa19749e568189732dc3d78aa1697bd8d435afa3
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sun Jan 29 17:12:39 2017 +0100
Add patch to use build architecture compiler for linking. (Closes: #853012)
diff --git a/debian/patches/makefile-03.patch b/debian/patches/makefile-03.patch
new file mode 100644
index 0000000..e0dd0e1
--- /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=853012
+Forwarded: Fons Adriaensen <fons at linuxaudio.org>
+
+Index: clxclient/Makefile
+===================================================================
+--- clxclient.orig/Makefile
++++ clxclient/Makefile
+@@ -46,7 +46,7 @@ CLXCLIENT_H = clxclient.h
+
+
+ $(CLXCLIENT_MIN): $(CLXCLIENT_O)
+- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP)
+
+
+ install: $(CLXCLIENT_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
--
clxclient packaging
More information about the pkg-multimedia-commits
mailing list