From 5d034b3ed7a3c221296cf5b53386867a3f4a2d86 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 15 Nov 2013 21:03:42 -0600 Subject: system/qemu-legacy: Patched to fix a couple of build errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- system/qemu-legacy/README | 5 ++--- system/qemu-legacy/qemu-legacy.SlackBuild | 7 +++++++ system/qemu-legacy/qemu.pod.append | 15 +++++++++++++++ system/qemu-legacy/slack-desc | 10 +++++----- 4 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 system/qemu-legacy/qemu.pod.append diff --git a/system/qemu-legacy/README b/system/qemu-legacy/README index 5e7a333cb8..823d2cb503 100644 --- a/system/qemu-legacy/README +++ b/system/qemu-legacy/README @@ -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. diff --git a/system/qemu-legacy/qemu-legacy.SlackBuild b/system/qemu-legacy/qemu-legacy.SlackBuild index 0c63c16367..720be0bb1a 100644 --- a/system/qemu-legacy/qemu-legacy.SlackBuild +++ b/system/qemu-legacy/qemu-legacy.SlackBuild @@ -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 diff --git a/system/qemu-legacy/qemu.pod.append b/system/qemu-legacy/qemu.pod.append new file mode 100644 index 0000000000..b77816e992 --- /dev/null +++ b/system/qemu-legacy/qemu.pod.append @@ -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. + diff --git a/system/qemu-legacy/slack-desc b/system/qemu-legacy/slack-desc index fdca1416de..617a2892ca 100644 --- a/system/qemu-legacy/slack-desc +++ b/system/qemu-legacy/slack-desc @@ -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) -- cgit v1.2.3