Package: libpng3
Version: 1.2.8rel-2
Severity: serious
Tags: patch
Justification: no longer builds from source

This is a dupe of #329812 for the oldlibs libpng3 package.

Note that you don't actually have to have mawk around: the following one-liner 
change to scripts/makefile.elf suffices to make the package build with either 
mawk or gawk:

--- scripts/makefile.elf.orig   2006-09-18 16:29:00.000000000 +0100
+++ scripts/makefile.elf        2006-09-18 16:29:10.000000000 +0100
@@ -90,5 +90,5 @@
 libpng.syms: png.h pngconf.h
        $(CC) $(CFLAGS) -E -DPNG_BUILDSYMS png.h |\
-       awk -F '[\t [\]();]' -v PNGMAJ=$(PNGMAJ) 'BEGIN{printf("PNG12_%s 
{global:\n",PNGMAJ)}\
+       awk -F '[\t [\\]();]' -v PNGMAJ=$(PNGMAJ) 'BEGIN{printf("PNG12_%s 
{global:\n",PNGMAJ)}\
        { for (i=1;i+2<=NF;++i)\
                if ($$(i)=="PNG_FUNCTION_EXPORT" && $$(i+2)=="END")\

You could do the same to the libpng source package in main & remove the
dependency on mawk if you wanted to.

cheers, Phil

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to