gv: fix build with xaw3d 1.6

This commit is contained in:
Juergen Daubert 2012-02-06 13:10:49 +01:00
parent 3f1d6bfa06
commit 0a1a5c7979
3 changed files with 18 additions and 2 deletions

View File

@ -1 +1,2 @@
51d23bb11833125ba40e474af58008ef gv-3.7.3-libXaw3d-1.6.patch
98ae3e9ce338b64ba5ab622389c5960e gv-3.7.3.tar.gz

View File

@ -5,11 +5,13 @@
name=gv
version=3.7.3
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)
release=2
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz
$name-$version-libXaw3d-1.6.patch)
build () {
cd $name-$version
patch -p0 -i $SRC/$name-$version-libXaw3d-1.6.patch
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install

View File

@ -0,0 +1,13 @@
# https://savannah.gnu.org/bugs/index.php?35353
--- src/Scrollbar.c
+++ src/Scrollbar.c
@@ -1006,7 +1006,7 @@
TOPLOC = newtop;
SHOWNLENGTH = newbot-newtop+1;
- (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
+ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
ENDMESSAGE(Redisplay)
}