From nobody@FreeBSD.ORG  Sat Oct 14 16:25:15 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id EAE7A37B66D; Sat, 14 Oct 2000 16:25:15 -0700 (PDT)
Message-Id: <20001014232515.EAE7A37B66D@hub.freebsd.org>
Date: Sat, 14 Oct 2000 16:25:15 -0700 (PDT)
From: mzaki@e-mail.ne.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Port graphics/sane build fails with the newest Gimp
X-Send-Pr-Version: www-1.0

>Number:         21993
>Category:       ports
>Synopsis:       Port graphics/sane build fails with the newest Gimp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 16:30:01 PDT 2000
>Closed-Date:    Fri Nov 17 19:57:02 PST 2000
>Last-Modified:  Fri Nov 17 19:57:13 PST 2000
>Originator:     Motomichi Matsuzaki
>Release:        -current
>Organization:
>Environment:
>Description:
The gimp changed its API,
but the source file of xscanimage (gimp frontend of SANE) 
does not follow this change.

This problem will be fixed in the next release of SANE
(according to SANE mailing list),
until then we need ad hoc patch as following.
>How-To-Repeat:
pkg_add gimp-1.1.27.tgz
cd /usr/ports/graphics/sane
make

>Fix:
--- frontend/xscanimage.c.orig	Sun Oct 15 08:12:12 2000
+++ frontend/xscanimage.c	Sun Oct 15 08:12:39 2000
@@ -57,6 +57,8 @@
 
 #ifdef HAVE_LIBGIMP_GIMP_H
 
+#define GIMP_ENABLE_COMPAT_CRUFT
+
 #include <libgimp/gimp.h>
 
 static void query (void);


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Fri Nov 17 18:44:51 PST 2000 
Responsible-Changed-Why:  
I'll look at this directly 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21993 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Fri Nov 17 19:57:02 PST 2000 
State-Changed-Why:  
Update committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21993 
>Unformatted:
