pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41921: Xsane does not compile in PKGSRC current + how to fix that



>Number:         41921
>Category:       pkg
>Synopsis:       Xsane does not compile in PKGSRC current + how to fix that
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 23 06:05:00 +0000 2009
>Originator:     Petr Topiarz
>Release:        NetBSD 5.9.15 GENERIC
>Organization:
>Environment:
NetBSD  5.99.15 NetBSD 5.99.15 (GENERIC) #0: Fri Aug 14 23:02:59 PDT 2009  
builds@wb33:/home/builds/ab/HEAD/i386/200908140002Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
Xsane package version xsane-0.99.4nb7 from pkgsrc-current will not compile.
>How-To-Repeat:
cd /usr/pkgsrc/graphics/xsane
make
>Fix:
apply this patch:

--- src/xsane-back-gtk.c        2009-06-24 00:12:18.000000000 +0200
+++ src/xsane-back-gtk,c.new    2009-06-24 00:13:41.000000000 +0200
@@ -2612,10 +2612,7 @@
       continue;
     }
 
-    if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
-    {
-      gtk_widget_set_sensitive(xsane.element[i].widget, sensitive);
-    }
+    gtk_widget_set_sensitive(xsane.element[i].widget, sensitive);
   }
 
   if (xsane.xsanemode_widget)




Home | Main Index | Thread Index | Old Index