Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2000 22:31:41 GMT
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/15891: [FIX] sane-1.0.1 build fails
Message-ID:  <200001042231.WAA02099@marder-1.>

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

>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




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