system/qemu-legacy: Patched to fix a couple of build errors

However, this still won't build:

/tmp/SBo/qemu-0.11.1/linux-user/signal.c:3282:24: error: field ‘info’ has incomplete type
         struct siginfo info;
                        ^
make[1]: *** [signal.o] Error 1
make: *** [subdir-cris-linux-user] Error 2

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2013-11-15 21:03:42 -06:00
parent b8e9594ef5
commit 5d034b3ed7
4 changed files with 29 additions and 8 deletions

View file

@ -3,6 +3,5 @@ qemu (open source processor emulator)
QEMU is a generic and open source processor emulator which achieves
a good emulation speed by using dynamic translation.
This SlackBuild builds qemu-0.11.1 which was the last version to
support the kqemu kernel module (also available here). It is for
people with hardware that doesn't support virtualisation.
This SlackBuild builds qemu-0.11.1 which is for people with hardware
that doesn't support virtualisation.

View file

@ -73,11 +73,18 @@ find . \
# For some reason it doesn't find SDL.h
CFLAGS="$SLKCFLAGS -I/usr/include/SDL" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS+="-lrt" \
./configure \
--prefix=/usr \
--enable-system \
--audio-drv-list=oss,alsa,sdl,esd
# This make invocation *will* fail due to the qemu.pod issue below
make 2>/dev/null || true
# Fix for newer pod2man
cat $CWD/qemu.pod.append >> qemu.pod
make
make install DESTDIR=$PKG

View file

@ -0,0 +1,15 @@
_END_
=head1 NAME
qemu-legacy
=head1 SYNOPSIS
Old version of qemu
=head1 DESCRIPTION
This is an old (pre-kvm) version of qemu.

View file

@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
qemu-legacy: qemu-legacy (open source processor emulator)