summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-15 08:22:55 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-15 08:22:55 +0000
commit7d3cd0c37155c26bffbdf1a8600f15576e3c77d4 (patch)
treea3a7f5262850b7f1d6b9f37e98d46a6082dc8201 /media-libs/yiff
parentAssigning app-doc/single-unix-specification to m-needed, as beu is being reti... (diff)
downloadgentoo-2-7d3cd0c37155c26bffbdf1a8600f15576e3c77d4.tar.gz
gentoo-2-7d3cd0c37155c26bffbdf1a8600f15576e3c77d4.tar.bz2
gentoo-2-7d3cd0c37155c26bffbdf1a8600f15576e3c77d4.zip
old
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'media-libs/yiff')
-rw-r--r--media-libs/yiff/files/digest-yiff-2.14.23
-rw-r--r--media-libs/yiff/files/yiff-2.14.2-PIC.patch30
-rw-r--r--media-libs/yiff/files/yiff-2.14.2-gcc3.patch85
-rw-r--r--media-libs/yiff/files/yiff-2.14.2-gcc33.patch31
-rw-r--r--media-libs/yiff/yiff-2.14.2.ebuild45
5 files changed, 0 insertions, 194 deletions
diff --git a/media-libs/yiff/files/digest-yiff-2.14.2 b/media-libs/yiff/files/digest-yiff-2.14.2
deleted file mode 100644
index d387ca834657..000000000000
--- a/media-libs/yiff/files/digest-yiff-2.14.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 db5a17d43c6ead1dc9ad08995c06d05c yiff-2.14.2.tar.bz2 509273
-RMD160 66b44f4a23f679dccb18340d023c849421b43e0d yiff-2.14.2.tar.bz2 509273
-SHA256 fb95c4afc02aee64598f13561e0b5f5fa7bb7cf2d982b58770e0f2cd785d549d yiff-2.14.2.tar.bz2 509273
diff --git a/media-libs/yiff/files/yiff-2.14.2-PIC.patch b/media-libs/yiff/files/yiff-2.14.2-PIC.patch
deleted file mode 100644
index eae247c0447b..000000000000
--- a/media-libs/yiff/files/yiff-2.14.2-PIC.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur yiff-2.14.2.orig/libY2/Makefile yiff-2.14.2/libY2/Makefile
---- yiff-2.14.2.orig/libY2/Makefile 2003-08-06 14:04:35.000000000 -0700
-+++ yiff-2.14.2/libY2/Makefile 2004-07-12 19:56:22.000000000 -0700
-@@ -136,9 +136,9 @@
- OBJ_C = $(SRC_C:.c=.o)
- OBJ_CPP = $(SRC_CPP:.cpp=.o)
- .c.o:
-- +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS)
-+ +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS) -fPIC -DPIC
- .cpp.o:
-- +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS)
-+ +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS) -fPIC -DPIC
-
- $(LIB): $(OBJ_C) $(OBJ_CPP)
- $(CPP) $(OBJ_C) $(OBJ_CPP) -shared -o $(LIB) $(LIBS) $(LIB_DIRS)
-diff -Naur yiff-2.14.2.orig/libY2/Makefile.Linux yiff-2.14.2/libY2/Makefile.Linux
---- yiff-2.14.2.orig/libY2/Makefile.Linux 2003-08-06 14:04:35.000000000 -0700
-+++ yiff-2.14.2/libY2/Makefile.Linux 2004-07-12 19:58:37.000000000 -0700
-@@ -136,9 +136,9 @@
- OBJ_C = $(SRC_C:.c=.o)
- OBJ_CPP = $(SRC_CPP:.cpp=.o)
- .c.o:
-- +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS)
-+ +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS) -fPIC -DPIC
- .cpp.o:
-- +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS)
-+ +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS) -fPIC -DPIC
-
- $(LIB): $(OBJ_C) $(OBJ_CPP)
- $(CPP) $(OBJ_C) $(OBJ_CPP) -shared -o $(LIB) $(LIBS) $(LIB_DIRS)
diff --git a/media-libs/yiff/files/yiff-2.14.2-gcc3.patch b/media-libs/yiff/files/yiff-2.14.2-gcc3.patch
deleted file mode 100644
index 54fc043c5fe4..000000000000
--- a/media-libs/yiff/files/yiff-2.14.2-gcc3.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-Fix misc issues that crop up with newer gcc versions.
-
---- yiff-2.14.2/yiff/Makefile
-+++ yiff-2.14.2/yiff/Makefile
-@@ -111,7 +111,7 @@
- # farther above.
- #
- #LIB = -lm -lkmid
--LIB = -lm
-+LIB = -lm -lstdc++
-
- # Library Directories:
- #
---- yiff-2.14.2/yiffconfig/yccb.c
-+++ yiff-2.14.2/yiffconfig/yccb.c
-@@ -168,13 +168,13 @@
- {
- int status = CDialogGetResponse(
- "Discard changes?",
--"Changes have not been saved, are you sure you\n\
--want to discard those changes?",
--"There are changes made to the configuration which\n\
--have not been saved. If you say 'Yes' then any\n\
--changes you have made will be lost. If you want\n\
--to preserve those changes then say 'No' and\n\
--continue on with the configuration.",
-+"Changes have not been saved, are you sure you\n"\
-+"want to discard those changes?",
-+"There are changes made to the configuration which\n"\
-+"have not been saved. If you say 'Yes' then any\n"\
-+"changes you have made will be lost. If you want\n"\
-+"to preserve those changes then say 'No' and\n"\
-+"continue on with the configuration.",
- CDIALOG_ICON_WARNING,
- CDIALOG_BTNFLAG_YES | CDIALOG_BTNFLAG_NO |
- CDIALOG_BTNFLAG_HELP,
---- yiff-2.14.2/yiffutils/ymixer.c
-+++ yiff-2.14.2/yiffutils/ymixer.c
-@@ -23,26 +23,26 @@
- */
- static void print_help(void)
- {
-- printf("\
--Usage: ymixer [mixer] [value1] [value2] [value3] [value4] [options]\n\
--\n\
-- [mixer] specifies the mixer channel device name, running without\n\
-- any arguments prints a list of available mixer names.\n\
--\n\
-- [value#] specify the percent values (from 0.0%%, 100.0%%) to be set.\n\
-- If no [value#] is specified then the current value is printed.\n\
--\n\
-- [options] can be any of the following:\n\
--\n\
-- --recorder <address:port> Specify which Y server to connect to.\n\
--\n\
-- Return values:\n\
--\n\
-- 0 Success.\n\
-- 1 General error.\n\
-- 2 Cannot connect to Y server error.\n\
-- 3 Systems error.\n\
--\n"
-+ printf("\n"\
-+"Usage: ymixer [mixer] [value1] [value2] [value3] [value4] [options]\n"\
-+"\n"\
-+" [mixer] specifies the mixer channel device name, running without\n"\
-+" any arguments prints a list of available mixer names.\n"\
-+"\n"\
-+" [value#] specify the percent values (from 0.0%%, 100.0%%) to be set.\n"\
-+" If no [value#] is specified then the current value is printed.\n"\
-+"\n"\
-+" [options] can be any of the following:\n"\
-+"\n"\
-+" --recorder <address:port> Specify which Y server to connect to.\n"\
-+"\n"\
-+" Return values:\n"\
-+"\n"\
-+" 0 Success.\n"\
-+" 1 General error.\n"\
-+" 2 Cannot connect to Y server error.\n"\
-+" 3 Systems error.\n"\
-+"\n"
- );
- }
-
diff --git a/media-libs/yiff/files/yiff-2.14.2-gcc33.patch b/media-libs/yiff/files/yiff-2.14.2-gcc33.patch
deleted file mode 100644
index a8cfdd651717..000000000000
--- a/media-libs/yiff/files/yiff-2.14.2-gcc33.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Work around a gcc-3.3.x bug where redefining prototypes with different
-__THROW / attribute(nonnull) markings throws an error:
-
-string.cpp:31: error: declaration of `char* strcasestr(const char*, const char*)' throws different exceptions
-../include/string.h:46: error: than previous declaration `char* strcasestr(const char*, const char*) throw ()'
-
-basically we just use the glibc strcasestr() instead of the internal one.
-
-http://bugs.gentoo.org/show_bug.cgi?id=85780
-
---- string.cpp
-+++ string.cpp
-@@ -37,3 +37,5 @@
- const char *strseekblank(const char *s);
-+#ifndef _GNU_SOURCE
- char *strcasestr(const char *haystack, const char *needle);
-+#endif
- int strpfx(const char *str, const char *pfx);
-@@ -220,3 +220,4 @@
- */
-+#ifndef _GNU_SOURCE
- char *strcasestr(const char *haystack, const char *needle)
- {
-@@ -275,6 +275,7 @@
-
- return(NULL);
- }
-+#endif
-
- /*
- * Returns 1 if pfx is a prefix of str.
diff --git a/media-libs/yiff/yiff-2.14.2.ebuild b/media-libs/yiff/yiff-2.14.2.ebuild
deleted file mode 100644
index 767475d061f4..000000000000
--- a/media-libs/yiff/yiff-2.14.2.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/yiff-2.14.2.ebuild,v 1.12 2005/04/19 00:18:54 vapier Exp $
-
-inherit flag-o-matic eutils kde
-
-DESCRIPTION="high performance and stable sound server for UNIX games and apps"
-HOMEPAGE="http://wolfpack.twu.net/YIFF/"
-SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="gtk alsa"
-
-DEPEND="gtk? ( =x11-libs/gtk+-1.2* )
- alsa? ( media-libs/alsa-lib )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc3.patch
- epatch "${FILESDIR}"/${P}-PIC.patch
- for d in libY2 yiff{,config,utils} ; do
- cd "${S}"/${d}
- epatch "${FILESDIR}"/${P}-gcc33.patch
- done
-}
-
-src_compile() {
- local pkgs="libY2 yiff yiffutils"
- use gtk && pkgs="${pkgs} yiffconfig" && append-flags `gtk-config --cflags`
- #append-flags -DHAVE_LIBKMID
- use alsa && append-flags -DALSA_RUN_CONFORM
- append-flags -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD
- make linux \
- CFLAGS="${CFLAGS}" \
- LINUX_DIRS="${pkgs}" \
- || die
-}
-
-src_install() {
- make install PREFIX="${D}/usr" YLIB_DIR="${D}/usr/$(get_libdir)" || die
- dodoc AUTHORS README
-}