Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209772 | Differences between
and this patch

Collapse All | Expand All

(-)grcompiler/compiler/ParserTreeWalker.cpp (-2 / +2 lines)
Lines 213-221 Link Here
213
		exit(-1);
213
		exit(-1);
214
		case 0 : 
214
		case 0 : 
215
			if (m_verbose)
215
			if (m_verbose)
216
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),"-V",staFileName.c_str(),tmpgdl,0); // this is the code the child runs
216
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),"-I"PKGDATADIR,"-V",staFileName.c_str(),tmpgdl,0); // this is the code the child runs
217
			else
217
			else
218
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),staFileName.c_str(),tmpgdl,0); // this is 
218
				testexec = execlp(staGdlppFile.c_str(),staGdlppFile.c_str(),"-I"PKGDATADIR,staFileName.c_str(),tmpgdl,0); // this is 
219
			cout << "// exec retval:" << testexec << ", errno:" << strerror(errno) << "(" << errno << ")\n";
219
			cout << "// exec retval:" << testexec << ", errno:" << strerror(errno) << "(" << errno << ")\n";
220
			cout << "// tmpfile " << tmpgdl << endl;
220
			cout << "// tmpfile " << tmpgdl << endl;
221
			cout << "// file " << staFileName.c_str() << endl;
221
			cout << "// file " << staFileName.c_str() << endl;
(-)grcompiler/compiler/Makefile.am (-1 / +1 lines)
Lines 1-4 Link Here
1
AM_CPPFLAGS = -I@srcdir@/Generic -I@srcdir@/Grammar
1
AM_CPPFLAGS = -I@srcdir@/Generic -I@srcdir@/Grammar -DPKGDATADIR=\"$(pkgdatadir)\"
2
2
3
SUBDIRS = Generic Grammar
3
SUBDIRS = Generic Grammar
4
LIBS = @LIBS@ @LIBICONV@ -LGeneric -LGrammar -lgeneric -lparser
4
LIBS = @LIBS@ @LIBICONV@ -LGeneric -LGrammar -lgeneric -lparser

Return to bug 209772