This was discussed recently, it's easier than that. Just define
GIMP_COMPAT_CRUFT and all will be well.
Patches for sane and xsane attached (again).
Dave Hill
-- Dave Hill, Kempston, Bedford UK dave@minnie.demon.co.uk davehill at users.sourceforge.net Sicth munce ago, I cutn't evun spel enjuneer, and now I are one!
--- sane-1.0.3_20000824/frontend/xscanimage.c.orig Tue Aug 22 22:08:41 2000 +++ sane-1.0.3_20000824/frontend/xscanimage.c Tue Sep 26 07:31:32 2000 @@ -56,7 +56,7 @@ #define OUTFILENAME "out.pnm" #ifdef HAVE_LIBGIMP_GIMP_H - +#define GIMP_ENABLE_COMPAT_CRUFT #include <libgimp/gimp.h> static void query (void);
--- xsane-0.60/src/xsane.h.orig Thu Jul 13 21:15:30 2000 +++ xsane-0.60/src/xsane.h Sun Sep 24 18:04:13 2000 @@ -113,6 +113,7 @@ /* ---------------------------------------------------------------------------------------------------------------------- */ #ifdef HAVE_LIBGIMP_GIMP_H +#define GIMP_ENABLE_COMPAT_CRUFT # include <libgimp/gimp.h> # ifdef HAVE_LIBGIMP_GIMPFEATURES_H
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Wed Oct 11 2000 - 13:25:57 PDT