science/mbdyn: fix build on powerpc64*
In file included from bulk.cc:35:
In file included from ./dataman.h:47:
In file included from ./mbpar.h:107:
In file included from ./../../libraries/libmbutil/parsinc.h:108:
./../../libraries/libmbutil/parser.h:275:3: error: expected identifier
FIRSTARG,
^
/usr/include/machine/frame.h:112:18: note: expanded from macro 'FIRSTARG'
^
1 error generated.
This commit is contained in:
@@ -13,7 +13,6 @@ LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_powerpc= Does not compile on powerpc
|
||||
BROKEN_powerpc64= fails to compile: libraries/libmbutil/parser.h:275:3: error: expected identifier
|
||||
|
||||
BUILD_DEPENDS= libatomic_ops>0:devel/libatomic_ops
|
||||
LIB_DEPENDS= libltdl.so:devel/libltdl \
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- libraries/libmbutil/parser.h.orig 2021-11-08 01:16:41 UTC
|
||||
+++ libraries/libmbutil/parser.h
|
||||
@@ -272,7 +272,7 @@ class HighParser { (public)
|
||||
UNKNOWN = -1,
|
||||
|
||||
DESCRIPTION,
|
||||
- FIRSTARG,
|
||||
+ MBDYN_FIRSTARG,
|
||||
ARG,
|
||||
LASTARG,
|
||||
NOARGS,
|
||||
Reference in New Issue
Block a user