]> git.pld-linux.org Git - packages/dict-web1913.git/commitdiff
- concatenation of string literals with __FUNCTION__ is deprecated master
authorpascalek <pascalek@pld-linux.org>
Fri, 11 May 2007 19:15:52 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dict-web1913-gcc.patch -> 1.1

dict-web1913-gcc.patch [new file with mode: 0644]

diff --git a/dict-web1913-gcc.patch b/dict-web1913-gcc.patch
new file mode 100644 (file)
index 0000000..2fe21e3
--- /dev/null
@@ -0,0 +1,39 @@
+diff -Nur dict-web1913-1.4.orig/libmaa/parse.c dict-web1913-1.4.chng/libmaa/parse.c
+--- dict-web1913-1.4.orig/libmaa/parse.c       1998-02-22 20:32:36.000000000 +0100
++++ dict-web1913-1.4.chng/libmaa/parse.c       2007-05-11 21:11:25.000000000 +0200
+@@ -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 );
This page took 0.080299 seconds and 4 git commands to generate.