gv: fix build with xaw3d 1.6
This commit is contained in:
parent
3f1d6bfa06
commit
0a1a5c7979
@ -1 +1,2 @@
|
||||
51d23bb11833125ba40e474af58008ef gv-3.7.3-libXaw3d-1.6.patch
|
||||
98ae3e9ce338b64ba5ab622389c5960e gv-3.7.3.tar.gz
|
||||
|
@ -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
|
||||
|
13
gv/gv-3.7.3-libXaw3d-1.6.patch
Normal file
13
gv/gv-3.7.3-libXaw3d-1.6.patch
Normal 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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user