Hello, I'm doing an NMU of glcpu to fix #337246; diff attached.
Thanks, Matej
diff -u glcpu-1.0.1/debian/changelog glcpu-1.0.1/debian/changelog --- glcpu-1.0.1/debian/changelog +++ glcpu-1.0.1/debian/changelog @@ -1,3 +1,12 @@ +glcpu (1.0.1-6.1) unstable; urgency=medium + + * Non-maintainer upload. + * Remove indirectly used libraries from the link line, as discussed in + <http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html>. + Closes: #337246. + + -- Matej Vela <[EMAIL PROTECTED]> Sat, 28 Jan 2006 18:24:36 +0100 + glcpu (1.0.1-6) unstable; urgency=low * Rebuild with modern build environment (closes: #315360). diff -u glcpu-1.0.1/Makefile glcpu-1.0.1/Makefile --- glcpu-1.0.1/Makefile +++ glcpu-1.0.1/Makefile @@ -6,8 +6,8 @@ CCFLAGS += -D_GNU_SOURCE -ansi -Wall -DOS_$(shell uname) -I/usr/X11R6/include CCFLAGS += -I$(shell ccgnu2-config --includes) # CommonC++ headers fail -pedantic checking -LIBS = -L/usr/X11R6/lib -lX11 -lXext -lXmu -DLIBS = $(shell ccgnu2-config --gnulibs) -lGL -lGLU -lglut -lpthread +LIBS = +DLIBS = -lccgnu2 -lglut SLIBS = -ldl /usr/lib/libccgnu.a /usr/lib/libpthread.a /usr/lib/libglut.a /usr/lib/libGL.a /usr/lib/libGLU.a PREFIX = /usr/local