38414950de
Despite the upstream commit message in patch-src_Scrollbar.c the change not only fix the build for older libXaw3d versions but also for Xaw-Xpm.
20 lines
633 B
C
20 lines
633 B
C
$NetBSD: patch-src_Scrollbar.c,v 1.1 2015/12/03 17:34:56 leot Exp $
|
|
|
|
Fix compilation error with Xaw-Xpm:
|
|
|
|
http://git.savannah.gnu.org/cgit/gv.git/commit/gv/src?id=0155aaac7a2e87e253f9203944808388ecffe9a3
|
|
|
|
--- src/Scrollbar.c.orig 2012-04-01 14:43:24.000000000 +0000
|
|
+++ src/Scrollbar.c
|
|
@@ -1006,7 +1006,11 @@ static void Redisplay(Widget w, XEvent *
|
|
TOPLOC = newtop;
|
|
SHOWNLENGTH = newbot-newtop+1;
|
|
|
|
+#if defined(XtRRelief)
|
|
(*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
|
|
+#else
|
|
+ (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
|
|
+#endif
|
|
|
|
ENDMESSAGE(Redisplay)
|
|
}
|