diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-23 10:03:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-25 10:04:49 +0000 |
commit | d6030c90385b3ae512d508279c9f5a4cc5fa3cdb (patch) | |
tree | 6ad08bbaa7b35c1c48c36d83aa6e08436f48bb86 /main/qemu/APKBUILD | |
parent | cbcb5fe127fec41c7623360c03fc78df445c3a54 (diff) | |
download | aports-d6030c90385b3ae512d508279c9f5a4cc5fa3cdb.tar.bz2 aports-d6030c90385b3ae512d508279c9f5a4cc5fa3cdb.tar.xz |
main/qemu: musl build fix
Diffstat (limited to 'main/qemu/APKBUILD')
-rw-r--r-- | main/qemu/APKBUILD | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/main/qemu/APKBUILD b/main/qemu/APKBUILD index f2cc5c106..bcc816fe2 100644 --- a/main/qemu/APKBUILD +++ b/main/qemu/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=qemu pkgver=1.7.0 -pkgrel=0 +pkgrel=1 pkgdesc="QEMU is a generic machine emulator and virtualizer" url="http://qemu.org/" arch="all" @@ -72,6 +72,11 @@ $pkgname-guest-agent:guest " source="http://wiki.qemu-project.org/download/qemu-$pkgver.tar.bz2 0001-elfload-load-PIE-executables-to-right-address.patch + qemu-170-ffsl.patch + qemu-170-ffsll.patch + qemu-170-openpty.patch + qemu-170-sigset_t.patch + qemu-guest-agent.confd qemu-guest-agent.initd 80-kvm.rules" @@ -97,6 +102,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver + if [ "x$CLIBC" = "xmusl" ]; then + CFLAGS="$CFLAGS -D_GNU_SOURCE -Dflock64=flock" + CFLAGS="$CFLAGS -DF_EXLCK=4 -DF_SHLCK=8" + CFLAGS="$CFLAGS -D__SIGRTMIN=32 -D__SIGRTMAX=\(NSIG-1\)" + fi ./configure \ --prefix=/usr \ --localstatedir=/var \ @@ -227,16 +237,28 @@ guest() { md5sums="32893941d40d052a5e649efcf06aca06 qemu-1.7.0.tar.bz2 672727bb1d8c8ab7b5def65dd1793c33 0001-elfload-load-PIE-executables-to-right-address.patch +a51a526312535019de143f2e6a54e3ce qemu-170-ffsl.patch +78f4d1b13ddee47887b6d59378e8e44e qemu-170-ffsll.patch +6589d3ba6975d245feefa0ad436eed76 qemu-170-openpty.patch +f5e8ee9c5cd1ebc37194f3c151f420a8 qemu-170-sigset_t.patch 1663bc6977f6886a58394155b1bf3676 qemu-guest-agent.confd 2035cd781ea810e94bda250c609d8d90 qemu-guest-agent.initd 66660f143235201249dc0648b39b86ee 80-kvm.rules" sha256sums="31f333a85f2d14c605a77679904a9668eaeb1b6dc7da53a1665230f46bc21314 qemu-1.7.0.tar.bz2 af35304b165622a53f7557b59ffd8da5030f5fd444e669c862f9410131f3b987 0001-elfload-load-PIE-executables-to-right-address.patch +63adefe8f34a6859e5f7a1e2de49538267c93955231ef0c4c2bfd6de919711e0 qemu-170-ffsl.patch +373ca5c783913645c6fc6c4c3b7740b0cc011aeed30bc8b848d5b26cf5d81070 qemu-170-ffsll.patch +6cffdccc3e270e7ab65701cc4e68692b577540f02763b14c66bf2225edb20f8b qemu-170-openpty.patch +fbc907e09c04110992a75bd4cc2f74fbc33e5b4a1cf0ebaa51c2a1dc4512ce5c qemu-170-sigset_t.patch d84e53a94584f37f3bd1b21f44077b5de0d07094c6729f26ae20ab1f7b9cc298 qemu-guest-agent.confd 982fa8ba67c728405305e4cf5a36a41a780b3d1f388ebd6377e7964c271a1c92 qemu-guest-agent.initd 37f666f1cdb7d8a62171de69b531681dcb0fba74236729dac8b6c019232eba84 80-kvm.rules" sha512sums="6ee52444b93fc2953e8080383cc0cdc618a826ddd5252bf5f6faf27d91699a414924d6015d27ea12ce1cc21e135acbc8dde595c84a4ce1e0c7173f0446f867eb qemu-1.7.0.tar.bz2 405008589cad1c8b609eca004d520bf944366e8525f85a19fc6e283c95b84b6c2429822ba064675823ab69f1406a57377266a65021623d1cd581e7db000134fd 0001-elfload-load-PIE-executables-to-right-address.patch +13ac2ba2835764ad97d55dc62313a4626a4e4e12a5f932d26b8579101bd875411faf9ffd5642c94e7b8da7d41b5ca48507c3a08ce4d087b8306110e23206877e qemu-170-ffsl.patch +80168f5eadb518dbae8277cc2ff78cc494783e2180dfbf78d7b5c068c3efecd0bbb3d61dfb0079e365c632c1a80b82d6955de9718ff0b8e8613a52407bd5a2af qemu-170-ffsll.patch +b2cbb121c8ac85ee0aff835ecff59e2b4e886ddb9c5084286eaf735b5a3868043dad36e5e2289b6e6505bca4cfe971c9a35109a3638357d4b5b10168f921c984 qemu-170-openpty.patch +d867db00b0ac83c8dabd45c9ef0f07559f1f2045f3a4b7fd507a1ee276325e693f772b22511e2d5e1fce866de0ef4cd9da057119cfc39b905471a8995b36619e qemu-170-sigset_t.patch d90c034cae3f9097466854ed1a9f32ab4b02089fcdf7320e8f4da13b2b1ff65067233f48809911485e4431d7ec1a22448b934121bc9522a2dc489009e87e2b1f qemu-guest-agent.confd 761b4e2397569dae45ae3bb9e46e28746275297f629af9e9065525497fd26a48b65d8abcf4282727afd35309e338967acf6a1b14c3169577bdc16c1f42e618b3 qemu-guest-agent.initd 9b7a89b20fcf737832cb7b4d5dc7d8301dd88169cbe5339eda69fbb51c2e537d8cb9ec7cf37600899e734209e63410d50d0821bce97e401421db39c294d97be2 80-kvm.rules" |