Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 16:25:15 -0700 (PDT)
From:      mzaki@e-mail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21993: Port graphics/sane build fails with the newest Gimp
Message-ID:  <20001014232515.EAE7A37B66D@hub.freebsd.org>

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

>Number:         21993
>Category:       ports
>Synopsis:       Port graphics/sane build fails with the newest Gimp
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 16:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>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?20001014232515.EAE7A37B66D>