Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9774 - New ebuild: Doom legacy 1.40
Summary: New ebuild: Doom legacy 1.40
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-27 13:38 UTC by Dries Harnie
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the ebuild (doomlegacy-1.40.ebuild,1.08 KB, text/plain)
2002-10-27 13:38 UTC, Dries Harnie
Details
patch 1, fixes makefile (makefile.patch,265 bytes, text/plain)
2002-10-27 13:45 UTC, Dries Harnie
Details
fixes a double definition (CARD8) (hw_data.h.patch,246 bytes, patch)
2002-10-27 13:47 UTC, Dries Harnie
Details | Diff
here ya go (doomlog,2.19 KB, text/plain)
2002-10-30 14:20 UTC, Dries Harnie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dries Harnie 2002-10-27 13:38:27 UTC
It's an ebuild for Doom Legacy, which is a rewrite of the doom engine.
Uses X and opengl.
Included are 2 patches for compiling correctly.
Comment 1 Dries Harnie 2002-10-27 13:38:54 UTC
Created attachment 5083 [details]
the ebuild
Comment 2 Dries Harnie 2002-10-27 13:45:59 UTC
Created attachment 5084 [details]
patch 1, fixes makefile

fixes makefile so it doesnt put stuff in ../objs and ../bins
Comment 3 Dries Harnie 2002-10-27 13:47:45 UTC
Created attachment 5085 [details, diff]
fixes a double definition (CARD8)
Comment 5 Dries Harnie 2002-10-29 09:44:04 UTC
you forgot the CARD8/BOOL patch!
now it gives this error:
In file included from /usr/X11R6/include/GL/glx.h:27,
                 from hardware/hw_data.h:66,
                 from w_wad.h:71,
                 from linux_x/endtxt.c:15:
/usr/X11R6/include/X11/Xmd.h:159: conflicting types for `BOOL'
hardware/hw_data.h:60: previous declaration of `BOOL'
make: *** [objs/endtxt.o] Error 1
Comment 6 SpanKY gentoo-dev 2002-10-29 10:32:44 UTC
bah that didnt happen to me ;) 
Comment 7 SpanKY gentoo-dev 2002-10-29 11:39:25 UTC
in fact, when i include that patch, it makes my build fail ;) 
Comment 8 Dries Harnie 2002-10-29 11:50:41 UTC
weird, adding the patch fixes it for me...
what's your X version?
(build fails on 4.2.0-rsomething and 4.2.1 here)
Comment 9 SpanKY gentoo-dev 2002-10-29 11:55:27 UTC
root@vapier root # qpkg -I -v xfree 
x11-base/xfree-4.2.1 * 
 
Comment 10 Dries Harnie 2002-10-29 11:58:29 UTC
check /usr/X11R6/include/X11/Xmd.h for the presence of "typedef CARD8 BOOL;"
at line nr 159 ?
Comment 11 SpanKY gentoo-dev 2002-10-29 12:07:55 UTC
#ifndef __EMX__ 
typedef CARD8           BYTE; 
typedef CARD8           BOOL; 
#else /* __EMX__ */ 
/* 
 * This is bad style, but the central include file <os2.h> declares them   
 * as well 
 */ 
#define BYTE            CARD8 
#define BOOL            CARD8 
#endif /* __EMX__ */ 
 
Comment 12 Dries Harnie 2002-10-29 12:09:02 UTC
same here...
strange :/
gcc-3.2-r2 and glibc-2.3.1-r1
maybe the problem is in there?
Comment 13 SpanKY gentoo-dev 2002-10-29 12:15:05 UTC
root@vapier root # qpkg -I -v glibc 
sys-libs/glibc-2.3.1-r1 * 
root@vapier root # qpkg -I -v gcc   
sys-devel/gcc-3.2-r2 * 
 
Comment 14 SpanKY gentoo-dev 2002-10-30 02:10:02 UTC
please run this and then attach the resulting logfile 
 
`emerge doomlegacy >& doomlog` 
Comment 15 Dries Harnie 2002-10-30 14:20:57 UTC
Created attachment 5220 [details]
here ya go
Comment 16 SpanKY gentoo-dev 2002-10-31 10:28:11 UTC
aight i found the problem ... 
 
if you run `opengl-update nvidia` and try to emerge, it fails 
but if you run `opengl-update xfree` and try to emerge, it works ... 
 
it worked on my box only cause i forgot to run `opengl-update nvidia` ;) 
Comment 17 SpanKY gentoo-dev 2002-10-31 10:44:07 UTC
emerge rsync and try again ? 
i just added one to cvs that worked when i did this: 
 
opengl-update xfree 
emerge doomlegacy 
opengl-update nvidia 
emerge doomlegacy 
 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/doomlegacy/doomlegacy-1.40.ebuild.diff?r1=1.1&r2=1.2 
Comment 18 Dries Harnie 2002-10-31 15:19:10 UTC
I was going to post a similar patch to the ebuild but you beat me to it!
Good job, works like a charm :)