summaryrefslogtreecommitdiff
path: root/data/dict/function.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/dict/function.diff')
-rw-r--r--data/dict/function.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/data/dict/function.diff b/data/dict/function.diff
new file mode 100644
index 000000000..779cff617
--- /dev/null
+++ b/data/dict/function.diff
@@ -0,0 +1,39 @@
+diff -r -u dictd-1.9.9/libmaa/parse.c dictd-1.9.9+iPhone/libmaa/parse.c
+--- dictd-1.9.9/libmaa/parse.c 2002-08-02 19:43:15.000000000 +0000
++++ dictd-1.9.9+iPhone/libmaa/parse.c 2008-01-01 23:41:00.000000000 +0000
+@@ -75,7 +75,7 @@
+
+ if (!cpp) {
+ if ((cpp = getenv( "KHEPERA_CPP" ))) {
+- PRINTF(MAA_PARSE,(__FUNCTION__ ": Using KHEPERA_CPP from %s\n",cpp));
++ PRINTF(MAA_PARSE,("%s: Using KHEPERA_CPP from %s\n",__FUNCTION__,cpp));
+ }
+
+ /* Always look for gcc's cpp first, since
+@@ -86,7 +86,7 @@
+
+ if (fread( buf, 1, 1023, tmp ) > 0) {
+ if ((t = strchr( buf, '\n' ))) *t = '\0';
+- PRINTF(MAA_PARSE,(__FUNCTION__ ": Using GNU cpp from %s\n",buf));
++ PRINTF(MAA_PARSE,("%s: Using GNU cpp from %s\n",__FUNCTION__,buf));
+ cpp = str_find( buf );
+ extra_options = "-nostdinc -nostdinc++";
+ }
+@@ -103,7 +103,7 @@
+ for (pt = cpps; **pt; pt++) {
+ if (!access( *pt, X_OK )) {
+ PRINTF(MAA_PARSE,
+- (__FUNCTION__ ": Using system cpp from %s\n",*pt));
++ ("%s: Using system cpp from %s\n",__FUNCTION__,*pt));
+ cpp = *pt;
+ break;
+ }
+@@ -123,7 +123,7 @@
+ sprintf( buffer, "%s -I. %s %s 2>/dev/null", cpp,
+ _prs_cpp_options ? _prs_cpp_options : "", filename );
+
+- PRINTF(MAA_PARSE,(__FUNCTION__ ": %s\n",buffer));
++ PRINTF(MAA_PARSE,("%s: %s\n",__FUNCTION__,buffer));
+ if (!(yyin = popen( buffer, "r" )))
+ err_fatal_errno( __FUNCTION__,
+ "Cannot open \"%s\" for read\n", filename );