Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Mar 2000 01:01:07 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Torbjorn Tornkvist <tobbe@bluetail.com>
Cc:        ports@freebsd.org
Subject:   Re: Can't compile the sane-1.0.1 port under 3.4
Message-ID:  <20000303010107.A1326@marder-1>
In-Reply-To: <m2d7pee7zu.fsf@emu.bluetail.com>; from tobbe@bluetail.com on Wed, Mar 01, 2000 at 09:43:49PM %2B0100
References:  <m2d7pee7zu.fsf@emu.bluetail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 01, 2000 at 09:43:49PM +0100, Torbjorn Tornkvist wrote:
> 
> I get the following:
> 
> 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.
> 
> Any ideas on what to do ?
> 

The patch in ports/15891 fixes it. It's a one-line change so you can
do it by hand. Here's the patch:

              *** 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


> Thanx ! /Tobbe
> --
> Torbjörn Törnkvist , tel: +46 8 692 22 15 , fax: +46 8 654 70 71
> Bluetail AB , Hantverkargatan 78 , SE-112 38 Stockholm , Sweden            
> Email: tobbe@bluetail.com , Web: http://www.bluetail.com/~tobbe
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message

-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



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?20000303010107.A1326>