[arch-commits] Commit in rockdodger (4 files)

Eric Belanger eric at archlinux.org
Thu Aug 21 02:16:00 UTC 2008


    Date: Wednesday, August 20, 2008 @ 22:15:59
  Author: eric
Revision: 9944

added md5sums

Added:
  rockdodger/repos/extra-i686/rockdodger-0.6.0a-gcc41.patch
  rockdodger/trunk/rockdodger-0.6.0a-gcc41.patch
Modified:
  rockdodger/repos/extra-i686/PKGBUILD
  rockdodger/trunk/PKGBUILD

------------------------------------------------+
 repos/extra-i686/PKGBUILD                      |    4 +++-
 repos/extra-i686/rockdodger-0.6.0a-gcc41.patch |   18 ++++++++++++++++++
 trunk/PKGBUILD                                 |    5 ++++-
 trunk/rockdodger-0.6.0a-gcc41.patch            |   18 ++++++++++++++++++
 4 files changed, 43 insertions(+), 2 deletions(-)

Modified: repos/extra-i686/PKGBUILD
===================================================================
--- repos/extra-i686/PKGBUILD	2008-08-21 02:06:52 UTC (rev 9943)
+++ repos/extra-i686/PKGBUILD	2008-08-21 02:15:59 UTC (rev 9944)
@@ -7,7 +7,9 @@
 pkgrel=1
 pkgdesc="Space Rocks is a game - Dodge the space rocks, use your shields, fire your thrusters, cross your fingers, and kiss your ship goodbye"
 depends=('sdl' 'sdl_mixer' 'sdl_image')
-source=(http://dl.sourceforge.net/spacerocks/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/spacerocks/$pkgname-$pkgver.tar.gz rockdodger-0.6.0a-gcc41.patch)
+md5sums=('a82a564a6530e60e7f041f7d95c4cae8' 'c8b17a6ffaa12f1a116170437b4629c0')
+arch=('i686' 'x86_64')
 url="http://spacerocks.sourceforge.net/"
 
 build() {

Added: repos/extra-i686/rockdodger-0.6.0a-gcc41.patch
===================================================================
--- repos/extra-i686/rockdodger-0.6.0a-gcc41.patch	                        (rev 0)
+++ repos/extra-i686/rockdodger-0.6.0a-gcc41.patch	2008-08-21 02:15:59 UTC (rev 9944)
@@ -0,0 +1,18 @@
+--- main.c.old	2006-04-24 16:16:13.000000000 +0200
++++ main.c	2006-04-24 16:16:21.000000000 +0200
+@@ -206,7 +206,6 @@
+ struct bangdots bdot[MAX_BANG_DOTS], *bdotptr=bdot;
+ struct spacedot sdot[MAX_SPACE_DOTS];
+ 
+-struct greeble greeb[MAX_GREEBLES];
+ struct greeble {
+     int active;
+     float x,y; // When landed, these represent an offset from the host rock
+@@ -214,6 +213,7 @@
+     int landed;
+     int boredom; // Goes up while landed
+ };
++struct greeble greeb[MAX_GREEBLES];
+ // }}}
+ 
+ void init_greeblies() {

Modified: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2008-08-21 02:06:52 UTC (rev 9943)
+++ trunk/PKGBUILD	2008-08-21 02:15:59 UTC (rev 9944)
@@ -7,13 +7,16 @@
 pkgrel=1
 pkgdesc="Space Rocks is a game - Dodge the space rocks, use your shields, fire your thrusters, cross your fingers, and kiss your ship goodbye"
 depends=('sdl' 'sdl_mixer' 'sdl_image')
-source=(http://downloads.sourceforge.net/spacerocks/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/spacerocks/$pkgname-$pkgver.tar.gz rockdodger-0.6.0a-gcc41.patch)
+md5sums=('a82a564a6530e60e7f041f7d95c4cae8' 'c8b17a6ffaa12f1a116170437b4629c0')
 license=('GPL2')
 arch=('i686' 'x86_64')
 url="http://spacerocks.sourceforge.net/"
 
 build() {
  cd $startdir/src/$pkgname-$pkgver
+ patch -Np0 -i ../rockdodger-0.6.0a-gcc41.patch || return 1
+ sed -i -e "s:-g:${CFLAGS}:" Makefile
  ./configure --prefix=/usr
  make || return 1
  mkdir -p $startdir/pkg/usr/bin

Added: trunk/rockdodger-0.6.0a-gcc41.patch
===================================================================
--- trunk/rockdodger-0.6.0a-gcc41.patch	                        (rev 0)
+++ trunk/rockdodger-0.6.0a-gcc41.patch	2008-08-21 02:15:59 UTC (rev 9944)
@@ -0,0 +1,18 @@
+--- main.c.old	2006-04-24 16:16:13.000000000 +0200
++++ main.c	2006-04-24 16:16:21.000000000 +0200
+@@ -206,7 +206,6 @@
+ struct bangdots bdot[MAX_BANG_DOTS], *bdotptr=bdot;
+ struct spacedot sdot[MAX_SPACE_DOTS];
+ 
+-struct greeble greeb[MAX_GREEBLES];
+ struct greeble {
+     int active;
+     float x,y; // When landed, these represent an offset from the host rock
+@@ -214,6 +213,7 @@
+     int landed;
+     int boredom; // Goes up while landed
+ };
++struct greeble greeb[MAX_GREEBLES];
+ // }}}
+ 
+ void init_greeblies() {




More information about the arch-commits mailing list