diff -Nru gl2ps-1.3.8/debian/changelog gl2ps-1.3.8/debian/changelog --- gl2ps-1.3.8/debian/changelog 2013-05-14 11:07:39.000000000 +0200 +++ gl2ps-1.3.8/debian/changelog 2015-01-15 12:48:37.000000000 +0100 @@ -1,3 +1,19 @@ +gl2ps (1.3.8-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix compilation error (missing libGL.so). Closes: #775412 + Add missing deps on libgl-dev + + -- Mathieu Malaterre Thu, 15 Jan 2015 12:48:33 +0100 + +gl2ps (1.3.8-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix undefined symbols. Closes: #775403 + + d/p/undef.patch + + -- Mathieu Malaterre Thu, 15 Jan 2015 11:43:18 +0100 + gl2ps (1.3.8-1) unstable; urgency=low * Upload to unstable diff -Nru gl2ps-1.3.8/debian/control gl2ps-1.3.8/debian/control --- gl2ps-1.3.8/debian/control 2013-05-14 11:07:30.000000000 +0200 +++ gl2ps-1.3.8/debian/control 2015-01-15 12:48:21.000000000 +0100 @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Sylvestre Ledru -Build-Depends: debhelper (>= 7), cdbs, mesa-common-dev +Build-Depends: debhelper (>= 7), cdbs, mesa-common-dev, libgl1-mesa-dev | libgl-dev Standards-Version: 3.9.4 Homepage: http://geuz.org/gl2ps/ Vcs-Svn: https://bollin.googlecode.com/svn/gl2ps/trunk diff -Nru gl2ps-1.3.8/debian/patches/series gl2ps-1.3.8/debian/patches/series --- gl2ps-1.3.8/debian/patches/series 2012-09-18 09:13:08.000000000 +0200 +++ gl2ps-1.3.8/debian/patches/series 2015-01-15 11:43:44.000000000 +0100 @@ -1,2 +1,3 @@ buildsys.diff linkGL.diff +undef.patch diff -Nru gl2ps-1.3.8/debian/patches/undef.patch gl2ps-1.3.8/debian/patches/undef.patch --- gl2ps-1.3.8/debian/patches/undef.patch 1970-01-01 01:00:00.000000000 +0100 +++ gl2ps-1.3.8/debian/patches/undef.patch 2015-01-15 11:43:33.000000000 +0100 @@ -0,0 +1,24 @@ +Description: Fix undefined symbols +Author: Mathieu Malaterre +Bug-Debian: http://bugs.debian.org/775403 + +--- gl2ps-1.3.8.orig/Makefile ++++ gl2ps-1.3.8/Makefile +@@ -2,7 +2,7 @@ OPTFLAGS = -O2 -Wall + EXTRALIBS = -lGL -lm + CFLAGS += $(OPTFLAGS) -fPIC + LDFLAGS += $(EXTRALIBS) +-LDFLAGS += -Wl,--version-script=Version -Wl,--no-add-needed ++EXTRALIBS += -Wl,--version-script=Version -Wl,--no-add-needed + MAJOR = 0 + MINOR = 0 + MICRO = 0 +@@ -24,7 +24,7 @@ clean: + rm -f $(OBJS) $(SLIBNAME) + + $(SLIBNAME): $(OBJS) +- $(CC) -shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR) -o $@ $(filter %.o,$^) $(LDFLAGS) ++ $(CC) -shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR) -o $@ $(filter %.o,$^) $(LDFLAGS) $(EXTRALIBS) + + install: + mkdir -p $(DESTDIR)$(SLIBDIR)