unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 5dcf3fc2eaafce58f91432c2c79f82c3e15e5b2d 622 bytes (raw)
name: packages/patches/tao-fix-parser-types.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
Taken from Debian:
https://salsa.debian.org/multimedia-team/taopm/-/raw/master/debian/patches/02-fix-parser-yyerror.diff

Description: Use a constant char, dummy comment.
Author: Tiago Bortoletto Vaz <tiago@debian.org>
Last-Update: 2013-04-17
--- a/taoparse/taoparser.yy
+++ b/taoparse/taoparser.yy
@@ -23,7 +23,7 @@
 #include <stdio.h>
 #include "taoparserdefs.h"
 
-int yyerror(char *s);
+int yyerror(const char *s);
 
 //#ifdef LINUX
 int yylex(void);
@@ -2924,7 +2924,7 @@
     } 
 
 
-int yyerror (char *s)
+int yyerror (const char *s)
     {
     parse_error(what_I_expected_here);
     std::cout << "PARSE_FAILED";

debug log:

solving 5dcf3fc2eaafce58f91432c2c79f82c3e15e5b2d ...
found 5dcf3fc2eaafce58f91432c2c79f82c3e15e5b2d in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).