graphics/netpbm failing to compile

Conrad J. Sabatier conrads at cox.net
Mon Nov 15 17:05:56 PST 2004


On Mon, 15 Nov 2004 14:27:27 -0800, Sean McNeil <sean at mcneil.com> wrote:

> I get the following error:
> 
> cc -c -I/usr/ports/graphics/netpbm/work/netpbm-10.25/lib -I. -DNDEBUG
> -g -O -pipe  -fpic -DPIC \
>     -o libpbm3.lo libpbm3.c
> libpbm3.c: In function `packBitsWithMmxSse':
> libpbm3.c:83: error: `col' undeclared (first use in this function)
> libpbm3.c:83: error: (Each undeclared identifier is reported only once
> libpbm3.c:83: error: for each function it appears in.)
> gmake[1]: *** [libpbm3.lo] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/graphics/netpbm/work/netpbm-10.25/lib'

It's just a simple omission of the declaration of "int col;".

Apply the attached patch under
/usr/ports/graphics/netpbm/work/netpbm-10.25/lib

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 351 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041115/93f37e5d/patch.obj


More information about the freebsd-ports mailing list