games/openlierox: Updated for version 20170313_3825306.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-09-30 09:13:22 +02:00 committed by Robby Workman
parent c279a7f50e
commit 653b3e6080
3 changed files with 6 additions and 30 deletions

View file

@ -1,20 +0,0 @@
--- openlierox-0.58_rc3/include/HTTP.original.h 2014-04-19 19:58:09.213990582 +0300
+++ openlierox-0.58_rc3/include/HTTP.h 2014-04-21 13:45:11.485876525 +0300
@@ -21,7 +21,6 @@
#include <string>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include "Networking.h"
--- openlierox-0.58_rc3/src/common/HTTP.original.cpp 2014-04-19 20:48:13.255434896 +0300
+++ openlierox-0.58_rc3/src/common/HTTP.cpp 2014-04-21 13:48:08.493663623 +0300
@@ -25,7 +25,6 @@
#include <stdlib.h>
#endif
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include "LieroX.h"

View file

@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openlierox PRGNAM=openlierox
VERSION=${VERSION:-0.58_rc3} VERSION=${VERSION:-20170313_3825306}
SRCVER=$(echo $VERSION | tr _ .)
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -61,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -70,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# curl/types.h removed because not supported from new CURL versions
patch -p1 < $CWD/http_curl.patch
mkdir -p build mkdir -p build
cd build cd build
cmake . \ cmake . \

View file

@ -1,10 +1,10 @@
PRGNAM="openlierox" PRGNAM="openlierox"
VERSION="0.58_rc3" VERSION="20170313_3825306"
HOMEPAGE="http://www.openlierox.net/" HOMEPAGE="http://www.openlierox.net/"
DOWNLOAD="https://github.com/albertz/openlierox/archive/0.58_rc3.tar.gz" DOWNLOAD="http://ponce.cc/slackware/sources/repo/openlierox-20170313_3825306.tar.xz"
MD5SUM="4ce050ca069b1ebe2fb720b3a1c2c760" MD5SUM="7540eab45506561ccae1e75cf42a8fdd"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="HawkNL" REQUIRES="HawkNL freealut"
MAINTAINER="Dimitris Zlatanidis" MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com" EMAIL="d.zlatanidis@gmail.com"