[arch-commits] Commit in glade/trunk (PKGBUILD warnfix.patch)

Jan de Groot jgc at nymeria.archlinux.org
Tue Mar 25 09:58:31 UTC 2014


    Date: Tuesday, March 25, 2014 @ 10:58:31
  Author: jgc
Revision: 208705

upgpkg: glade 3.18.0-1

Added:
  glade/trunk/warnfix.patch
Modified:
  glade/trunk/PKGBUILD

---------------+
 PKGBUILD      |   10 ++++++++--
 warnfix.patch |   11 +++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-25 09:42:44 UTC (rev 208704)
+++ PKGBUILD	2014-03-25 09:58:31 UTC (rev 208705)
@@ -13,9 +13,15 @@
             'devhelp: help browser')
 url="http://glade.gnome.org/"
 install=glade.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('ab95d910c148e82a9c0bf18e44a68924b739c5a4d2d998d922cef11b3e3c6a73')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+        warnfix.patch)
+sha256sums=('ab95d910c148e82a9c0bf18e44a68924b739c5a4d2d998d922cef11b3e3c6a73'
+            '1669b935e9608ea6be515bd3840394b79f1046b47343f8fbc7ef359481f31f6f')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  patch -Np0 -i ../warnfix.patch
+}
 build() {
   cd "$pkgname-$pkgver"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \

Added: warnfix.patch
===================================================================
--- warnfix.patch	                        (rev 0)
+++ warnfix.patch	2014-03-25 09:58:31 UTC (rev 208705)
@@ -0,0 +1,11 @@
+--- src/glade-http.c.orig	2014-03-25 09:22:52.235399882 +0000
++++ src/glade-http.c	2014-03-25 09:23:24.131855225 +0000
+@@ -185,7 +185,7 @@
+ 
+   if (priv->data->len != count)
+     {
+-      g_warning ("priv->data_size = %ld, write = %ld", priv->data->len, count);
++      g_warning ("priv->data_size = %" G_GSIZE_FORMAT ", write = %" G_GSIZE_FORMAT, priv->data->len, count);
+       return;
+     }
+ 




More information about the arch-commits mailing list