Package: torus-trooper
Version: 0.22.dfsg1-1
Severity: normal
Tags: patch

Hi,


You are currently linking the executable to lphobos, lpthread, lm,
lstdc++, which is gdc driver's job and is wrong. Moreover, -lgphobos
alone won't work anymore when the shared lib will be uploaded, it'll
also require a libgphobos_nonshared.a staticly linked, and being linked
using gdc instead of gcc. Here is a patch.


Cheers,

Arthur.

diff -Nru --exclude changelog 
/tmp/9uy39hZm5H/torus-trooper-0.22.dfsg1/debian/patches/fixes.patch 
/tmp/8cSDXIcoX8/torus-trooper-0.22.dfsg1/debian/patches/fixes.patch
--- /tmp/9uy39hZm5H/torus-trooper-0.22.dfsg1/debian/patches/fixes.patch 
2007-12-30 00:49:23.000000000 +0000
+++ /tmp/8cSDXIcoX8/torus-trooper-0.22.dfsg1/debian/patches/fixes.patch 
2007-12-30 00:49:24.000000000 +0000
@@ -109,7 +109,7 @@
 +all: $(EXE)
 +
 +$(EXE): $(OBJS)
-+      gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU 
-lSDL_mixer -lstdc++
++      gdc -o $@ $(OBJS) -lbulletml -lSDL -lGL -lGLU -lSDL_mixer
 +
 +$(OBJS): %.o: %.d
 +      $(DC) -c $(DOUT)$@ $(DFLAGS) $<

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel

Reply via email to