summaryrefslogtreecommitdiff
path: root/system/qemu-legacy/qemu-legacy.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-15 21:03:42 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 13:57:35 -0600
commit5d034b3ed7a3c221296cf5b53386867a3f4a2d86 (patch)
treeca5196f6ecf09cc4acf168b6c2edc9ce2f4216c8 /system/qemu-legacy/qemu-legacy.SlackBuild
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/qemu-legacy/qemu-legacy.SlackBuild')
-rw-r--r--system/qemu-legacy/qemu-legacy.SlackBuild7
1 files changed, 7 insertions, 0 deletions
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