diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-03-26 17:25:37 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-03-26 17:25:37 +0000 |
commit | d36c2302e02ac2713686468391cefba9bda09433 (patch) | |
tree | 964d1407fa2cdfd52abe5a593b0d2d47c1390050 /app-misc/endeavour | |
parent | amd64 stable wrt bug #214913 (diff) | |
download | historical-d36c2302e02ac2713686468391cefba9bda09433.tar.gz historical-d36c2302e02ac2713686468391cefba9bda09433.tar.bz2 historical-d36c2302e02ac2713686468391cefba9bda09433.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-misc/endeavour')
-rw-r--r-- | app-misc/endeavour/endeavour-2.4.6.ebuild | 59 | ||||
-rw-r--r-- | app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch | 31 | ||||
-rw-r--r-- | app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch | 16 |
3 files changed, 0 insertions, 106 deletions
diff --git a/app-misc/endeavour/endeavour-2.4.6.ebuild b/app-misc/endeavour/endeavour-2.4.6.ebuild deleted file mode 100644 index 484a6ec894ed..000000000000 --- a/app-misc/endeavour/endeavour-2.4.6.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/endeavour-2.4.6.ebuild,v 1.8 2006/08/08 23:15:33 wolf31o2 Exp $ - -inherit eutils - -M=endeavour2-mimetypes -DESCRIPTION="Powerful file and image browser" -HOMEPAGE="http://wolfpack.twu.net/Endeavour2/" -SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2 - ftp://wolfpack.twu.net/users/wolfpack/${M}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND="app-arch/bzip2 - =x11-libs/gtk+-1.2* - >=media-libs/imlib-1.9.14" - -src_unpack() { - unpack ${P}.tar.bz2 - unpack ${M}.tgz - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc33.patch - epatch "${FILESDIR}"/${P}-gcc41.patch -} - -src_compile() { - ./configure Linux --prefix=/usr || die - emake || die "Parallel make failed" -} - -src_install() { - dodoc AUTHORS HACKING INSTALL README TODO - - cd endeavour2 - dobin endeavour2 || die - bunzip2 endeavour2.1.bz2 - doman endeavour2.1 - - dodir /usr/share/endeavour2 - cp -R data/* "${D}"/usr/share/endeavour2 || die - dodir /usr/share/endeavour2/icons/ - cp -R images/* "${D}"/usr/share/endeavour2/icons/ - - cd images - insinto /usr/share/icons - doins endeavour_48x48.xpm image_browser_48x48.xpm icon_trash_48x48.xpm \ - icon_trash_empty_48x48.xpm - - # install mimetypes - cd "${WORKDIR}"/${M} - mv README README.mimetypes - dodoc README.mimetypes - insinto /usr/share/endeavour2/ - doins mimetypes.ini -} diff --git a/app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch b/app-misc/endeavour/files/endeavour-2.4.6-gcc33.patch deleted file mode 100644 index 33a3e4594f4a..000000000000 --- a/app-misc/endeavour/files/endeavour-2.4.6-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 - ---- endeavour2/string.cpp -+++ endeavour2/string.cpp -@@ -28,3 +28,5 @@ - #endif -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle); -+#endif - int strpfx(const char *s, const char *pfx); -@@ -217,3 +219,4 @@ - */ -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle) - { -@@ -274,6 +277,7 @@ - - return(NULL); - } -+#endif - - /* - * Checks if string pfx is a prefix of string s. diff --git a/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch b/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch deleted file mode 100644 index cf8557d968f7..000000000000 --- a/app-misc/endeavour/files/endeavour-2.4.6-gcc41.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur endeavour-2.4.6-orig/endeavour2/disk.cpp endeavour-2.4.6/endeavour2/disk.cpp ---- endeavour-2.4.6-orig/endeavour2/disk.cpp 2006-03-10 00:08:03.000000000 -0500 -+++ endeavour-2.4.6/endeavour2/disk.cpp 2006-03-10 00:12:37.000000000 -0500 -@@ -130,12 +130,7 @@ - if(path == NULL) - return(0); - -- // Dan S: typecast is due to const. --#if defined(__cplusplus) || defined(c_plusplus) -- while(ISBLANK(reinterpret_cast<char>(*path))) --#else - while(ISBLANK(*path)) --#endif - path++; - - return(*path == DIR_DELIMINATOR); |