patch for sane for gimp-1.1.28

From: Kevin Dalley (kevind@rahul.net)
Date: Sun Oct 22 2000 - 21:32:17 PDT

  • Next message: Dietz Proepper: "Re: Strange problem regarding remote scanning"

    I tried compiling sane with gimp-1.1.28 and ran into problems. This
    version of the library requires a newer interface. This patch is one
    way around the problem. This patch still allows sane to compile with
    gimp-1.0.

    Index: xscanimage.c
    ===================================================================
    RCS file: /cvsroot/external/sane/frontend/xscanimage.c,v
    retrieving revision 1.1.1.1.2.3
    diff -u -r1.1.1.1.2.3 xscanimage.c
    --- xscanimage.c 2000/04/05 11:34:08 1.1.1.1.2.3
    +++ xscanimage.c 2000/10/23 04:29:26
    @@ -57,6 +57,7 @@
     
     #ifdef HAVE_LIBGIMP_GIMP_H
     
    +#define GIMP_ENABLE_COMPAT_CRUFT
     #include <libgimp/gimp.h>
     
     static void query (void);

    --
    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 : Sun Oct 22 2000 - 21:20:32 PDT