Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 21:37:29 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        ports@freebsd.org
Subject:   netpbm doesn't compile under -current
Message-ID:  <20011206213728.D25235@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

It complains about an undefined symbol "zlib_version" when
linking pnm2png.  Indeed, our system's zlib doesn't have this
symbol at all.

Since it's a simple informational message only, IMHO it's best to just
drop the message, and don't care about it.  See the attached patch
file.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-zlib-hack

--- pnm/pnmtopng.c.orig	Sun Jul 22 05:32:22 2001
+++ pnm/pnmtopng.c	Thu Dec  6 21:34:08 2001
@@ -1441,8 +1441,8 @@
       fprintf(stderr,"pnmtopng version %s.\n", VERSION);
       fprintf(stderr, "   Compiled with libpng %s; using libpng %s.\n",
         PNG_LIBPNG_VER_STRING, png_libpng_ver);
-      fprintf(stderr, "   Compiled with zlib %s; using zlib %s.\n",
-        ZLIB_VERSION, zlib_version);
+      fprintf(stderr, "   Compiled with zlib %s.\n",
+        ZLIB_VERSION);
       fprintf(stderr,    
         "   Compiled with %d-bit netpbm support (PPM_OVERALLMAXVAL = %d).\n",
         pm_maxvaltobits (PPM_OVERALLMAXVAL), PPM_OVERALLMAXVAL);

--6c2NcOVqGQ03X4Wi--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011206213728.D25235>