summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dewender2016-05-08 15:55:52 +0200
committerJohannes Dewender2016-05-08 16:01:51 +0200
commit39373f2a874614b5d64c2b2774a42f57e93ed7c6 (patch)
tree63703c138ff95d265bf7f3f0ccc46275bd495df6
parent27e060e014a05df5eded029db16687ea5c744cd0 (diff)
downloadaur-39373f2a874614b5d64c2b2774a42f57e93ed7c6.tar.gz
fix glib 32 bit problem
We force using the correct pkgconfig. This was broken (with glib 2.48?) with the message: /usr/include/glib-2.0/glib/gtypes.h: In function '_GLIB_CHECKED_ADD_U64': /usr/include/glib-2.0/glib/gmacros.h:217:53: error: size of array '_GStaticAssertCompileTimeAssertion_0' is negative
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD1
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fee5983e5e6..6e3948f71a3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Sun May 8 14:01:51 UTC 2016
pkgbase = lib32-libass
pkgdesc = A portable library for SSA/ASS subtitles rendering (32 bit)
pkgver = 0.12.2
diff --git a/PKGBUILD b/PKGBUILD
index c8a6aec0b45..b89576834ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,7 @@ source=("${url}/releases/download/${pkgver}/${_pkgbase}-${pkgver}.tar.xz")
md5sums=('d4b78e6a0794a9d386ece5cd08eb2d3e')
build() {
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
export CC='gcc -m32'
cd "$srcdir/${_pkgbase}-${pkgver}"
./configure --prefix=/usr --libdir=/usr/lib32 --host=i686-linux-gnu \