diff options
author | Petar Petrov <petar.petrov@student.oulu.fi> | 2013-12-14 09:14:51 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-12-14 10:53:06 -0600 |
commit | 504c5bd5fcd4b7c0f92cf2657b5a384baee74fef (patch) | |
tree | 4ef22c5fcd2d4148210f3d2f34b7cc5bb6d0694a /games/supertux2 | |
parent | 999b3635494c28363dd34fadf9d5b122592a3200 (diff) |
games/supertux2: Updated for version 0.3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/supertux2')
-rw-r--r-- | games/supertux2/remove-curl-types_h-usage.patch | 11 | ||||
-rw-r--r-- | games/supertux2/supertux2-0.3.3-gcc46.patch | 13 | ||||
-rw-r--r-- | games/supertux2/supertux2-0.3.3-squirrel-gcc47.patch | 36 | ||||
-rw-r--r-- | games/supertux2/supertux2.SlackBuild | 18 | ||||
-rw-r--r-- | games/supertux2/supertux2.info | 8 |
5 files changed, 11 insertions, 75 deletions
diff --git a/games/supertux2/remove-curl-types_h-usage.patch b/games/supertux2/remove-curl-types_h-usage.patch deleted file mode 100644 index deebcfbde28c3..0000000000000 --- a/games/supertux2/remove-curl-types_h-usage.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nur supertux-0.3.3.orig/src/addon/addon_manager.cpp supertux-0.3.3/src/addon/addon_manager.cpp ---- supertux-0.3.3.orig/src/addon/addon_manager.cpp 2010-03-01 06:40:58.000000000 -0600 -+++ supertux-0.3.3/src/addon/addon_manager.cpp 2012-09-08 23:24:07.209851421 -0500 -@@ -29,7 +29,6 @@ - #ifdef HAVE_LIBCURL - # include <curl/curl.h> - # include <curl/easy.h> --# include <curl/types.h> - #endif - - #include "addon/addon.hpp" diff --git a/games/supertux2/supertux2-0.3.3-gcc46.patch b/games/supertux2/supertux2-0.3.3-gcc46.patch deleted file mode 100644 index 07e3fc35d6e00..0000000000000 --- a/games/supertux2/supertux2-0.3.3-gcc46.patch +++ /dev/null @@ -1,13 +0,0 @@ -Description: Add missing header. Fixes FTBFS with gcc 4.6. -Author: Ilya Barygin <barygin@gmail.com> -Bug-Ubuntu: https://launchpad.net/bugs/832874 ---- supertux-0.3.3.orig/src/supertux/screen_manager.hpp -+++ supertux-0.3.3/src/supertux/screen_manager.hpp -@@ -18,6 +18,7 @@ - #define HEADER_SUPERTUX_SUPERTUX_MAINLOOP_HPP - - #include <memory> -+#include <cstring> - - #include "scripting/thread_queue.hpp" - diff --git a/games/supertux2/supertux2-0.3.3-squirrel-gcc47.patch b/games/supertux2/supertux2-0.3.3-squirrel-gcc47.patch deleted file mode 100644 index 16781b610fd09..0000000000000 --- a/games/supertux2/supertux2-0.3.3-squirrel-gcc47.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Naur supertux2-0.3.3.orig/external/squirrel/squirrel/sqmem.h supertux2-0.3.3/external/squirrel/squirrel/sqmem.h ---- supertux2-0.3.3.orig/external/squirrel/squirrel/sqmem.h 1970-01-01 01:00:00.000000000 +0100 -+++ supertux2-0.3.3/external/squirrel/squirrel/sqmem.h 2012-05-01 11:59:37.000000000 +0200 -@@ -0,0 +1,8 @@ -+/* see copyright notice in squirrel.h */ -+#ifndef _SQMEM_H_ -+#define _SQMEM_H_ -+ -+void *sq_vm_malloc(SQUnsignedInteger size); -+void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); -+void sq_vm_free(void *p,SQUnsignedInteger size); -+#endif //_SQMEM_H_ -diff -Naur supertux2-0.3.3.orig/external/squirrel/squirrel/sqstate.h supertux2-0.3.3/external/squirrel/squirrel/sqstate.h ---- supertux2-0.3.3.orig/external/squirrel/squirrel/sqstate.h 2010-03-01 13:40:58.000000000 +0100 -+++ supertux2-0.3.3/external/squirrel/squirrel/sqstate.h 2012-05-01 11:59:37.000000000 +0200 -@@ -136,8 +136,4 @@ - extern SQObjectPtr _minusone_; - - bool CompileTypemask(SQIntVec &res,const SQChar *typemask); -- --void *sq_vm_malloc(SQUnsignedInteger size); --void *sq_vm_realloc(void *p,SQUnsignedInteger oldsize,SQUnsignedInteger size); --void sq_vm_free(void *p,SQUnsignedInteger size); - #endif //_SQSTATE_H_ -diff -Naur supertux2-0.3.3.orig/external/squirrel/squirrel/squtils.h supertux2-0.3.3/external/squirrel/squirrel/squtils.h ---- supertux2-0.3.3.orig/external/squirrel/squirrel/squtils.h 2010-03-01 13:40:58.000000000 +0100 -+++ supertux2-0.3.3/external/squirrel/squirrel/squtils.h 2012-05-01 11:59:37.000000000 +0200 -@@ -2,6 +2,8 @@ - #ifndef _SQUTILS_H_ - #define _SQUTILS_H_ - -+#include "sqmem.h" -+ - #define sq_new(__ptr,__type) {__ptr=(__type *)sq_vm_malloc(sizeof(__type));new (__ptr) __type;} - #define sq_delete(__ptr,__type) {__ptr->~__type();sq_vm_free(__ptr,sizeof(__type));} - #define SQ_MALLOC(__size) sq_vm_malloc((__size)); diff --git a/games/supertux2/supertux2.SlackBuild b/games/supertux2/supertux2.SlackBuild index cbf01a645a77c..aaf25cef610ca 100644 --- a/games/supertux2/supertux2.SlackBuild +++ b/games/supertux2/supertux2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for supertux2 -# Copyright 2012 Petar Petrov, ppetrov@paju.oulu.fi +# Copyright 2012-2013 Petar Petrov, petar.petrov@student.oulu.fi # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=supertux2 -VERSION=${VERSION:-0.3.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.3.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=supertux @@ -66,14 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/remove-curl-types_h-usage.patch -patch -p1 < $CWD/supertux2-0.3.3-gcc46.patch -patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build diff --git a/games/supertux2/supertux2.info b/games/supertux2/supertux2.info index 1ab081985ac7c..351776f6af887 100644 --- a/games/supertux2/supertux2.info +++ b/games/supertux2/supertux2.info @@ -1,10 +1,10 @@ PRGNAM="supertux2" -VERSION="0.3.3" +VERSION="0.3.4" HOMEPAGE="http://supertux.lethargik.org/" -DOWNLOAD="http://download.berlios.de/supertux/supertux-0.3.3.tar.bz2" -MD5SUM="f3f803e629ee51a9de0b366a036e393d" +DOWNLOAD="http://supertux.googlecode.com/files/supertux-0.3.4.tar.bz2" +MD5SUM="108af4c1fd985e8842a15cd819b9b157" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="OpenAL physfs" MAINTAINER="Petar Petrov" -EMAIL="ppetrov@paju.oulu.fi" +EMAIL="petar.petrov@student.oulu.fi" |