rpms/byacc/devel byacc.spec,1.7,1.8 skeleton.c.diff,1.1,1.2
Petr Machata (pmachata)
fedora-extras-commits at redhat.com
Mon Jul 14 11:11:29 UTC 2008
Author: pmachata
Update of /cvs/pkgs/rpms/byacc/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28931/devel
Modified Files:
byacc.spec skeleton.c.diff
Log Message:
fix the patch so that it applies cleanly
Index: byacc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/byacc/devel/byacc.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- byacc.spec 14 Jul 2008 10:45:25 -0000 1.7
+++ byacc.spec 14 Jul 2008 11:10:29 -0000 1.8
@@ -3,7 +3,7 @@
Summary: Berkeley Yacc, a parser generator
Name: byacc
Version: 1.9.%{byaccdate}
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Public Domain
Group: Development/Tools
URL: http://invisible-island.net/byacc/byacc.html
@@ -20,7 +20,7 @@
%prep
%setup -q -n byacc-%{byaccdate}
-%patch1 -p3
+%patch1 -p1
%build
%configure --disable-dependency-tracking
@@ -49,7 +49,7 @@
%{_mandir}/man1/byacc.1*
%changelog
-* Mon Jul 14 2008 Petr Machata <pmachata at redhat.com> - 1.9.20070509-3
+* Mon Jul 14 2008 Petr Machata <pmachata at redhat.com> - 1.9.20070509-4
- Add a patch that fixes ancient buffer overflow
- Resolves: #454583
skeleton.c.diff:
Index: skeleton.c.diff
===================================================================
RCS file: /cvs/pkgs/rpms/byacc/devel/skeleton.c.diff,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- skeleton.c.diff 14 Jul 2008 10:45:25 -0000 1.1
+++ skeleton.c.diff 14 Jul 2008 11:10:29 -0000 1.2
@@ -1,17 +1,15 @@
-===================================================================
-RCS file: /usr/OpenBSD/cvs/src/usr.bin/yacc/skeleton.c,v
-retrieving revision 1.28
-retrieving revision 1.29
-diff -u -r1.28 -r1.29
---- src/usr.bin/yacc/skeleton.c 2007/09/03 21:14:58 1.28
-+++ src/usr.bin/yacc/skeleton.c 2008/07/08 15:06:50 1.29
-@@ -63,4 +63,5 @@
+diff -urp byacc-20070509/skeleton.c byacc-20070509-pm/skeleton.c
+--- byacc-20070509/skeleton.c 2005-05-05 01:39:36.000000000 +0200
++++ byacc-20070509-pm/skeleton.c 2008-07-14 13:03:36.000000000 +0200
+@@ -21,6 +21,7 @@ char *banner[] =
"#endif",
+ "",
"#include <stdlib.h>",
+ "#include <string.h>",
+ "",
"#define YYBYACC 1",
- "#define YYMAJOR 1",
-@@ -346,7 +347,10 @@
+ CONCAT1("#define YYMAJOR ", YYMAJOR),
+@@ -275,7 +276,10 @@ char *body[] =
" YYPREFIX, yystate, yyn, yyrule[yyn]);",
"#endif",
" yym = yylen[yyn];",
@@ -23,3 +21,4 @@
" switch (yyn)",
" {",
0
+Only in byacc-20070509-pm/: skeleton.c~
More information about the fedora-extras-commits
mailing list