summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Robby Workman2013-11-16 04:03:42 +0100
committer Robby Workman2013-11-16 20:57:35 +0100
commit5d034b3ed7a3c221296cf5b53386867a3f4a2d86 (patch)
treeca5196f6ecf09cc4acf168b6c2edc9ce2f4216c8 /system
parentb8e9594ef5430f196ef1a185b2857b2057b25250 (diff)
downloadslackbuilds-5d034b3ed7a3c221296cf5b53386867a3f4a2d86.tar.gz
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>
Diffstat (limited to 'system')
-rw-r--r--system/qemu-legacy/README5
-rw-r--r--system/qemu-legacy/qemu-legacy.SlackBuild7
-rw-r--r--system/qemu-legacy/qemu.pod.append15
-rw-r--r--system/qemu-legacy/slack-desc10
4 files changed, 29 insertions, 8 deletions
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)