Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Alfredo Tupone (tupone)" <tupone@g.o>
Subject: gentoo-x86 commit in games-rpg/egoboo/files: egoboo-2.8.1-gentoo.patch
Date: Mon, 30 Apr 2012 08:35:46 +0000 (UTC)
tupone      12/04/30 08:35:46

  Added:                egoboo-2.8.1-gentoo.patch
  Log:
  Version bump to 2.8.1 Bug #366731
  
  (Portage version: 2.1.10.57/cvs/Linux i686)

Revision  Changes    Path
1.1                  games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch?rev=1.1&content-type=text/plain

Index: egoboo-2.8.1-gentoo.patch
===================================================================
--- src/game/platform/file_linux.c.old	2012-04-29 21:45:29.627419281 +0200
+++ src/game/platform/file_linux.c	2012-04-29 21:45:29.628419211 +0200
@@ -79,9 +79,9 @@
     strncpy( linux_dataPath,   PREFIX "/share/games/egoboo-2.x", SDL_arraysize( linux_dataPath ) );
 #else
     // these are read-only directories
-    strncpy( linux_configPath, "/etc/egoboo-2.x/",         SDL_arraysize( linux_configPath ) );
+    strncpy( linux_configPath, "@GENTOO_CONFDIR@",         SDL_arraysize( linux_configPath ) );
     strncpy( linux_binaryPath, "/games/",                  SDL_arraysize( linux_binaryPath ) );
-    strncpy( linux_dataPath,   "/share/games/egoboo-2.x/", SDL_arraysize( linux_dataPath ) );
+    strncpy( linux_dataPath,   "@GENTOO_DATADIR@", SDL_arraysize( linux_dataPath ) );
 #endif
 
     // the log file cannot be started until there is a user data path to dump the file into
--- src/game/network.c.old	2012-04-29 20:14:31.482179973 +0200
+++ src/game/network.c	2012-04-29 20:14:52.077730184 +0200
@@ -37,7 +37,7 @@
 #include "egoboo_setup.h"
 #include "egoboo.h"
 
-#include "enet/enet.h"
+#include <enet/enet.h>
 #include "file_common.h"
 
 #include <stdarg.h>
--- src/game/Makefile.old	2012-04-29 20:17:09.303070070 +0200
+++ src/game/Makefile	2012-04-29 20:18:21.047023847 +0200
@@ -33,8 +33,7 @@
 # the compiler options
 
-CC      := gcc
-INC     := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
+INC     := -I. -I.. ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
+LDLIBS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lm
 
 # use different options if the environmental variable PREFIX is defined
 ifdef ($(PREFIX),"")
@@ -43,7 +43,7 @@
 	OPT := -Os -Wall -DPREFIX=\"${PREFIX}\" -D_NIX_PREFIX
 endif
 
-CFLAGS  := ${OPT} ${INC}
+CFLAGS  += ${INC} -DENET11
 
 #------------------------------------
 # definitions of the target projects
@@ -52,7 +52,7 @@
 all: ${EGO_BIN}
 
 ${EGO_BIN}: ${EGO_OBJ} 
-	${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS}
+	${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS} ${LDLIBS}
 
 clean:
 	rm -f ${ENET_OBJ} ${EGO_OBJ} ${EGO_BIN}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in games-rpg/egoboo: egoboo-2.8.1.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in dev-ruby/pg: ChangeLog pg-0.12.0-r1.ebuild pg-0.9.0-r1.ebuild
Previous by date:
gentoo-x86 commit in games-rpg/egoboo: egoboo-2.8.1.ebuild ChangeLog
Next by date:
gentoo-x86 commit in dev-ruby/pg: ChangeLog pg-0.12.0-r1.ebuild pg-0.9.0-r1.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.