summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-02-15 17:54:27 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-02-15 21:13:19 +0100
commite704e0eb6e7c95669db6b6a31a020fce756cf429 (patch)
treedc7f6e793e2b17dd2a26aea0102db2431921b41a /media-sound/sc2mpd
parentmedia-video/vlc: remove unused patch (diff)
downloadgentoo-e704e0eb6e7c95669db6b6a31a020fce756cf429.tar.gz
gentoo-e704e0eb6e7c95669db6b6a31a020fce756cf429.tar.bz2
gentoo-e704e0eb6e7c95669db6b6a31a020fce756cf429.zip
media-sound/sc2mpd: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/19476 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/sc2mpd')
-rw-r--r--media-sound/sc2mpd/files/ohnet.makefile.patch35
-rw-r--r--media-sound/sc2mpd/files/ohnet.optionparser.patch12
-rw-r--r--media-sound/sc2mpd/files/ohnetgenerated.commonmk.patch24
-rw-r--r--media-sound/sc2mpd/files/ohnetgenerated.makefile.patch30
-rw-r--r--media-sound/sc2mpd/files/sc2mpd-1.1.5-werror.patch72
5 files changed, 0 insertions, 173 deletions
diff --git a/media-sound/sc2mpd/files/ohnet.makefile.patch b/media-sound/sc2mpd/files/ohnet.makefile.patch
deleted file mode 100644
index 29a29bcc9bb5..000000000000
--- a/media-sound/sc2mpd/files/ohnet.makefile.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-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
diff --git a/media-sound/sc2mpd/files/ohnet.optionparser.patch b/media-sound/sc2mpd/files/ohnet.optionparser.patch
deleted file mode 100644
index a31657684271..000000000000
--- a/media-sound/sc2mpd/files/ohnet.optionparser.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/OpenHome/TestFramework/OptionParser.cpp b/OpenHome/TestFramework/OptionParser.cpp
-index fe90233..644fc0b 100644
---- a/OpenHome/TestFramework/OptionParser.cpp
-+++ b/OpenHome/TestFramework/OptionParser.cpp
-@@ -282,6 +282,6 @@ void OptionParser::SetUsage(const TChar* aUsage)
- {
- delete iUsage;
- iUsage = NULL;
-- iUsage = new TChar[strlen(iUsage)];
-+ iUsage = new TChar[strlen(aUsage)];
- (void)strcpy(iUsage, aUsage);
- }
diff --git a/media-sound/sc2mpd/files/ohnetgenerated.commonmk.patch b/media-sound/sc2mpd/files/ohnetgenerated.commonmk.patch
deleted file mode 100644
index a4f28f9a7009..000000000000
--- a/media-sound/sc2mpd/files/ohnetgenerated.commonmk.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -u ./Common.mak ../../openhome/ohNetGenerated/Common.mak
---- ./Common.mak 2017-09-19 10:51:13.000000000 +0200
-+++ ./Common.mak 2017-09-19 13:21:25.984071432 +0200
-@@ -17,20 +17,6 @@
- $(objdir)ohnet-generated.jar : CpProxyJavaClasses DvDeviceJavaClasses
- $(jar) $(jarflags) $(objdir)ohnet-generated.jar -C $(objdir) org
-
--Generated$(dirsep)GenerateSourceFiles.mak : $(tt) OpenHome$(dirsep)Net$(dirsep)Service$(dirsep)Services.xml OpenHome/Net/T4/Templates/UpnpMakeT4.tt
-- $(mkdir) Generated
-- $(t4) -o Generated$(dirsep)GenerateSourceFiles.mak OpenHome/Net/T4/Templates/UpnpMakeT4.tt -a xml:OpenHome/Net/Service/Services.xml
-- @echo Attention: a makefile has been re-generated.
--
--Generated$(dirsep)Proxies.mak : $(tt) OpenHome$(dirsep)Net$(dirsep)Service$(dirsep)Services.xml OpenHome/Net/T4/Templates/CpUpnpMakeProxies.tt
-- $(mkdir) Generated
-- $(t4) -o Generated$(dirsep)Proxies.mak OpenHome/Net/T4/Templates/CpUpnpMakeProxies.tt -a xml:OpenHome/Net/Service/Services.xml
-- @echo Attention: a makefile has been re-generated.
--
--Generated$(dirsep)Devices.mak : $(tt) OpenHome$(dirsep)Net$(dirsep)Service$(dirsep)Services.xml OpenHome/Net/T4/Templates/DvUpnpMakeDevices.tt
-- $(mkdir) Generated
-- $(t4) -o Generated$(dirsep)Devices.mak OpenHome/Net/T4/Templates/DvUpnpMakeDevices.tt -a xml:OpenHome/Net/Service/Services.xml
-- @echo Attention: a makefile has been re-generated.
-
- native_targets = make_obj_dir copy_build_includes proxies devices
-
diff --git a/media-sound/sc2mpd/files/ohnetgenerated.makefile.patch b/media-sound/sc2mpd/files/ohnetgenerated.makefile.patch
deleted file mode 100644
index d320cefbd473..000000000000
--- a/media-sound/sc2mpd/files/ohnetgenerated.makefile.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/Makefile b/Makefile
-index bf7a1ba..49bffaf 100644
---- a/Makefile
-+++ b/Makefile
-@@ -70,14 +70,17 @@ else
- else ifneq (,$(findstring linux,$(gcc_machine)))
- detected_openhome_system = Linux
- endif
-- ifeq ($(gcc_machine),arm-none-linux-gnueabi)
-- detected_openhome_architecture = armel
-- endif
-- ifeq ($(gcc_machine),arm-linux-gnueabi)
-- detected_openhome_architecture = armel
-- endif
-- ifeq ($(gcc_machine),arm-linux-gnueabihf)
-- detected_openhome_architecture = armhf
-+ 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 i686,$(gcc_machine)))
- detected_openhome_architecture = x86
diff --git a/media-sound/sc2mpd/files/sc2mpd-1.1.5-werror.patch b/media-sound/sc2mpd/files/sc2mpd-1.1.5-werror.patch
deleted file mode 100644
index ecc415f91b54..000000000000
--- a/media-sound/sc2mpd/files/sc2mpd-1.1.5-werror.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -ur sc2mpd-1.1.5/work/openhome/ohNet/Makefile sc2mpd-1.1.5.altered/work/openhome/ohNet/Makefile
---- a/openhome/ohNet/Makefile 2020-11-16 20:49:27.220636318 -0600
-+++ b/openhome/ohNet/Makefile 2020-11-16 20:46:19.822974263 -0600
-@@ -310,13 +310,13 @@
- cflags_base = -fexceptions -Wall $(version_specific_cflags_third_party) -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) -fvisibility=hidden $(platform_cflags)
- cflags_third_party = $(cflags_base) -Wno-int-to-pointer-cast
- ifeq ($(nocpp11), yes)
-- cppflags = $(cflags_base) -Werror
-+ cppflags = $(cflags_base)
- else ifeq ($(platform),IntelMac)
-- cppflags = $(cflags_base) -std=c++11 -Werror
-+ cppflags = $(cflags_base) -std=c++11
- else
-- cppflags = $(cflags_base) -std=c++0x -Werror
-+ cppflags = $(cflags_base) -std=c++0x
- endif
--cflags = $(cflags_base) -Werror
-+cflags = $(cflags_base)
- inc_build = Build/Include
- includes = -IBuild/Include/ $(version_specific_includes)
- bundle_build = Build/Bundles
-@@ -371,7 +371,7 @@
- jar = $(JAVA_HOME)/bin/jar
- endif
-
--java_cflags = -fexceptions -Wall $(platform_java_cflags) $(version_specific_java_cflags) -Werror -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) $(platform_cflags)
-+java_cflags = -fexceptions -Wall $(platform_java_cflags) $(version_specific_java_cflags) -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) $(platform_cflags)
- jarflags = cf
- dirsep = /
- prefix = /usr/local
-diff -ur sc2mpd-1.1.5/work/openhome/ohNetGenerated/Makefile sc2mpd-1.1.5.altered/work/openhome/ohNetGenerated/Makefile
---- a/openhome/ohNetGenerated/Makefile 2020-11-16 20:49:27.262636458 -0600
-+++ b/openhome/ohNetGenerated/Makefile 2020-11-16 20:45:36.594809974 -0600
-@@ -273,13 +273,13 @@
- cflags_base = -fexceptions -Wall $(version_specific_cflags_third_party) -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) -fvisibility=hidden $(platform_cflags)
- cflags_third_party = $(cflags_base) -Wno-int-to-pointer-cast
- ifeq ($(nocpp11), yes)
-- cppflags = $(cflags_base) -Werror
-+ cppflags = $(cflags_base)
- else ifeq ($(platform),IntelMac)
-- cppflags = $(cflags_base) -std=c++11 -Werror
-+ cppflags = $(cflags_base) -std=c++11
- else
-- cppflags = $(cflags_base) -std=c++0x -D__STDC_VERSION__=199901L -Werror
-+ cppflags = $(cflags_base) -std=c++0x -D__STDC_VERSION__=199901L
- endif
--cflags = $(cflags_base) -Werror
-+cflags = $(cflags_base)
- depsPlatform = ${openhome_system}-${openhome_architecture}
- header_install = Build/Include
- inc_build = dependencies/$(depsPlatform)/ohNet-$(depsPlatform)-Release/include/ohnet
-@@ -334,7 +334,7 @@
- jar = $(JAVA_HOME)/bin/jar
- endif
-
--java_cflags = -fexceptions -Wall $(version_specific_java_cflags) -Werror -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) $(platform_cflags)
-+java_cflags = -fexceptions -Wall $(version_specific_java_cflags) -pipe -D_GNU_SOURCE -D_REENTRANT -DDEFINE_$(endian)_ENDIAN -DDEFINE_TRACE $(debug_specific_cflags) $(platform_cflags)
- jarflags = cf
- dirsep = /
- prefix = /usr/local
-diff -ur sc2mpd-1.1.5/work/openhome/ohSongcast/Makefile sc2mpd-1.1.5.altered/work/openhome/ohSongcast/Makefile
---- a/openhome/ohSongcast/Makefile 2016-10-18 02:34:33.000000000 -0500
-+++ b/openhome/ohSongcast/Makefile 2020-11-16 20:46:57.123112193 -0600
-@@ -38,7 +38,7 @@
- # Macros used by Common.mak
-
- ar = ${CROSS_COMPILE}ar rc $(objdir)
--cflags = -fexceptions -Wall -Werror -pipe -std=c++11 -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN -DDEFINE_TRACE $(debug_specific_flags) -fvisibility=hidden -DDllImport="__attribute__ ((visibility(\"default\")))" -DDllExport="__attribute__ ((visibility(\"default\")))" -DDllExportClass="__attribute__ ((visibility(\"default\")))" $(platform_cflags)
-+cflags = -fexceptions -Wall -pipe -std=c++11 -D_GNU_SOURCE -D_REENTRANT -DDEFINE_LITTLE_ENDIAN -DDEFINE_TRACE $(debug_specific_flags) -fvisibility=hidden -DDllImport="__attribute__ ((visibility(\"default\")))" -DDllExport="__attribute__ ((visibility(\"default\")))" -DDllExportClass="__attribute__ ((visibility(\"default\")))" $(platform_cflags)
- ohnetdir = ../ohNet/Build/Obj/$(osdir)/$(build_dir)/
- ohnetgenerateddir = ../ohNetGenerated/Build/Obj/$(osdir)/$(build_dir)/
- ohtopologydir = ../ohTopology/build/