Retire xcopilot. Discussed with naddy@ and sthen@

This commit is contained in:
matthieu
2026-06-13 10:16:55 +00:00
parent 6e67354a43
commit 5a3513c0df
10 changed files with 0 additions and 111 deletions
-16
View File
@@ -1,16 +0,0 @@
COMMENT= emulator for US Robotics Pilot PDA
DISTNAME= xcopilot-0.6.6
REVISION= 3
CATEGORIES= emulators
# GPL
PERMIT_PACKAGE= Yes
WANTLIB= ICE SM X11 Xext Xpm Xt c xcb
SITES= http://xcopilot.cuspy.com/build/
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>
-2
View File
@@ -1,2 +0,0 @@
SHA256 (xcopilot-0.6.6.tar.gz) = 8Aa0QdJPNUfig80pI+/eca5q8Ef4d3gQRgsBljRWt6E=
SIZE (xcopilot-0.6.6.tar.gz) = 343264
@@ -1,11 +0,0 @@
--- Makefile.in.orig Tue Aug 25 16:56:23 1998
+++ Makefile.in Sat May 22 15:19:37 2010
@@ -92,7 +92,7 @@ xcopilot_OBJECTS = cmap_mgr.o fakecall.o optutil.o pi
xcopilot.o display.o main.o pdebug.o ser-tcp.o open_app.o
xcopilot_DEPENDENCIES = mc68k/libmc68k.a mx/libmx.a
xcopilot_LDFLAGS =
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ $(X_CFLAGS)
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
man1dir = $(mandir)/man1
@@ -1,19 +0,0 @@
--- config.h.in.orig Sun May 23 19:35:20 2010
+++ config.h.in Sun May 23 19:35:30 2010
@@ -68,15 +68,4 @@
/* Define if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
-/* AIX requires this to be the first thing in the file. */
-#if HAVE_ALLOCA_H
-# include <alloca.h>
-#else
-# ifdef _AIX
- #pragma alloca
-# else
-# ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
-# endif
-# endif
-#endif
+#include <stdlib.h>
@@ -1,10 +0,0 @@
--- mc68k/custom.h.orig Sun May 23 19:32:14 2010
+++ mc68k/custom.h Sun May 23 19:32:20 2010
@@ -43,7 +43,6 @@ extern void dumpcustom(void);
extern void do_cycles(int longtime);
extern int do_api(int api);
-extern unsigned long cycles;
extern unsigned long specialflags;
#define SPCFLAG_STOP 2
@@ -1,28 +0,0 @@
--- mc68k/memory.c.orig Sun May 23 19:36:04 2010
+++ mc68k/memory.c Sun May 23 19:37:33 2010
@@ -340,6 +340,7 @@ UWORD *rom_xlate(CPTR addr)
static int
verify_entrypoint(const void *rom)
{
+ char *rp = rom;
const unsigned char _bootsign[] = { 0x4e, 0xfa, 0x00, 0x00, 'b', 'o', 'o', 't',
0x27, 0x10, 0xff };
const unsigned char _bootmask[] = { 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff,
@@ -348,7 +349,7 @@ verify_entrypoint(const void *rom)
const unsigned char *bootsign = _bootsign, *bootmask = _bootmask;
while ((*bootsign & *bootmask) == *bootsign)
- if ((*((char *)rom)++ & *bootmask++) != *bootsign++)
+ if ((*(rp)++ & *bootmask++) != *bootsign++)
return 0;
return 1;
@@ -446,7 +447,7 @@ static int load_rom(const char *dir, const char *romfi
return PILOTCPU_ERROR_LOADING_ROM;
memcpy(((char *)rommemory) - offset, rommemory, 256);
- ((char *)rommemory) -= offset;
+ rommemory = (char *)rommemory - offset;
}
}
}
@@ -1,11 +0,0 @@
--- mx/Makefile.in.orig Tue Aug 25 08:56:27 1998
+++ mx/Makefile.in Sun Jun 3 12:55:01 2001
@@ -101,7 +101,7 @@ test_menu_LDFLAGS =
test_filesel_OBJECTS = test_filesel.o
test_filesel_DEPENDENCIES = libmx.a
test_filesel_LDFLAGS =
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ $(X_CFLAGS)
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = Makefile.am Makefile.in
@@ -1,10 +0,0 @@
--- xcopilot.c.orig 1998-08-25 01:53:31.000000000 -0300
+++ xcopilot.c 2003-10-06 14:58:33.000000000 -0300
@@ -112,6 +112,7 @@ int main(int argc, char *argv[])
XtGetApplicationResources(pilot.topWidget, &pilot, resources, XtNumber(ros),
NULL, 0);
+ pilot.threads = 0;
if (pilot.DoublePixels)
pilot.MagFactor = 2;
-2
View File
@@ -1,2 +0,0 @@
xcopilot is an emulator for the popular Pilot PDA. You have to obtain
a "pilot.rom" file separately (see the README) for this to work.
-2
View File
@@ -1,2 +0,0 @@
bin/xcopilot
@man man/man1/xcopilot.1