rpms/ragel/devel ragel-main.patch,NONE,1.1 ragel.spec,1.15,1.16
Jeremy Hinegardner
jjh at fedoraproject.org
Sun Apr 12 01:52:24 UTC 2009
- Previous message: rpms/ragel/devel .cvsignore, 1.10, 1.11 ragel-Makefile-install.patch, 1.2, 1.3 ragel.spec, 1.14, 1.15 sources, 1.10, 1.11
- Next message: rpms/smartmontools/devel smartmontools.spec,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jjh
Update of /cvs/pkgs/rpms/ragel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18773
Modified Files:
ragel.spec
Added Files:
ragel-main.patch
Log Message:
testing fix for upstream compilation error in build environment
ragel-main.patch:
--- NEW FILE ragel-main.patch ---
diff -up ./ragel/main.cpp.fedora ./ragel/main.cpp
--- ragel/main.cpp.fedora 2009-04-11 19:19:03.000000000 -0600
+++ ragel/main.cpp 2009-04-11 19:18:34.000000000 -0600
@@ -336,7 +336,7 @@ void processArgs( int argc, const char *
printStatistics = true;
break;
case '-': {
- char *eq = strchr( pc.paramArg, '=' );
+ char *eq = strchr( (char *)pc.paramArg, '=' );
if ( eq != 0 )
*eq++ = 0;
@@ -507,7 +507,7 @@ char *makeIntermedTemplate( const char *
{
char *result = 0;
const char *templ = "ragel-XXXXXX.xml";
- char *lastSlash = strrchr( baseFileName, '/' );
+ char *lastSlash = strrchr( (char *)baseFileName, '/' );
if ( lastSlash == 0 ) {
result = new char[strlen(templ)+1];
strcpy( result, templ );
Index: ragel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ragel/devel/ragel.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ragel.spec 12 Apr 2009 00:48:52 -0000 1.15
+++ ragel.spec 12 Apr 2009 01:51:53 -0000 1.16
@@ -1,6 +1,6 @@
Name: ragel
Version: 6.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Finite state machine compiler
Group: Development/Tools
@@ -14,6 +14,7 @@
Requires: gawk
Patch0: ragel-Makefile-install.patch
+Patch1: ragel-main.patch
%description
Ragel compiles finite state machines from regular languages into executable C,
@@ -26,6 +27,7 @@
%setup -q
%patch0 -p0
+%patch1 -p0
%build
# set the names of the other programming commandline programs
@@ -58,6 +60,9 @@
%{_mandir}/*/*
%changelog
+* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-2
+- add patch for main.cpp
+
* Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-1
- Update to 6.4
- Previous message: rpms/ragel/devel .cvsignore, 1.10, 1.11 ragel-Makefile-install.patch, 1.2, 1.3 ragel.spec, 1.14, 1.15 sources, 1.10, 1.11
- Next message: rpms/smartmontools/devel smartmontools.spec,1.52,1.53
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list