From owner-freebsd-ports Tue Jan 4 14:40: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DE74A15387 for ; Tue, 4 Jan 2000 14:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA44554; Tue, 4 Jan 2000 14:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 071FE14DAA for ; Tue, 4 Jan 2000 14:31:48 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 27799 invoked from network); 4 Jan 2000 22:31:45 -0000 Received: from userae76.uk.uudial.com (HELO marder-1.) (62.188.131.218) by smtp.dial.pipex.com with SMTP; 4 Jan 2000 22:31:45 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id WAA02099; Tue, 4 Jan 2000 22:31:41 GMT (envelope-from mark) Message-Id: <200001042231.WAA02099@marder-1.> Date: Tue, 4 Jan 2000 22:31:41 GMT From: Mark Ovens Reply-To: Mark Ovens To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/15891: [FIX] sane-1.0.1 build fails Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15891 >Category: ports >Synopsis: [FIX] sane-1.0.1 build fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 4 14:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mark Ovens >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: FreeBSD marder-1 3.4-STABLE FreeBSD 3.4-STABLE #0: Sun Dec 26 22:12:34 GMT 1999 root@marder-1:/usr/src/sys/compile/MARDER-1 i386 >Description: sane-1.0.1 port fails to build: cc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/glib12 -O -pipe -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -O -pipe -Wall xscanimage.c xscanimage.c:79: conflicting types for `GIMP_EXTENSION' /usr/X11R6/include/libgimp/gimpenums.h:289: previous declaration of `GIMP_EXTENSION' gmake[1]: *** [xscanimage.o] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/sane/work/sane-1.0.1/frontend' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 Stop. marder-1# This seems to be related to the version of gimp installed (I'm using 1.1.11) as /usr/X11R6/include/libgimp/gimpenums.h, where GIMP_EXTENSION is previously declared, is part of gimp and others are running sane successfully. BTW, I first e-mailed the maintainer listed in the Makefile, gary@hotlava.com, but he replied: "Sorry, I no longer have a scanner, and have not touched sane for some time. I really am the wrong person (nowadays) to ask about this." So I guess a new maintainer is needed. >How-To-Repeat: >Fix: The following patch fixes the problem but may not be the best solution as it may not work when earlier versions of gimp are installed. *** xscanimage.c.orig Tue Jan 4 22:26:18 2000 --- xscanimage.c Tue Jan 4 22:26:33 2000 *************** *** 75,81 **** enum { ! STANDALONE, GIMP_EXTENSION }; static struct --- 75,81 ---- enum { ! STANDALONE }; static struct >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message