[arch-commits] Commit in lib32-glib2/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Oct 17 07:27:54 UTC 2015


    Date: Saturday, October 17, 2015 @ 09:27:54
  Author: fyan
Revision: 144264

upgpkg: lib32-glib2 2.46.1-1

sync with [testing]

Modified:
  lib32-glib2/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-17 07:21:44 UTC (rev 144263)
+++ PKGBUILD	2015-10-17 07:27:54 UTC (rev 144264)
@@ -5,7 +5,7 @@
 
 _pkgbasename=glib2
 pkgname=lib32-$_pkgbasename
-pkgver=2.46.0
+pkgver=2.46.1
 pkgrel=1
 pkgdesc="Common C routines used by GTK+ 2.4 and other libs (32-bit)"
 url="http://www.gtk.org/"
@@ -16,7 +16,7 @@
 options=('!docs')
 source=("http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz"
         'revert-warn-glib-compile-schemas.patch')
-sha256sums=('b1cee83469ae7d80f17c267c37f090414e93960bd62d2b254a5a96fbc5baacb4'
+sha256sums=('5a1f03b952ebc3a7e9f612b8724f70898183e31503db329b4f15d07163c8fdfb'
             '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
 
 prepare() {
@@ -29,6 +29,11 @@
   export CXX="g++ -m32"
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
 
+  ## Prevent runtime unloading of glib
+  # https://bugs.archlinux.org/task/46619
+  # https://bugzilla.gnome.org/show_bug.cgi?id=755609
+  LDFLAGS+=" -Wl,-z,nodelete"
+
   cd "${srcdir}/glib-${pkgver}"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
       --libdir=/usr/lib32 --with-pcre=system --disable-fam



More information about the arch-commits mailing list