diff options
author | Fabian Groffen <grobian@gentoo.org> | 2015-09-07 11:54:43 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2015-09-07 11:54:43 +0200 |
commit | 82ebfa8ee271dfb08006b88a18a95346c95c9041 (patch) | |
tree | a036f1018fd11d3e4fe0b02d196a07c217ebd1aa /app-arch | |
parent | update-rsync-master: switch to prefix git tree (diff) | |
download | prefix-82ebfa8ee271dfb08006b88a18a95346c95c9041.tar.gz prefix-82ebfa8ee271dfb08006b88a18a95346c95c9041.tar.bz2 prefix-82ebfa8ee271dfb08006b88a18a95346c95c9041.zip |
app-arch/unrar-gpl: migrated to gx86
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/unrar-gpl/Manifest | 1 | ||||
-rw-r--r-- | app-arch/unrar-gpl/files/unrar-gpl-0.0.1-solaris.patch | 63 | ||||
-rw-r--r-- | app-arch/unrar-gpl/metadata.xml | 7 | ||||
-rw-r--r-- | app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417-r1.ebuild | 33 |
4 files changed, 0 insertions, 104 deletions
diff --git a/app-arch/unrar-gpl/Manifest b/app-arch/unrar-gpl/Manifest deleted file mode 100644 index 4c935b6aed..0000000000 --- a/app-arch/unrar-gpl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST unrar-gpl-0.0.1_p20080417.tar.bz2 138495 RMD160 8f0ce08b030b0eabcf5681551a891833194ce5fb SHA1 d1b95fe62438ab70bfa6d12e6daa6922ff809086 SHA256 6a9605aabf53693105d04accb70c4bec49b4c313f0078828cccafbfb9d1966fe diff --git a/app-arch/unrar-gpl/files/unrar-gpl-0.0.1-solaris.patch b/app-arch/unrar-gpl/files/unrar-gpl-0.0.1-solaris.patch deleted file mode 100644 index f1cf8ef233..0000000000 --- a/app-arch/unrar-gpl/files/unrar-gpl-0.0.1-solaris.patch +++ /dev/null @@ -1,63 +0,0 @@ -* grobian@gentoo.org: allow compilation on non glibc hosts by use of an - external library for argp, and check for certain - headers before including them - ---- configure.ac -+++ configure.ac -@@ -14,7 +14,7 @@ - - # Checks for header files. - AC_HEADER_STDC --AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h]) -+AC_CHECK_HEADERS([limits.h stdlib.h string.h unistd.h error.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST -@@ -24,6 +24,7 @@ - AC_FUNC_MALLOC - AC_FUNC_REALLOC - AC_CHECK_FUNCS([atexit realpath setenv strchr]) -+AC_SEARCH_LIBS([argp_usage], [argp]) - - AC_CONFIG_FILES([Makefile - src/Makefile]) ---- src/unrar.c -+++ src/unrar.c -@@ -24,7 +24,9 @@ - #include <stdlib.h> - #include <string.h> - #include <time.h> -+#ifdef HAVE_ERROR_H - #include <error.h> -+#endif - #include <errno.h> - #include <sys/stat.h> - #include <sys/types.h> ---- src/opts.c -+++ src/opts.c -@@ -22,7 +22,9 @@ - #include <stdio.h> - #include <stdlib.h> - #include <string.h> -+#ifdef HAVE_ERROR_H - #include <error.h> -+#endif - #include <argp.h> - #include <unistd.h> - #include <sys/types.h> ---- src/opts.h -+++ src/opts.h -@@ -56,4 +56,13 @@ - int parse_opts (int argc, char **argv, struct arguments_t *arguments); - int compat_parse_opts (int argc, char **argv, struct arguments_t *arguments); - -+#ifndef HAVE_ERROR_H -+#define error(S, E, ...) \ -+ fflush(stdout); \ -+ fprintf(stderr, "unrar: " __VA_ARGS__); \ -+ if (E != 0) fprintf(stderr, ": %s", strerror(E)); \ -+ fprintf(stderr, "\n"); \ -+ if (S != 0) exit(S); -+#endif -+ - #endif diff --git a/app-arch/unrar-gpl/metadata.xml b/app-arch/unrar-gpl/metadata.xml deleted file mode 100644 index f187a7c8ef..0000000000 --- a/app-arch/unrar-gpl/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer> - <email>hanno@gentoo.org</email> -</maintainer> -</pkgmetadata> diff --git a/app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417-r1.ebuild b/app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417-r1.ebuild deleted file mode 100644 index a79750eab0..0000000000 --- a/app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar-gpl/unrar-gpl-0.0.1_p20080417-r1.ebuild,v 1.2 2012/01/23 22:30:33 ssuominen Exp $ - -EAPI=4 -inherit autotools flag-o-matic - -DESCRIPTION="Free rar unpacker for old (pre v3) rar files" -HOMEPAGE="http://home.gna.org/unrar/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64-linux ~x86-linux ~x86-solaris" -IUSE="" -DEPEND="!elibc_glibc? ( dev-libs/argp dev-libs/gnulib )" - -DOCS="AUTHORS README" - -S=${WORKDIR}/${PN/-gpl} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.0.1-solaris.patch - eautoreconf - - if [[ ${CHOST} == *-aix* || ${CHOST} == *-solaris* ]]; then - append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include - append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/lib - append-libs -lgnu - fi -} - -src_configure() { econf --program-suffix="-gpl"; } |