summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-07-02 13:47:37 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-07-02 13:47:37 +0300
commitb370400e46d3df152beabfdc9100a9c4954d5382 (patch)
tree2261e9e1e8fbae0e37d59e641d7013be5e2534c1 /media-libs
parentdev-python: remove last-rited pkgs (diff)
downloadgentoo-b370400e46d3df152beabfdc9100a9c4954d5382.tar.gz
gentoo-b370400e46d3df152beabfdc9100a9c4954d5382.tar.bz2
gentoo-b370400e46d3df152beabfdc9100a9c4954d5382.zip
media-libs/aldumb: remove last-rited pkg
Closes: https://bugs.gentoo.org/724686 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/aldumb/Manifest1
-rw-r--r--media-libs/aldumb/aldumb-0.9.3.ebuild52
-rw-r--r--media-libs/aldumb/files/aldumb-0.9.3-PIC-as-needed.patch72
-rw-r--r--media-libs/aldumb/files/aldumb-0.9.3_CVE-2006-3668.patch16
-rw-r--r--media-libs/aldumb/metadata.xml11
5 files changed, 0 insertions, 152 deletions
diff --git a/media-libs/aldumb/Manifest b/media-libs/aldumb/Manifest
deleted file mode 100644
index 089690e1d596..000000000000
--- a/media-libs/aldumb/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST dumb-0.9.3.tar.gz 167379 BLAKE2B 1a9f62b784f8e8ba5b30b892bc9588bbebca7d5270b5d1161230c1c538d1aed8c6d2f2afa6a9087858ad45dccee9c640498548a845b2f046a0c390e7a84525cc SHA512 9ecdea460858b7e6ad7ca2534ecb3581397e6c1fa904459affe19ce49f528e580e143b42b13413b292ae7b57901a8008e6a9ee3821824f6ff7914b136f75c658
diff --git a/media-libs/aldumb/aldumb-0.9.3.ebuild b/media-libs/aldumb/aldumb-0.9.3.ebuild
deleted file mode 100644
index 6349d6817e3e..000000000000
--- a/media-libs/aldumb/aldumb-0.9.3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Allegro support for DUMB (an IT, XM, S3M, and MOD player library)"
-HOMEPAGE="http://dumb.sourceforge.net/"
-SRC_URI="mirror://sourceforge/dumb/dumb-${PV}.tar.gz"
-
-LICENSE="DUMB-0.9.3"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="debug"
-
-DEPEND="
- >=media-libs/dumb-0.9.3
- media-libs/allegro:0
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P/aldumb/dumb}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-PIC-as-needed.patch
- "${FILESDIR}"/${P}_CVE-2006-3668.patch
-)
-
-src_prepare() {
- default
-
- cat << EOF > make/config.txt
-include make/unix.inc
-ALL_TARGETS := allegro allegro-examples allegro-headers
-PREFIX := /usr
-EOF
- sed -i '/= -s/d' Makefile || die "sed failed"
- cp -f Makefile Makefile.rdy || die
-}
-
-src_compile() {
- emake OFLAGS="${CFLAGS}" all
-}
-
-src_install() {
- dobin examples/dumbplay
- dolib.so lib/unix/libaldmb.so
-
- use debug && lib/unix/libaldmd.so
-
- insinto /usr/include
- doins include/aldumb.h
-}
diff --git a/media-libs/aldumb/files/aldumb-0.9.3-PIC-as-needed.patch b/media-libs/aldumb/files/aldumb-0.9.3-PIC-as-needed.patch
deleted file mode 100644
index 217caa406b3e..000000000000
--- a/media-libs/aldumb/files/aldumb-0.9.3-PIC-as-needed.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -Naur dumb.orig/Makefile dumb/Makefile
---- dumb.orig/Makefile 2003-04-03 16:34:18.000000000 -0800
-+++ dumb/Makefile 2004-07-06 14:43:38.158063165 -0700
-@@ -199,11 +199,11 @@
- ALLEGRO_EXAMPLES_EXE := $(addprefix examples/, $(notdir $(patsubst %.c, %$(EXE_SUFFIX), $(ALLEGRO_EXAMPLES))))
-
-
--CORE_LIB_FILE_RELEASE := $(LIBDIR)/libdumb.a
--ALLEGRO_LIB_FILE_RELEASE := $(LIBDIR)/libaldmb.a
-+CORE_LIB_FILE_RELEASE := $(LIBDIR)/libdumb.so
-+ALLEGRO_LIB_FILE_RELEASE := $(LIBDIR)/libaldmb.so
-
--CORE_LIB_FILE_DEBUG := $(LIBDIR)/libdumbd.a
--ALLEGRO_LIB_FILE_DEBUG := $(LIBDIR)/libaldmd.a
-+CORE_LIB_FILE_DEBUG := $(LIBDIR)/libdumbd.so
-+ALLEGRO_LIB_FILE_DEBUG := $(LIBDIR)/libaldmd.so
-
-
- core: $(CORE_LIB_FILE_RELEASE) $(CORE_LIB_FILE_DEBUG)
-@@ -272,22 +272,22 @@
-
- OBJDIR := $(OBJDIR_BASE)/release
- CFLAGS := $(CFLAGS_RELEASE)
--CORE_LIB_FILE := $(LIBDIR)/libdumb.a
--ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmb.a
-+CORE_LIB_FILE := $(LIBDIR)/libdumb.so
-+ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmb.so
- include make/Makefile.inc
-
- OBJDIR := $(OBJDIR_BASE)/debug
- CFLAGS := $(CFLAGS_DEBUG)
--CORE_LIB_FILE := $(LIBDIR)/libdumbd.a
--ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmd.a
-+CORE_LIB_FILE := $(LIBDIR)/libdumbd.so
-+ALLEGRO_LIB_FILE := $(LIBDIR)/libaldmd.so
- include make/Makefile.inc
-
-
- $(CORE_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(CORE_LIB_FILE_RELEASE)
-- $(CC) $^ -o $@ $(LDFLAGS) $(LINK_MATH)
-+ $(CC) $^ -o $@ $(LDFLAGS) $(LINK_MATH)
-
- $(ALLEGRO_EXAMPLES_EXE): examples/%$(EXE_SUFFIX): examples/%.o $(ALLEGRO_LIB_FILE_RELEASE) $(CORE_LIB_FILE_RELEASE)
-- $(CC) $^ -o $@ $(LDFLAGS) $(LINK_ALLEGRO)
-+ $(CC) $^ -o $@ $(LDFLAGS) $(LINK_ALLEGRO)
-
- $(CORE_EXAMPLES_OBJ): examples/%.o: examples/%.c include/dumb.h
- $(CC) -c $< -o $@ $(CFLAGS_RELEASE)
-diff -Naur dumb.orig/make/Makefile.inc dumb/make/Makefile.inc
---- dumb.orig/make/Makefile.inc 2003-04-03 16:34:18.000000000 -0800
-+++ dumb/make/Makefile.inc 2004-07-06 14:37:13.082037585 -0700
-@@ -10,8 +10,8 @@
- # accurately, create a local copy of the current CFLAGS variable. This is
- # necessary because Make doesn't expand variables in commands until they are
- # executed.
--$(CORE_LIB_FILE): CFLAGS := $(CFLAGS)
--$(ALLEGRO_LIB_FILE): CFLAGS := $(CFLAGS)
-+$(CORE_LIB_FILE): CFLAGS := $(CFLAGS) -fPIC -DPIC
-+$(ALLEGRO_LIB_FILE): CFLAGS := $(CFLAGS) -fPIC -DPIC
-
-
- $(OBJDIR)/%.o: src/core/%.c include/dumb.h include/internal/dumb.h
-@@ -28,7 +28,7 @@
- $(CC) -c -o $@ $< $(CFLAGS) $(WFLAGS_ALLEGRO)
-
- $(CORE_LIB_FILE): $(CORE_OBJECTS)
-- $(AR) rs $@ $^
-+ $(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -lm
-
- $(ALLEGRO_LIB_FILE): $(ALLEGRO_OBJECTS)
-- $(AR) rs $@ $^
-+ $(CC) -shared -o $@ $(LDFLAGS) -Wl,-shared,-soname,$(shell basename $@) $^ -ldumb
diff --git a/media-libs/aldumb/files/aldumb-0.9.3_CVE-2006-3668.patch b/media-libs/aldumb/files/aldumb-0.9.3_CVE-2006-3668.patch
deleted file mode 100644
index 09d2fb68f4cb..000000000000
--- a/media-libs/aldumb/files/aldumb-0.9.3_CVE-2006-3668.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: libdumb-0.9.3/src/it/itread.c
-===================================================================
---- libdumb-0.9.3.orig/src/it/itread.c 2006-07-21 11:05:48.000000000 +0200
-+++ libdumb-0.9.3/src/it/itread.c 2006-07-21 11:07:22.000000000 +0200
-@@ -292,6 +292,11 @@
-
- envelope->flags = dumbfile_getc(f);
- envelope->n_nodes = dumbfile_getc(f);
-+ if(envelope->n_nodes > 25) {
-+ TRACE("IT error: wrong number of envelope nodes (%d)\n", envelope->n_nodes);
-+ envelope->n_nodes = 0;
-+ return -1;
-+ }
- envelope->loop_start = dumbfile_getc(f);
- envelope->loop_end = dumbfile_getc(f);
- envelope->sus_loop_start = dumbfile_getc(f);
diff --git a/media-libs/aldumb/metadata.xml b/media-libs/aldumb/metadata.xml
deleted file mode 100644
index 18f5db992196..000000000000
--- a/media-libs/aldumb/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">dumb</remote-id>
- </upstream>
-</pkgmetadata>