diff options
author | Juergen Lock <nox@FreeBSD.org> | 2007-03-10 17:15:07 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2007-03-10 17:15:07 +0000 |
commit | 7584f8ab5c4ac41dc318320ac77642950f093e98 (patch) | |
tree | 7e78d703404ffc2fdb27784afe9c4260bcbfef96 /emulators | |
parent | db495b5554d251b4675c9cdcc24521f3c2948596 (diff) |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu-devel/Makefile | 15 | ||||
-rw-r--r-- | emulators/qemu-devel/distinfo | 9 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-Makefile | 12 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-bd | 18 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-fbsd | 10 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-vl.c | 8 | ||||
-rw-r--r-- | emulators/qemu-devel/files/patch-vl.c-nographic | 4 |
7 files changed, 37 insertions, 39 deletions
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index 49edba1caaa2..1c6c72b148ce 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -6,24 +6,25 @@ # PORTNAME= qemu -PORTVERSION= 0.9.0 +PORTVERSION= 0.9.0s.20070309 CATEGORIES= emulators MASTER_SITES= http://qemu.org/:release \ http://qemu-forum.ipi.fi/qemu-snapshots/:snapshot \ http://people.fruitsalad.org/nox/qemu/:snapshot \ http://www.volny.cz/xnavara/qemu/:snapshot \ http://people.brandeis.edu/~jcoiner/qemu_idedma/:idedma \ - http://people.freebsd.org/~maho/qemu/:misc \ - http://people.freebsd.org/~jkim/:bios -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release \ - qemu-bios.bin:bios + http://people.freebsd.org/~maho/qemu/:misc +DISTNAME= ${PORTNAME}-snapshot-2007-03-09_05 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:snapshot DIST_SUBDIR= qemu EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +PKGNAMESUFFIX= -devel MAINTAINER= nox@FreeBSD.org -COMMENT= QEMU CPU Emulator +COMMENT= QEMU CPU Emulator - development snapshot HAS_CONFIGURE= yes +USE_BZIP2= yes USE_GMAKE= yes USE_GETOPT_LONG= yes USE_PERL5= yes @@ -33,6 +34,7 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} MAKE_ENV+= BSD_MAKE="${MAKE}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" MAN1= qemu.1 qemu-img.1 ONLY_FOR_ARCHS= amd64 i386 +CONFLICTS= qemu-[0-9]* OPTIONS= KQEMU "Build with (alpha!) accelerator module" Off \ HACKS_CIRRUS "Large display speedup (buggy!)" Off \ @@ -80,7 +82,6 @@ post-extract: @${MKDIR} ${WRKSRC}/kqemu @${TOUCH} ${WRKSRC}/kqemu/Makefile @${ECHO} all: > ${WRKSRC}/kqemu/Makefile.freebsd - @${CP} -p ${_DISTDIR}/qemu-bios.bin ${WRKSRC}/pc-bios/bios.bin pre-patch: @for A in ${ONLY_FOR_ARCHS}; do \ diff --git a/emulators/qemu-devel/distinfo b/emulators/qemu-devel/distinfo index c0f25c774916..20a397b7cab3 100644 --- a/emulators/qemu-devel/distinfo +++ b/emulators/qemu-devel/distinfo @@ -1,9 +1,6 @@ -MD5 (qemu/qemu-0.9.0.tar.gz) = ab11a03ba30cf4a70641f0f170473d69 -SHA256 (qemu/qemu-0.9.0.tar.gz) = 491facf9335654967ee53d8fb3540a274bfcbdcc225506bd38c4ee8e9ab405c1 -SIZE (qemu/qemu-0.9.0.tar.gz) = 1901741 -MD5 (qemu/qemu-bios.bin) = 173e256f17b4ac1f6e3249c83071e8f5 -SHA256 (qemu/qemu-bios.bin) = 452d863ec8ac9e2246950ac204410e847cdeba880d7bec2aeb79c4f2fbb0ad17 -SIZE (qemu/qemu-bios.bin) = 131072 +MD5 (qemu/qemu-snapshot-2007-03-09_05.tar.bz2) = e3899581b8628a6eeb1ba33e18aab632 +SHA256 (qemu/qemu-snapshot-2007-03-09_05.tar.bz2) = bb8cf3e70492fce405074436a3001f06e6193d58c313862b4c5d165c2beace74 +SIZE (qemu/qemu-snapshot-2007-03-09_05.tar.bz2) = 1667747 MD5 (qemu/patch3_cirrus) = ebe7ed9fce804c49e024bc93bfdfc810 SHA256 (qemu/patch3_cirrus) = e862371834b7d895a896fbdb84fd9f70d17b5729a6f6789a48a61504fc941e11 SIZE (qemu/patch3_cirrus) = 8817 diff --git a/emulators/qemu-devel/files/patch-Makefile b/emulators/qemu-devel/files/patch-Makefile index 58defdea2eac..1dc9c0b94f2d 100644 --- a/emulators/qemu-devel/files/patch-Makefile +++ b/emulators/qemu-devel/files/patch-Makefile @@ -1,6 +1,6 @@ Index: qemu/Makefile -@@ -20,6 +20,10 @@ - LDFLAGS+=-static +@@ -19,14 +19,19 @@ + BASE_LDFLAGS += -static endif ifdef BUILD_DOCS +ifdef NOPORTDOCS @@ -10,17 +10,17 @@ Index: qemu/Makefile +endif else DOCS= -@@ -28,7 +28,8 @@ + endif + ifndef CONFIG_DARWIN ifndef CONFIG_WIN32 - ifndef CONFIG_SOLARIS -LIBS+=-lrt +# XXX need ifndef CONFIG_BSD +# LIBS+=-lrt endif endif - endif -@@ -72,8 +75,10 @@ + +@@ -64,8 +69,10 @@ common de-ch es fo fr-ca hu ja mk nl-be pt sl tr install-doc: $(DOCS) diff --git a/emulators/qemu-devel/files/patch-bd b/emulators/qemu-devel/files/patch-bd index 3f85d63c03a1..b8b49a136432 100644 --- a/emulators/qemu-devel/files/patch-bd +++ b/emulators/qemu-devel/files/patch-bd @@ -1,10 +1,10 @@ Index: qemu/configure -@@ -286,7 +286,7 @@ - if test -z "$prefix" ; then - prefix="/usr/local" - fi --mandir="$prefix/share/man" -+mandir="$prefix/man" - datadir="$prefix/share/qemu" - docdir="$prefix/share/doc/qemu" - bindir="$prefix/bin" +@@ -570,7 +570,7 @@ + if test -z "$prefix" ; then + prefix="/usr/local" + fi +- mansuffix="/share/man" ++ mansuffix="/man" + datasuffix="/share/qemu" + docsuffix="/share/doc/qemu" + binsuffix="/bin" diff --git a/emulators/qemu-devel/files/patch-fbsd b/emulators/qemu-devel/files/patch-fbsd index 7195d62837b8..1fccf8b7cfe7 100644 --- a/emulators/qemu-devel/files/patch-fbsd +++ b/emulators/qemu-devel/files/patch-fbsd @@ -20,17 +20,17 @@ Index: qemu/Makefile rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS *.pod *~ */*~ $(MAKE) -C tests clean Index: qemu/Makefile.target -@@ -391,8 +391,8 @@ - VL_LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld +@@ -465,8 +465,8 @@ + SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole endif -$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a -- $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS) +- $(CC) $(VL_LDFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS) +$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a ../bsd/libmath.a -+ $(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS) ../bsd/libmath.a ++ $(CC) $(VL_LDFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS) ../bsd/libmath.a cocoa.o: cocoa.m - $(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< + $(CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -c -o $@ $< Index: qemu/fpu/softfloat-native.c @@ -2,11 +2,16 @@ context is supported */ diff --git a/emulators/qemu-devel/files/patch-vl.c b/emulators/qemu-devel/files/patch-vl.c index 437dafe471b2..44c3c64cb468 100644 --- a/emulators/qemu-devel/files/patch-vl.c +++ b/emulators/qemu-devel/files/patch-vl.c @@ -8,14 +8,14 @@ Index: qemu/vl.c static CharDriverState *qemu_chr_open_pty(void) { struct termios tty; -@@ -1665,6 +1665,7 @@ +@@ -1904,6 +1907,7 @@ return chr; } +#if defined(__linux__) - static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) - { - int fd = (int)chr->opaque; + typedef struct { + int fd; + int mode; @@ -1727,6 +1728,7 @@ chr->chr_ioctl = pp_ioctl; return chr; diff --git a/emulators/qemu-devel/files/patch-vl.c-nographic b/emulators/qemu-devel/files/patch-vl.c-nographic index be2f002c4920..eafbd45705af 100644 --- a/emulators/qemu-devel/files/patch-vl.c-nographic +++ b/emulators/qemu-devel/files/patch-vl.c-nographic @@ -1,8 +1,8 @@ Index: qemu/vl.c -@@ -4668,6 +4668,7 @@ +@@ -7131,6 +7131,7 @@ case QEMU_OPTION_nographic: - pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); pstrcpy(serial_devices[0], sizeof(serial_devices[0]), "stdio"); + pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); + pstrcpy(parallel_devices[0], sizeof(parallel_devices[0]), "null"); nographic = 1; break; |