Browse Source

academic/itex2mml: Remove obsolete patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/47/head
Andrew Clemons 8 years ago
committed by Willy Sudiarto Raharjo
parent
commit
517db4b734
  1. 21
      academic/itex2mml/bison3-fix.patch
  2. 3
      academic/itex2mml/itex2mml.SlackBuild

21
academic/itex2mml/bison3-fix.patch

@ -1,21 +0,0 @@
diff -wbBur itexToMML/itex-src/itex2MML.y itexToMML.my/itex-src/itex2MML.y
--- itexToMML/itex-src/itex2MML.y 2014-01-05 21:56:04.000000000 +0400
+++ itexToMML.my/itex-src/itex2MML.y 2014-02-03 21:21:16.455644069 +0400
@@ -2,6 +2,8 @@
* itex2MML.y last modified 1/5/2014
*/
+%parse-param {char **ret_str}
+
%{
#include <stdio.h>
#include <string.h>
@@ -27,7 +29,7 @@
void (*itex2MML_error) (const char * msg) = itex2MML_default_error;
- static void yyerror (char * s)
+ static void yyerror (char **ret_str, char * s)
{
char * msg = itex2MML_copy3 (s, " at token ", yytext);
if (itex2MML_error)

3
academic/itex2mml/itex2mml.SlackBuild

@ -48,9 +48,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix for bison-3 (thanks to Arch ;-)
patch -p2 < $CWD/bison3-fix.patch
if [ "$RUBY" = "YES" ]; then
sed -i \
-e 's|require "rbconfig"; ||' \

Loading…
Cancel
Save