Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
UAE allows you to run most of the available Amiga software. It is a software
emulation, meaning that no extra or special hardware is needed to do this.
The hardware of an Amiga is emulated accurately, so that Amiga software is
tricked into thinking it is running on the real thing, with your computer's
display, keyboard, harddisk and mouse taking the parts of their emulated
counterparts.
+43
View File
@@ -0,0 +1,43 @@
# $NetBSD: Makefile,v 1.69 2013/06/06 12:54:19 wiz Exp $
DISTNAME= uae-0.8.25
PKGREVISION= 20
CATEGORIES= emulators
MASTER_SITES= http://www.freiburg.linux.de/~uae/bin/sources/develop/
MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://uae.coresystems.de/
COMMENT= The UAE Amiga Emulator
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake pkg-config unzip:run
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-dga --enable-vidmode
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == NetBSD && exists(/usr/include/sys/statvfs.h)
CONFIGURE_ENV+= cv_func_getmntinfo=yes fu_cv_sys_mounted_getmntinfo=yes
.endif
INSTALLATION_DIRS= bin
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} readdisk uae ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/uae
cd ${WRKSRC}/docs && ${INSTALL_DATA} FAQ README \
${DESTDIR}${PREFIX}/share/doc/uae
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+5
View File
@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:51:09 joerg Exp $
bin/readdisk
bin/uae
share/doc/uae/FAQ
share/doc/uae/README
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: distinfo,v 1.17 2007/04/04 17:36:17 joerg Exp $
SHA1 (uae-0.8.25.tar.gz) = 41b7a70cf672d3cc516bd3856a051459a95a6517
RMD160 (uae-0.8.25.tar.gz) = 6990dc7aaf43c8bda0d7b86e6d0ae164209d1eb1
Size (uae-0.8.25.tar.gz) = 970727 bytes
SHA1 (patch-aa) = c185427ad9042e0e81ec4990c0ae4b5e6977a74e
SHA1 (patch-ab) = 4dc5d66008a9c056c7a93f74d25c4778d4f1b6cb
SHA1 (patch-ac) = 94e15570fe9d8df48945be0e1f2a723826e2ceda
SHA1 (patch-ad) = 6ac0d9bd6e60408f366f050898ae87e8730466ec
SHA1 (patch-ae) = 9235c20d2a60b3c48e87eb23463a14f558e0de4e
SHA1 (patch-af) = ca05a7ec786d48e488d3b29e0650da1ef4f67d37
SHA1 (patch-ag) = f62849869131a4ce3c87c4f3596fe2479ca3df8e
SHA1 (patch-ah) = 3c467cd0e1de340733b9feb9e9e9c9365f9205ea
SHA1 (patch-ai) = 25cf481cf7139088b7248835c48242364a586cd9
SHA1 (patch-aj) = 7d1a48d40b35594c2ed5673b9b2a737d8ba25ac8
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.6 2005/10/14 22:15:49 kristerw Exp $
--- src/zfile.c.orig 2005-08-12 20:46:41.000000000 +0200
+++ src/zfile.c 2005-08-12 20:47:10.000000000 +0200
@@ -125,10 +125,8 @@
char cmd[1024];
if (!dst)
return 1;
-#if defined AMIGA || defined __unix
sprintf (cmd, "unzip -p %s '*.adf' >%s", src, dst);
return !system (cmd);
-#endif
}
/*
+21
View File
@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.5 2005/10/14 22:15:49 kristerw Exp $
--- src/disk.c.orig 2005-08-12 20:48:07.000000000 +0200
+++ src/disk.c 2005-08-12 20:48:56.000000000 +0200
@@ -1178,6 +1178,8 @@
also it seems some copy protections require this fix */
DISK_start ();
+ /* The following fails with some versions of Kickstart. Disable it. */
+#if 0
/* Try to make floppy access from Kickstart faster. */
if (dskdmaen != 2)
return;
@@ -1222,6 +1224,7 @@
}
}
}
+#endif
}
/* not a real hardware register */
+44
View File
@@ -0,0 +1,44 @@
$NetBSD: patch-ac,v 1.10 2006/04/28 15:10:18 joerg Exp $
--- configure.orig 2005-07-01 13:00:17.000000000 +0000
+++ configure
@@ -12767,7 +12767,7 @@ echo "$as_me:$LINENO: checking for pthre
echo $ECHO_N "checking for pthread library... $ECHO_C" >&6
TMP_SAVE_CFLAGS=$CFLAGS
TMP_SAVE_LIBS=$LIBS
-LIBS="$LIBS -lpthread"
+LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -14385,16 +14385,16 @@ else if [ "x$WANT_ALSA" = "xyes" ]; then
echo "${ECHO_T}ALSA" >&6
SOUNDDEP=sd-alsa
USE_SOUND=yes
-else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
- echo "$as_me:$LINENO: result: USS" >&5
-echo "${ECHO_T}USS" >&6
- SOUNDDEP=sd-uss
- USE_SOUND=yes
else if [ "x$ac_cv_header_sys_audioio_h" = "xyes" -o "x$ac_cv_header_sun_audioio_h" = "xyes" ]; then
echo "$as_me:$LINENO: result: Solaris/NetBSD" >&5
echo "${ECHO_T}Solaris/NetBSD" >&6
SOUNDDEP=sd-solaris
USE_SOUND=yes
+else if [ "x$HAVE_USS_SOUND" = "xyes" ]; then
+ echo "$as_me:$LINENO: result: USS" >&5
+echo "${ECHO_T}USS" >&6
+ SOUNDDEP=sd-uss
+ USE_SOUND=yes
else if [ "x$HAVE_AF_LIB" = "xyes" ]; then
echo "$as_me:$LINENO: result: AF sound" >&5
echo "${ECHO_T}AF sound" >&6
@@ -14466,7 +14466,7 @@ if [ "x$USE_THREADS" = "xyes" -o "x$NEED
else if [ "x$HAVE_PTHREAD_LIB" = "xyes" ]; then
THREADDEP=td-posix
CFLAGS="$CFLAGS -DSUPPORT_THREADS -D_REENTRANT"
- LIBS="$LIBS -lpthread"
+ LIBS="$LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
if [ "x$HAVE_POSIX4_LIB" = "xyes" ]; then
LIBS="$LIBS -lposix4"
fi
+27
View File
@@ -0,0 +1,27 @@
$NetBSD: patch-ad,v 1.3 2006/07/02 15:47:16 tron Exp $
--- src/custom.c.orig 2005-07-02 17:24:06.000000000 +0100
+++ src/custom.c 2006-07-02 16:38:58.000000000 +0100
@@ -111,7 +111,8 @@
static uae_u16 sprdata[MAX_SPRITES][4], sprdatb[MAX_SPRITES][4];
static int sprite_last_drawn_at[MAX_SPRITES];
static int last_sprite_point, nr_armed;
-static int sprite_width, sprres, sprite_buffer_res;
+int sprite_width;
+static int sprres, sprite_buffer_res;
static uae_u32 bpl1dat, bpl2dat, bpl3dat, bpl4dat, bpl5dat, bpl6dat, bpl7dat, bpl8dat;
static uae_s16 bpl1mod, bpl2mod;
@@ -234,9 +235,9 @@
struct draw_info line_drawinfo[2][2 * (MAXVPOS + 1) + 1];
struct color_entry color_tables[2][(MAXVPOS + 1) * 2];
-static int next_sprite_entry = 0;
-static int prev_next_sprite_entry;
-static int next_sprite_forced = 1;
+int next_sprite_entry = 0;
+int prev_next_sprite_entry;
+int next_sprite_forced = 1;
struct sprite_entry *curr_sprite_entries, *prev_sprite_entries;
struct color_change *curr_color_changes, *prev_color_changes;
+30
View File
@@ -0,0 +1,30 @@
$NetBSD: patch-ae,v 1.1 2006/07/02 15:47:16 tron Exp $
--- src/cia.c.orig 2005-07-02 17:24:06.000000000 +0100
+++ src/cia.c 2006-07-02 16:29:42.000000000 +0100
@@ -46,18 +46,18 @@
static unsigned int clock_control_e = 0;
static unsigned int clock_control_f = RTC_F_24_12;
-static unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask;
-static unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb;
+unsigned int ciaaicr, ciaaimask, ciabicr, ciabimask;
+unsigned int ciaacra, ciaacrb, ciabcra, ciabcrb;
/* Values of the CIA timers. */
-static unsigned long ciaata, ciaatb, ciabta, ciabtb;
+unsigned long ciaata, ciaatb, ciabta, ciabtb;
/* Computed by compute_passed_time. */
-static unsigned long ciaata_passed, ciaatb_passed, ciabta_passed, ciabtb_passed;
+unsigned long ciaata_passed, ciaatb_passed, ciabta_passed, ciabtb_passed;
-static unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm;
-static int ciaatlatch, ciabtlatch;
+unsigned long ciaatod, ciabtod, ciaatol, ciabtol, ciaaalarm, ciabalarm;
+int ciaatlatch, ciabtlatch;
-static unsigned int ciabpra;
+unsigned int ciabpra;
unsigned int gui_ledstate;
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.1 2006/07/02 15:47:16 tron Exp $
--- src/autoconf.c.orig 2004-10-10 16:53:32.000000000 +0100
+++ src/autoconf.c 2006-07-02 16:31:19.000000000 +0100
@@ -218,7 +218,7 @@
/* ROM tag area memory access */
-static uae_u8 *rtarea;
+uae_u8 *rtarea;
static uae_u32 rtarea_lget (uaecptr) REGPARAM;
static uae_u32 rtarea_wget (uaecptr) REGPARAM;
+24
View File
@@ -0,0 +1,24 @@
$NetBSD: patch-ag,v 1.1 2006/07/02 15:47:16 tron Exp $
--- src/inputdevice.c.orig 2005-07-02 17:23:50.000000000 +0100
+++ src/inputdevice.c 2006-07-02 16:33:10.000000000 +0100
@@ -511,8 +511,8 @@
/* Mousehack stuff */
-static int ievent_alive = 0;
-static int lastmx, lastmy;
+int ievent_alive = 0;
+int lastmx, lastmy;
int mousehack_alive (void)
{
@@ -1739,7 +1739,7 @@
return 0;
}
-static struct inputdevice_functions idev[3];
+struct inputdevice_functions idev[3];
void inputdevice_init (void)
{
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-ah,v 1.1 2006/10/18 23:38:59 wiz Exp $
--- src/install_libscg.orig 2000-07-23 14:32:04.000000000 +0000
+++ src/install_libscg
@@ -9,7 +9,7 @@
#
# check arguments
#
-if [ $# -lt 1 ] || [ $# -gt 3 ] || [ "$1" == "--help" ]; then
+if [ $# -lt 1 ] || [ $# -gt 3 ] || [ "$1" = "--help" ]; then
echo "usage: $0 <cdrecord dir> <machine type (optional)>"
exit 0
fi
@@ -31,7 +31,7 @@ else
echo "please specify your machine type - libscg was compiled for:"
echo "$machine"
exit 10
- elif [ "$machine"x == x ]; then
+ elif [ "$machine"x = x ]; then
echo "please compile cdrecord for your machine first"
exit 10
fi
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ai,v 1.1 2007/04/04 17:36:17 joerg Exp $
--- src/tui.c.orig 2007-04-04 16:43:34.000000000 +0000
+++ src/tui.c
@@ -684,7 +684,7 @@ static int do_gui (int mode)
case 0: DiskOptions (); break;
case 1: OtherOptions (); break;
case 2: save_settings (); break;
- case 3: uae_reset (); break;
+ case 3: uae_reset (1); break;
case 4: uae_quit (); break;
}
}
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aj,v 1.1 2007/04/04 17:36:17 joerg Exp $
--- src/ncurses.c.orig 2007-04-04 16:37:10.000000000 +0000
+++ src/ncurses.c
@@ -596,7 +596,7 @@ void handle_events(void)
if (ch == 16) --lastmy; /* ^P */
if (ch == 11) {buttonstate[0] = keydelay;ch = 0;} /* ^K */
if (ch == 25) {buttonstate[2] = keydelay;ch = 0;} /* ^Y */
- if (ch == 15) uae_reset (); /* ^O */
+ if (ch == 15) uae_reset (1); /* ^O */
if (ch == 17) uae_quit (); /* ^Q */
if (ch == KEY_F(1)) {
curses_insert_disk();