aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-02 18:35:39 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-02 18:35:39 +0000
commit1f624fb2ca33f4bede84aed31fec98932e18e9f5 (patch)
tree80b8194b34207c49878ff252ed692b16d5721b90
parent3fc0e1d57b15a8c6c652f215450c810a3c43601b (diff)
downloadaports-1f624fb2ca33f4bede84aed31fec98932e18e9f5.tar.bz2
aports-1f624fb2ca33f4bede84aed31fec98932e18e9f5.tar.xz
main/vte: fix musl build
-rw-r--r--main/vte/APKBUILD14
-rw-r--r--main/vte/fix-includes.patch10
2 files changed, 20 insertions, 4 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index 135f9a0084..4ec5d50b5e 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -10,7 +10,9 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
makedepends="pkgconfig gtk+-dev intltool python ncurses-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
- allow_alt_in_terminal.patch"
+ allow_alt_in_terminal.patch
+ fix-includes.patch
+ "
depends_dev="glib-dev pango-dev gtk+-dev"
prepare() {
@@ -24,6 +26,7 @@ prepare() {
esac
done
}
+
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure \
@@ -45,8 +48,11 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
md5sums="f07a4bf943194f94b7f142db8f7f36dc vte-0.28.2.tar.bz2
-6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch"
+6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch
+4872d596fb461f11e9aa753f5a65dd08 fix-includes.patch"
sha256sums="8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903 vte-0.28.2.tar.bz2
-6e4488f9a60f52a2a7eeb09865bdc42f00c309eb4cf8d548b524b9c33fadcd8a allow_alt_in_terminal.patch"
+6e4488f9a60f52a2a7eeb09865bdc42f00c309eb4cf8d548b524b9c33fadcd8a allow_alt_in_terminal.patch
+bb8bfcb6d88f40dba0025e9ec95f579219db7e80654371a1c926fa39a38134b2 fix-includes.patch"
sha512sums="271aecbc0444c424afb70d81838d0f6f49957a3b74d3952c0b97fadacfe359eab989abae03b9b64a8b598abdb189db00ee534254d8044e496906c51947d314d1 vte-0.28.2.tar.bz2
-a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch"
+a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch
+bf8174189fe842d171c04633ce1f8b920f3a515108db48bfe1fff7e537960a88f7439a55b283b6ade6ebfe78ab8ff2473f3be2d062dc00aa74b93a13624b4d3c fix-includes.patch"
diff --git a/main/vte/fix-includes.patch b/main/vte/fix-includes.patch
new file mode 100644
index 0000000000..3ca3983dff
--- /dev/null
+++ b/main/vte/fix-includes.patch
@@ -0,0 +1,10 @@
+--- vte-0.28.2.orig/src/pty.c
++++ vte-0.28.2/src/pty.c
+@@ -28,6 +28,7 @@
+ * Since: 0.26
+ */
+
++#define _GNU_SOURCE
+ #include <config.h>
+
+ #include "vtepty.h"