Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 19:05:50 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: graphics/netpbm failing to compile
Message-ID:  <20041115190550.168ed484@dolphin.local.net>
In-Reply-To: <1100557647.26249.1.camel@server.mcneil.com>
References:  <1100557647.26249.1.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Multipart=_Mon__15_Nov_2004_19_05_50_-0600_Jh7cm6y1f_.5QVwA
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 15 Nov 2004 14:27:27 -0800, Sean McNeil <sean@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@cox.net> -- "In Unix veritas"

--Multipart=_Mon__15_Nov_2004_19_05_50_-0600_Jh7cm6y1f_.5QVwA
Content-Type: application/octet-stream;
 name="patch"
Content-Disposition: attachment;
 filename="patch"
Content-Transfer-Encoding: base64

LS0tIGxpYnBibTMuYy5vcmlnCU1vbiBOb3YgMTUgMTk6MDA6MTYgMjAwNAorKysgbGlicGJtMy5j
CUZyaSBPY3QgIDEgMTA6NTY6MzMgMjAwNApAQCAtNjgsNyArNjgsNiBAQAogCiAgICBVc2UgdGhl
IFBlbnRpdW0gTU1YIGFuZCBTU0UgZmFjaWxpdGllcyB0byBwYWNrIHRoZSBiaXRzIHF1aWNrbHku
CiAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLSovCi0gICAgaW50IGNvbDsKICNpZiBIQVZFX01NWF9TU0UK
IAogICAgIC8qIEVuaGFuY2VtZW50IGZvciBpbnRlbCBwcm9jZXNzb3JzIHdpdGggTU1YIGFuZCBT
U0UgICAgKi8K

--Multipart=_Mon__15_Nov_2004_19_05_50_-0600_Jh7cm6y1f_.5QVwA--



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