Add a patch that fixes build for certain GCC versions, i.e. the

one available on FreeBSD 5.5.

PR:		ports/118705
Submitted by:	delphij
Approved by:	maintainer
This commit is contained in:
Xin LI 2007-12-15 02:31:19 +00:00
parent 1c7bd9564f
commit 5c4dd9bc72
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203701

View file

@ -0,0 +1,11 @@
--- src/fortranscanner.cpp.orig 2007-10-26 03:21:58.000000000 -0700
+++ src/fortranscanner.cpp 2007-12-14 12:23:07.750937915 -0800
@@ -4226,7 +4226,7 @@
{
//cout<<"addFortranParameter(): "<<name<<" DOCS:"<<(docs.isNull()?QString("null"):docs)<<endl;
Argument *ret = 0;
- if (current_root->argList==0) return FALSE;
+ if (current_root->argList==0) return NULL;
ArgumentListIterator ali(*current_root->argList);
Argument *a;
for (ali.toFirst();(a=ali.current());++ali)