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

Alexander Rødseth arodseth at archlinux.org
Wed Apr 22 13:45:16 UTC 2015


    Date: Wednesday, April 22, 2015 @ 15:45:15
  Author: arodseth
Revision: 131952

upgpkg: bomberclone 0.11.9-4

Modified:
  bomberclone/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-22 13:34:30 UTC (rev 131951)
+++ PKGBUILD	2015-04-22 13:45:15 UTC (rev 131952)
@@ -1,5 +1,6 @@
 # $Id$
 # Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: duck <duck at vmail.me>
 # Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
 # Contributor: arjan <arjan at archlinux.org>
 # Contributor: Aurelien Foret <orelien at chez.com>
@@ -6,17 +7,19 @@
 
 pkgname=bomberclone
 pkgver=0.11.9
-pkgrel=3
+pkgrel=4
 pkgdesc='Clone of the game AtomicBomberMan'
 arch=('x86_64' 'i686')
-url="http://www.bomberclone.de/"
+url='http://www.bomberclone.de/'
 license=('GPL')
 depends=('sdl_mixer' 'sdl_image')
 makedepends=('gendesk')
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
-        'bomberclone-0.11.9-build-fix.patch')
+        'bomberclone-0.11.9-build-fix.patch'
+        'http://sourceforge.net/p/bomberclone/patches/9/attachment/snprintf.diff')
 sha256sums=('71eb2788f95c136fd3eecaee15d05a80dea07221b5b3530dc869e433e02ff68d'
-            'ee8bbff24f261951379ca55c510df04deb5a0fd17c2c3149b63bbcaf1cfb0549')
+            'ee8bbff24f261951379ca55c510df04deb5a0fd17c2c3149b63bbcaf1cfb0549'
+            '3df79e4c87f94d3a2065583fd92a5129e57f35bfb949c92870ed32968acfe54e')
 
 prepare() {
   gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'BomberClone'
@@ -28,6 +31,9 @@
   # add build fix extracted from upstream CVS (fixes FS#26942)
   patch -p0 -i ../bomberclone-0.11.9-build-fix.patch
 
+  # buffer overflow patch, ref FS#44387
+  patch -p0 -i ../snprintf.diff
+
   ./configure --prefix=/usr
   make CFLAGS="-lm -O2 `pkg-config sdl --cflags` $CFLAGS"
 }



More information about the arch-commits mailing list