[arch-commits] Commit in xscreensaver/trunk (2 files)

Eric Bélanger eric at archlinux.org
Tue Nov 18 18:55:57 UTC 2014


    Date: Tuesday, November 18, 2014 @ 19:55:57
  Author: eric
Revision: 226367

upgpkg: xscreensaver 5.31-1

Upstream update

Added:
  xscreensaver/trunk/xscreensaver-5.31-1001-binaryring.c-include-stdint.patch
Modified:
  xscreensaver/trunk/PKGBUILD

----------------------------------------------------------+
 PKGBUILD                                                 |   11 ++-
 xscreensaver-5.31-1001-binaryring.c-include-stdint.patch |   36 +++++++++++++
 2 files changed, 43 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-18 18:27:58 UTC (rev 226366)
+++ PKGBUILD	2014-11-18 18:55:57 UTC (rev 226367)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=xscreensaver
-pkgver=5.30
+pkgver=5.31
 pkgrel=1
 pkgdesc="Screen saver and locker for the X Window System"
 arch=('i686' 'x86_64')
@@ -13,14 +13,17 @@
 optdepends=('gdm: for login manager support')
 backup=('etc/pam.d/xscreensaver')
 source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
-        xscreensaver-add-electricsheep.diff LICENSE)
-sha1sums=('734e0861145ec67cb848348fc25ea29393dc4d95'
+        xscreensaver-add-electricsheep.diff LICENSE
+	xscreensaver-5.31-1001-binaryring.c-include-stdint.patch)
+sha1sums=('1b023a3b01f1f23aa136d13c37f79c0c01c3f1e6'
           'e8dc57b6471fb3867ee099304ac6bf628351cb98'
-          '3eedb8b91b13c29df9b1fe5cbb027e1470b802d2')
+          '3eedb8b91b13c29df9b1fe5cbb027e1470b802d2'
+          '5a91e707f6482a3349609e8016b7668e3cd53161')
 
 prepare() {
   cd ${pkgname}-${pkgver}
   patch -p0 -i "${srcdir}/xscreensaver-add-electricsheep.diff"
+  patch -p1 -i "${srcdir}/xscreensaver-5.31-1001-binaryring.c-include-stdint.patch"
 }
 
 build() {

Added: xscreensaver-5.31-1001-binaryring.c-include-stdint.patch
===================================================================
--- xscreensaver-5.31-1001-binaryring.c-include-stdint.patch	                        (rev 0)
+++ xscreensaver-5.31-1001-binaryring.c-include-stdint.patch	2014-11-18 18:55:57 UTC (rev 226367)
@@ -0,0 +1,36 @@
+From 3b9f847b4692d34f966af368a63d03887be11a79 Mon Sep 17 00:00:00 2001
+From: Mamoru TASAKA <mtasaka at fedoraproject.org>
+Date: Sun, 16 Nov 2014 16:55:48 +0900
+Subject: [PATCH] binaryring.c: include stdint
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+On Fedora 21, binaryring.c fails to compile as:
+
+../../hacks/binaryring.c:40:9: error: unknown type name ‘uint32_t’
+ typedef uint32_t pixel_t;
+         ^
+Makefile:542: recipe for target 'binaryring.o' failed
+
+Just include stdint.h for this type.
+---
+ hacks/binaryring.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/hacks/binaryring.c b/hacks/binaryring.c
+index 2432073..e3a58d9 100644
+--- a/hacks/binaryring.c
++++ b/hacks/binaryring.c
+@@ -27,6 +27,8 @@
+ #include "colors.h"
+ #include "hsv.h"
+ 
++#include <stdint.h>
++
+ #define ANTIALIAS   1
+ #define BLACK       0
+ #define WHITE       1
+-- 
+2.1.0
+


More information about the arch-commits mailing list