pkgsrc/games/quakeforge/patches/patch-ao
tnn 0487aad739 Apply patches from PR pkg/37837 to get quakeforge going on DragonFly.
Also fixes the usual gcc4 suspects. (static/extern storage class mismatch)
2008-01-23 04:59:35 +00:00

13 lines
615 B
Text

$NetBSD: patch-ao,v 1.1 2008/01/23 04:59:37 tnn Exp $
--- libs/video/renderer/Makefile.in.orig 2004-05-02 20:52:09.000000000 +0000
+++ libs/video/renderer/Makefile.in
@@ -409,7 +409,7 @@ libQFrenderer_gl_la_LDFLAGS = -version-i
libQFrenderer_gl_la_LIBADD = gl/libgl.la
libQFrenderer_gl_la_SOURCES = $(common_sources)
libQFrenderer_gl_la_DEPENDENCIES = gl/libgl.la
-libQFrenderer_sw_la_LDFLAGS = @STATIC@
+libQFrenderer_sw_la_LDFLAGS = -version-info 1:0:0 -rpath $(libdir)
libQFrenderer_sw_la_LIBADD = sw/libsw.la
libQFrenderer_sw_la_SOURCES = $(common_sources)
libQFrenderer_sw_la_DEPENDENCIES = sw/libsw.la