浏览代码

upgrading package: ragel 1.5.1 -> 1.5.2

Ralf S. Engelschall 22 年之前
父节点
当前提交
8b148cde2c
共有 2 个文件被更改,包括 18 次插入2 次删除
  1. 14 0
      ragel/ragel.patch
  2. 4 2
      ragel/ragel.spec

+ 14 - 0
ragel/ragel.patch

@@ -0,0 +1,14 @@
+--- rlscan.lex.orig	Tue Jul  8 20:28:26 2003
++++ rlscan.lex	Tue Jul  8 20:30:06 2003
+@@ -749,11 +749,3 @@
+ 	return 1;
+ }
+ 
+-/* Dummy function to eliminate any warnings about 
+- * yyunput (which is static) being unused. */
+-void neverCalled()
+-{
+-	yyunput(0,0);
+-}
+-
+-

+ 4 - 2
ragel/ragel.spec

@@ -32,11 +32,12 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [PLUS]
 Group:        Compiler
 License:      GPL
-Version:      1.5.1
-Release:      20030622
+Version:      1.5.2
+Release:      20030708
 
 #   list of sources
 Source0:      http://www.essemage.com/ragel/ragel-%{version}.tar.gz
+Patch0:       ragel.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -61,6 +62,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     CC="%{l_cc}" \