Update to 0.8.19 and make fetchable again.

Changelog at
 <http://globulation2.org/wiki/Changes#0.8.19_.28released_20060312.29>.

eported by:	pointyhat via Kris
This commit is contained in:
Thierry Thomas 2006-03-18 21:00:12 +00:00
parent fd1e979ef2
commit 9340e45d5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157603
4 changed files with 6 additions and 51 deletions

View File

@ -6,9 +6,9 @@
#
PORTNAME= glob2
PORTVERSION= 0.8.18
PORTVERSION= 0.8.19
CATEGORIES= games
MASTER_SITES= http://epfl.ysagoon.com/~glob2/data/
MASTER_SITES= http://globulation2.org/releases/${PORTVERSION}/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Globulation 2 - a free and innovative strategy game

View File

@ -1,3 +1,3 @@
MD5 (glob2-0.8.18.tar.gz) = 7c8136d674b2bed90e91a2971d4d41ca
SHA256 (glob2-0.8.18.tar.gz) = 62baf6ae48cfd82bad82027c607218a11067debb2a639e165917df490e1f46cf
SIZE (glob2-0.8.18.tar.gz) = 9125977
MD5 (glob2-0.8.19.tar.gz) = 28e7b58d0581d982b2a528454f487bb7
SHA256 (glob2-0.8.19.tar.gz) = 267a3e4d05ec434514ae834d9ee163ce5aaebfb8c1c217728cc4db7ae9db18bc
SIZE (glob2-0.8.19.tar.gz) = 9405824

View File

@ -1,45 +0,0 @@
--- ./libgag/src/FileManager.cpp.orig Sat Dec 10 23:25:19 2005
+++ ./libgag/src/FileManager.cpp Sat Feb 18 09:52:32 2006
@@ -86,13 +86,17 @@
#endif
addDir(".");
- #ifndef WIN32
+ #ifndef WIN32
#ifndef __APPLE__
/* Find own path
* TODO: Make nicer */
-
+
char link[100];
+ #ifdef __FreeBSD__
+ char proc[]="/proc/curproc/file";
+ #else
char proc[]="/proc/self/exe";
+ #endif
char * pch;
int linksize = readlink(proc, link, sizeof(link));
@@ -102,17 +106,17 @@
}
else
{
- assert ((int)sizeof(link) > linksize);
+ assert ((int)sizeof(link) > linksize);
link[linksize] = '\0';
- pch = strrchr(link,'/');
- if ( (pch-link) > 0)
+ pch = strrchr(link,'/');
+ if ( (pch-link) > 0)
link[pch-link] = '\0';
else
link[1] = '\0';
- pch = strrchr(link,'/');
- if ( (pch-link) > 0)
+ pch = strrchr(link,'/');
+ if ( (pch-link) > 0)
link[pch-link] = '\0';
if ((linksize + 13) <= (int)sizeof(link))

View File

@ -4,4 +4,4 @@ Anyway, it will not always work, so it is suggested that you type
"glob2 --help" and read about command lines arguments.
Try to use -G option if you have problems with dri and glx (OpenGL),
or -m if you have problems with sound.
or -m if you have problems with sound, or -C to disable custom cursor.