From 312c0ab25c0dad63411a4e2a6ca43d9477bc773a Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Thu, 14 Nov 2019 16:14:36 +0100 Subject: media-gfx/sam2p: remove unused patches Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/13651 Signed-off-by: Aaron Bauman --- media-gfx/sam2p/files/sam2p-0.45-fbsd.patch | 14 -------- media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch | 18 ---------- media-gfx/sam2p/files/sam2p-0.49.1-build.patch | 42 ----------------------- media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch | 39 --------------------- 4 files changed, 113 deletions(-) delete mode 100644 media-gfx/sam2p/files/sam2p-0.45-fbsd.patch delete mode 100644 media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch delete mode 100644 media-gfx/sam2p/files/sam2p-0.49.1-build.patch delete mode 100644 media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch (limited to 'media-gfx/sam2p') diff --git a/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch b/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch deleted file mode 100644 index aed13acf08dd..000000000000 --- a/media-gfx/sam2p/files/sam2p-0.45-fbsd.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- gensio.cpp.orig Fri Feb 7 02:24:56 2003 -+++ gensio.cpp Fri Feb 7 02:25:11 2003 -@@ -491,11 +491,7 @@ - /* --- */ - - --#if HAVE_lstat_in_sys_stat --# define PTS_lstat lstat --#else - # define PTS_lstat stat --#endif - - /** @param fname must start with '/' (dir separator) - * @return true if file successfully created diff --git a/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch b/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch deleted file mode 100644 index f96a97969390..000000000000 --- a/media-gfx/sam2p/files/sam2p-0.49-glibc-2.20.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/524048 - -ignore warnings w/newer glibc-2.20 - -patch by Dmitry Derevyanko - ---- a/ccdep.pl -+++ b/ccdep.pl -@@ -233,6 +233,9 @@ - } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: this is the location of /) { - # ^^^ gcc-3.1 - undef $included_from; -+ } elsif ($S=~/\A([^:]+):\d+:(\d+:)? warning: .*\bdeprecated\b/) { -+ # Example: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] -+ undef $included_from; - } elsif ($S=~/: No such file or directory$/) { # Depends on $ENV{LC_ALL}. - # ^^^ gcc-3.3 - undef $included_from; diff --git a/media-gfx/sam2p/files/sam2p-0.49.1-build.patch b/media-gfx/sam2p/files/sam2p-0.49.1-build.patch deleted file mode 100644 index ba421463d536..000000000000 --- a/media-gfx/sam2p/files/sam2p-0.49.1-build.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.in -+++ configure.in -@@ -81,7 +81,7 @@ - dnl Checks for programs. - dnl AC_PROG_CC - AC_LANG_CPLUSPLUS --CXXFLAGS=" " -+#CXXFLAGS=" " - dnl ^^^ set it to non-empty, so AC_PROG_CXX won't include `-g' - CCC="$CCC g++" - dnl ^^^ check g++ before c++ (see acspecific.m4, grep AC_PROG_CXX) -@@ -215,7 +215,7 @@ - - dnl AC_PTS_RUN_OK([perl -x -S ./ccdep.pl $CXX], [], [AC_MSG_ERROR(cannot compute depends)]) - rm -f Makedep --AC_PTS_RUN_OK([make Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) -+AC_PTS_RUN_OK([gmake Makedep], [], [AC_MSG_ERROR(cannot compute depends)]) - AC_PTS_OK - echo "configure done. Now you should run: make; make install" - ---- Makefile -+++ Makefile -@@ -17,7 +17,7 @@ - export PERL_BADLANG - - CXXX=$(CXD_assert) --LDALL=$(LDXX) -s $(LDFLAGS) $(LIBS) -+LDALL=$(LDXX) $(LDFLAGS) $(LIBS) - ifeq ($(ENABLE_DEBUG), no) - CXXX=$(CXD_no) - endif -@@ -51,8 +51,8 @@ - IDE_TARGETS_debug := $(patsubst %,%.yes, $(TARGETS)) - IDE_TARGETS_release := $(TARGETS) - --CXD_assert =$(CXX) -s -O2 --CXD_no =$(CXX) -s -DNDEBUG -O3 -+CXD_assert =$(CXX) -+CXD_no =$(CXX) -DNDEBUG - # CXD_yes =$(CXX) $(GFLAG) -lefence - CXD_yes =$(CXX) $(GFLAG) - CXD_checker=checkerg++ $(GFLAG) diff --git a/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch b/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch deleted file mode 100644 index d427c2076d3c..000000000000 --- a/media-gfx/sam2p/files/sam2p-0.49.1-gcc48.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: ccdep.pl -=================================================================== ---- ccdep.pl (revision 123) -+++ ccdep.pl (revision 125) -@@ -137,13 +137,20 @@ - - my @DS=find_ds(); - my @DSQ=map{shq$_}@DS; --my $R="$GCCP -DOBJDEP -M -MG -E 2>&1 @DSQ"; --$R=backtick($R); -+my $DIAG=" -fno-diagnostics-show-caret"; -+my $Q="$GCCP -DOBJDEP$DIAG -M -MG -E 2>&1 @DSQ"; -+my $R=backtick($Q); -+if ($R=~/\berror: .*-fno-diagnostics-show-caret\b/) { -+ # gcc-4.6 and earlier don't have this flag, and they fail. -+ $Q=~s@ -fno-diagnostics-show-caret(?=\s)@@; -+ $DIAG=""; -+ $R=backtick($Q); -+} - - if ($R!~/: warning: #warning\b/) { - # config2.h:314:4: warning: #warning REQUIRES: c_lgcc3.o - # Dat: g++-3.3 ignores #warning with -M -MG -E -- $R.="\n".backtick("$GCCP -DOBJDEP -E 2>&1 >/dev/null @DSQ"); -+ $R.="\n".backtick("$GCCP -DOBJDEP$DIAG -E 2>&1 >/dev/null @DSQ"); - } - - ## die $R; ---- rule.hpp 2013-04-18 12:14:20.385333527 +0200 -+++ rule.hpp 2013-04-18 12:14:35.818870070 +0200 -@@ -88,7 +88,7 @@ - PR_PNGAuto=15, - PR_PNGAutoMaybe=25, - PR_PNGAutoBadUnsigned=45, -- PR_PNGAutoBadSigned=55, -+ PR_PNGAutoBadSigned=55 - END_STATIC_ENUM() - pr_t Predictor; - -- cgit v1.2.3-65-gdbad