mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 19:54:59 -04:00
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
$NetBSD: patch-ac,v 1.1 2004/06/01 15:36:50 shannonjr Exp $
|
|
|
|
--- dict-web1913-1.4/libmaa/parse.c.orig 1998-02-22 12:32:36.000000000 -0700
|
|
+++ dict-web1913-1.4/libmaa/parse.c
|
|
@@ -75,7 +75,7 @@ void prs_file( const char *filename )
|
|
|
|
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 @@ void prs_file( const char *filename )
|
|
|
|
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 @@ void prs_file( const char *filename )
|
|
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 @@ void prs_file( const char *filename )
|
|
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 );
|