add ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-10-04 19:24:16 +00:00
parent 53d472c69f
commit 677e030bbd
69 changed files with 3569 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- arc-5.21m/tmclock.c
+++ arc-5.21m/tmclock.c
@@ -14,7 +14,7 @@
/* Julian day number of the Unix* clock's origin, 01 Jan 1970. */
#define JD1970 2440587L
#define CENTURY 19
-#if BSD
+#if BSD || defined(__MACH_O__)
#include <sys/time.h>
#else
#include <time.h>

View File

@@ -0,0 +1,12 @@
--- tmclock.c 2005-09-21 18:39:57 +0200
+++ tmclock.c.new 2007-06-16 15:58:26 +0200
@@ -18,8 +18,10 @@
#include <sys/time.h>
#else
#include <time.h>
+#ifdef timezone
extern long timezone; /* should be in <time.h>, but isn't on Sun */
#endif
+#endif
long tzone;

View File

@@ -0,0 +1,12 @@
diff -ru arc-5.21o.orig/arcdos.c arc-5.21o/arcdos.c
--- arc-5.21o.orig/arcdos.c 2008-03-30 15:44:53 +0200
+++ arc-5.21o/arcdos.c 2008-03-30 15:45:51 +0200
@@ -30,7 +30,7 @@
#if UNIX
#include <sys/types.h>
#include <sys/stat.h>
-#if BSD
+#if BSD || defined(__INTERIX)
#include <sys/time.h>
#else
#include <time.h> /* Sys V. Bleah. */

View File

@@ -0,0 +1,24 @@
--- /usr/portage/app-arch/arc/arc-5.21o.ebuild 2010-02-17 08:05:15.000000000 +0100
+++ arc-5.21p.ebuild 2010-10-04 17:53:17.745588053 +0200
@@ -6,7 +6,7 @@
DESCRIPTION="Create & extract files from DOS .ARC files"
HOMEPAGE="http://arc.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -18,9 +18,9 @@
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P/o/m}-darwin.patch
- epatch "${FILESDIR}"/${P/o/m}-gentoo-fbsd.patch
- epatch "${FILESDIR}"/${P}-interix.patch
+ epatch "${FILESDIR}"/${P/p/m}-darwin.patch
+ epatch "${FILESDIR}"/${P/p/m}-gentoo-fbsd.patch
+ epatch "${FILESDIR}"/${P/p/o}-interix.patch
sed -i -e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' Makefile
}