non port: games/quake2lnx/files/patch-src_linux_rw__x11.c |
Number of commits found: 3 |
Thursday, 6 Apr 2017
|
19:40 danfe
Attempt to unbreak the build against newer versions of libXxf86dga:
In file included from src/linux/gl_glx.c:57:
/usr/local/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h
is obsolete and may be removed in the future." [-W#$warnings]
/usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include
<X11/extensions/Xxf86dga.h> instead." [-W#warnings]
While here, add missing USE_XORG components per `stage-qa' note; this
also unbreaks the build when X11 option is not being selected (the bug
previously went unnoticed because it is selected by default).
Reported by: Victor Sudakov
|
Wednesday, 5 Apr 2017
|
17:58 danfe
Fix a couple of bugs that prevented `games/quake2lnx' from fully working
on amd64 (and likely other 64-bit architectures):
- Prototype for `void *qwglGetProcAddress(char *symbol)' was guarded by
#ifdef __linux__; this was not a problem on i386, where sizeof(void *)
/actual return type/ == sizeof(int) /assumed return type of undeclared
function/. On amd64, returned pointer would sometimes get truncated,
leading to a program's crash. Mend this by turning `#ifdef __linux__'
condition essentially into `#ifndef _WIN32'
- Software renderer was typedef'ing PIXEL24 as `unsigned long'; fix it
by using `unsigned int' type instead
- Remove `-s' from OPTIMIZED_CFLAGS: stripping is taken care of during
installation (subject to WITH_DEBUG); also remove optimization flag
`-fexpensive-optimizations' as it is not being supported by Clang
- While here, fix `version' console command to report correct operating
system and architecture names
- Employ options helper target to install documentation; add more useful
changelogs and drop `quake2.3dfxgl' file (meaningless these days)
|
Thursday, 17 Nov 2005
|
10:51 edwin
[UPDATE] games/quake2lnx: integrate with "quake2-data"
Changes:
* Integrate with "quake2-data".
* Add OPTIONS (21).
* Clean-up (sort knobs alphabetically, etc.).
* Automatically extract Rogue and Xatrix mission packs.
* Remove ARCH from library names (gamei386.so -> game.so).
Also increases portability (the library name was manually
defined between #ifdefs checking the architecture, and a
#error at the end).
* Change patch names (using "_" instead of "::"), and also some patches.
PR: ports/87181
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Approved by: maintainer timeout
|
Number of commits found: 3 |