Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81714 Details for
Bug 125515
Feature request: emerging games-rpg/egoboo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make it compile on MacOSX
egoboo-macos.patch (text/plain), 1.70 KB, created by
Dirk Schoenberger
on 2006-03-08 12:29:06 UTC
(
hide
)
Description:
make it compile on MacOSX
Filename:
MIME Type:
Creator:
Dirk Schoenberger
Created:
2006-03-08 12:29:06 UTC
Size:
1.70 KB
patch
obsolete
>--- egoboo/code/egoboo.h.orig 2006-03-08 21:08:41.000000000 +0100 >+++ egoboo/code/egoboo.h 2006-03-08 21:10:54.000000000 +0100 >@@ -8,8 +8,14 @@ > /* Typedefs for various platforms */ > #include "egobootypedef.h" > >+#ifdef __APPLE__ >+#include <opengl/gl.h> >+#include <opengl/glu.h> >+#else > #include <GL/gl.h> > #include <GL/glu.h> >+#endif >+ > #include <stdlib.h> > #include <stdarg.h> > #include <stdio.h> >--- egoboo/code/egobootypedef.h.orig 2006-03-08 21:06:39.000000000 +0100 >+++ egoboo/code/egobootypedef.h 2006-03-08 21:07:18.000000000 +0100 >@@ -72,7 +72,7 @@ > typedef Uint32 DWORD; > typedef struct lin_RECT { LONG left; LONG right; LONG top; LONG bottom; } RECT; > >-#ifdef __powerpc__ >+#if defined (__powerpc__) || defined (__APPLE__) > #define _BIG_ENDIAN > > /* >--- egoboo/code/gltexture.h.orig 2006-03-08 21:09:49.000000000 +0100 >+++ egoboo/code/gltexture.h 2006-03-08 21:10:22.000000000 +0100 >@@ -3,7 +3,11 @@ > > > /**> HEADER FILES <**/ >+#ifdef __APPLE__ >+#include <opengl/gl.h> >+#else > #include <GL/gl.h> >+#endif > //#include <SDL/SDL.h> > > >--- egoboo/code/Makefile.orig 2006-03-08 21:07:30.000000000 +0100 >+++ egoboo/code/Makefile 2006-03-08 21:07:59.000000000 +0100 >@@ -1,8 +1,8 @@ > OBJECTS=camera.o char.o enchant.o game.o graphic.o input.o menu.o module.o network.o particle.o passage.o script.o sound.o lin-file.o gltexture.o mathstuff.o graphicfan.o graphicmad.o graphicprt.o configfile.c > FLAGS=-D_LINUX -O2 -pipe > LIBS=`sdl-config --libs` -lGL -lGLU >-INCDIR=`sdl-config --cflags` -I/usr/X11/include >-LIBDIR=-L/usr/X11R6/lib -L/usr/lib >+INCDIR=`sdl-config --cflags` -I/usr/X11/include -framework OpenGL >+LIBDIR=-L/usr/X11R6/lib -L/usr/lib -framework OpenGL > CC=gcc > > egoboo: $(OBJECTS)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125515
: 81714