summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2018-02-03 12:56:21 -0600
committerErik Mackdanz <stasibear@gentoo.org>2018-02-04 10:51:05 -0600
commitfd73aedb541baa3215ee5c8d56bb3f3d8b40e3f7 (patch)
tree8b35ab5fcaac6b1f5ca22d8027602b3a490fdeee /media-sound/sc2mpd/files/ohnet.makefile.patch
parentmedia-sound/upmpdcli: New package 1.2.15 (diff)
downloadgentoo-fd73aedb541baa3215ee5c8d56bb3f3d8b40e3f7.tar.gz
gentoo-fd73aedb541baa3215ee5c8d56bb3f3d8b40e3f7.tar.bz2
gentoo-fd73aedb541baa3215ee5c8d56bb3f3d8b40e3f7.zip
media-sound/sc2mpd: new package 1.1.4
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-sound/sc2mpd/files/ohnet.makefile.patch')
-rw-r--r--media-sound/sc2mpd/files/ohnet.makefile.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-sound/sc2mpd/files/ohnet.makefile.patch b/media-sound/sc2mpd/files/ohnet.makefile.patch
new file mode 100644
index 00000000000..29a29bcc9bb
--- /dev/null
+++ b/media-sound/sc2mpd/files/ohnet.makefile.patch
@@ -0,0 +1,35 @@
+diff --git a/Makefile b/Makefile
+index 29f2d6a..038b05e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -82,12 +82,19 @@ else
+ ifneq (,$(findstring arm,$(gcc_machine)))
+ ifneq (,$(findstring linux-gnueabihf,$(gcc_machine)))
+ detected_openhome_architecture = armhf
++ else ifneq (,$(findstring armv7hl,$(gcc_machine)))
++ # cubox: armv7hl-redhat-linux-gnueabi
++ detected_openhome_architecture = armhf
+ else ifeq (${detected_openhome_system},Qnap)
+ detected_openhome_architecture = x19
+ else
+ detected_openhome_architecture = armel
+ endif
+ endif
++ ifneq (,$(findstring aarch64,$(gcc_machine)))
++ # odroid64: aarch64-linux-gnu
++ detected_openhome_architecture = arm64
++ endif
+ ifneq (,$(findstring i686,$(gcc_machine)))
+ detected_openhome_architecture = x86
+ endif
+@@ -375,6 +382,10 @@ mkdir = mkdir -p
+ rmdir = rm -rf
+ uset4 = no
+
++# This avoids errors in Generated/Devices.mak (they apparently have no
++# consequences anyway because we use make native_only=yes)
++t4 = echo
++
+ ifeq ($(managed_only), yes)
+ build_targets_base = make_obj_dir ohNet.net.dll CpProxyDotNetAssemblies DvDeviceDotNetAssemblies
+ else