[Pkg-allegro-maintainers] Bug#462679: liballegro4.2-dev: allegro-config --libs contains extraneous libraries

Peter De Wachter pdewacht at gmail.com
Sat Jan 26 20:12:04 UTC 2008


Package: liballegro4.2-dev
Version: 2:4.2.2-1
Severity: normal
Tags: patch

The allegro-config output contains many redundant libraries:

  $ allegro-config --libs
  -L/usr/lib -lalleg-4.2.2 -lm -lXxf86vm -lXcursor -lXpm -lXext -lX11 -lpthread -ldl

Attached patch fixes this.



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/1 CPU core)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liballegro4.2-dev depends on:
ii  liballegro4.2                 2:4.2.2-1  portable library for cross-platfor
ii  libx11-dev                    2:1.0.3-7  X11 client-side library (developme
ii  libxcursor-dev                1:1.1.9-1  X cursor management library (devel
ii  libxext-dev                   1:1.0.3-2  X11 miscellaneous extensions libra
ii  libxpm-dev                    1:3.5.7-1  X11 pixmap library (development he
ii  libxxf86vm-dev                1:1.0.1-2  X11 XFree86 video mode extension l

liballegro4.2-dev recommends no packages.

-- no debconf information
-------------- next part --------------
--- allegro4.2-4.2.2/debian/patches/005_no_unsharable.diff.orig	2008-01-26 19:45:27.000000000 +0100
+++ allegro4.2-4.2.2/debian/patches/005_no_unsharable.diff	2008-01-26 19:45:53.000000000 +0100
@@ -105,7 +105,7 @@
 +      echo $libdirs $allegro_ldflags -l${lib_type} ${allegro_libs}
     else
 -      echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
-+      echo $libdirs $allegro_ldflags -l${lib_type}-${version} ${allegro_libs}
++      echo $libdirs $allegro_ldflags -l${lib_type}-${version}
     fi
  fi
  


More information about the Pkg-allegro-maintainers mailing list