diff options
author | wiz <wiz@pkgsrc.org> | 2015-12-15 12:20:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-12-15 12:20:12 +0000 |
commit | 2b5ceaa9db3d26a89c5b454010fccbbdaa209c39 (patch) | |
tree | 0108ac513fb5661befd361a4c7625562ab730ba3 /graphics/sane-frontends | |
parent | 3ac490102c8003d3f9d8a2c09cd94d2bee8b4e2c (diff) | |
download | pkgsrc-2b5ceaa9db3d26a89c5b454010fccbbdaa209c39.tar.gz |
Fix build with current pkgsrc version of sane-backends.
Addresses PR 50562 by John D. Baker.
Diffstat (limited to 'graphics/sane-frontends')
-rw-r--r-- | graphics/sane-frontends/distinfo | 3 | ||||
-rw-r--r-- | graphics/sane-frontends/patches/patch-src_gtkglue.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/sane-frontends/distinfo b/graphics/sane-frontends/distinfo index 148c35b92f1..43ef938e6fd 100644 --- a/graphics/sane-frontends/distinfo +++ b/graphics/sane-frontends/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.12 2015/11/03 21:34:20 agc Exp $ +$NetBSD: distinfo,v 1.13 2015/12/15 12:20:12 wiz Exp $ SHA1 (sane-frontends-1.0.14.tar.gz) = 063e11df3e32d7a43161fd37026a4dc601d5482d RMD160 (sane-frontends-1.0.14.tar.gz) = 571599cbebbce53ffc00b701874d5e76dcd90467 SHA512 (sane-frontends-1.0.14.tar.gz) = 51b24a9bd6889e99419c1d6abb30cb14d8f89b6196c5147044697bdb1b39ee029bdc0d7c6e1f1e800491988aa26f658bc974b25040c49d008ca8977673c78710 Size (sane-frontends-1.0.14.tar.gz) = 231892 bytes +SHA1 (patch-src_gtkglue.c) = d4de35c61217066b2c27c570c569a3d671b6f6e7 diff --git a/graphics/sane-frontends/patches/patch-src_gtkglue.c b/graphics/sane-frontends/patches/patch-src_gtkglue.c new file mode 100644 index 00000000000..a6a828fc8f2 --- /dev/null +++ b/graphics/sane-frontends/patches/patch-src_gtkglue.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_gtkglue.c,v 1.1 2015/12/15 12:20:12 wiz Exp $ + +SANE_CAP_ALWAYS_SETTABLE was removed from the sane-backends API. + +--- src/gtkglue.c.orig 2005-04-16 13:12:07.000000000 +0000 ++++ src/gtkglue.c +@@ -1475,9 +1475,6 @@ gsg_set_sensitivity (GSGDialog * dialog, + if (!SANE_OPTION_IS_ACTIVE (opt->cap) + || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget) + continue; +- +- if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE)) +- gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); + } + } + |