fix another compiler warning #138321

This commit is contained in:
Than Ngo 2004-11-30 15:32:49 +00:00
parent 82d6ce8fa5
commit 1190076620
2 changed files with 23 additions and 1 deletions

17
Xaw3d-1.5E-lex.patch Normal file
View File

@ -0,0 +1,17 @@
--- Xaw3d-1.5E/xc/lib/Xaw3d/laylex.l.orig 2004-11-30 16:27:01.853702426 +0100
+++ Xaw3d-1.5E/xc/lib/Xaw3d/laylex.l 2004-11-30 16:27:29.298646332 +0100
@@ -86,12 +86,14 @@
return i;
}
+static void
yysetsource(s)
char *s;
{
yysourcebase = yysource = s;
}
+static void
yyerror(s)
char *s;
{

View File

@ -3,7 +3,7 @@
Summary: A version of the MIT Athena widget set for X.
Name: Xaw3d
Version: 1.5E
Release: 1
Release: 2
Group: System Environment/Libraries
Source: http://www.visi.com/~hawkeyed/X/Xaw3d-%{version}.tar.gz
Source1: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6/Xaw3d-1.3.tar.gz
@ -17,6 +17,7 @@ Patch4: Xaw3d-1.3-misc.patch
Patch5: Xaw3d-ia64.patch
Patch6: Xaw3d-1.5-i18n.patch
Patch7: Xaw3d-1.5-scrollbar2.patch
Patch8: Xaw3d-1.5E-lex.patch
License: MIT
Prefix: /usr
Prereq: fileutils
@ -78,6 +79,7 @@ ln -s .. X11
%patch7 -p4
popd
%endif
%patch8 -p4
%build
# Xaw3d7
@ -142,6 +144,9 @@ fi
%ghost /usr/X11R6/include/Xaw3d
%changelog
* Tue Nov 30 2004 Than Ngo <than@redhat.com> 1.5E-2
- fix another compiler warning #138321
* Tue Nov 30 2004 Than Ngo <than@redhat.com> 1.5E-1
- update to 1.5E, #130310
- fix compiler warning #110766