aboutsummaryrefslogtreecommitdiffstats
path: root/databases/xbsql
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2009-03-22 02:56:07 +0800
committerjohans <johans@FreeBSD.org>2009-03-22 02:56:07 +0800
commit40339089e8648bc14ba0fa9dbefe1942eda4a2dd (patch)
tree9a46427abdd972a78c2ef462d8deab29d43bda77 /databases/xbsql
parentf75f89ce9c4e58b5702e186e954f587d9ec5d5b0 (diff)
downloadfreebsd-ports-graphics-40339089e8648bc14ba0fa9dbefe1942eda4a2dd.tar.gz
freebsd-ports-graphics-40339089e8648bc14ba0fa9dbefe1942eda4a2dd.tar.zst
freebsd-ports-graphics-40339089e8648bc14ba0fa9dbefe1942eda4a2dd.zip
Avoid define names that conflict with standard system headers:
T_DIVIDE is defined in machine/trap.h (included from sys/signal.h) Reported by: pav (from pointyhat)
Diffstat (limited to 'databases/xbsql')
-rw-r--r--databases/xbsql/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/xbsql/Makefile b/databases/xbsql/Makefile
index 28527fe952b..f9a28b23b9f 100644
--- a/databases/xbsql/Makefile
+++ b/databases/xbsql/Makefile
@@ -30,6 +30,8 @@ post-patch:
.for mkin in ${LB2FIX}
@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/${mkin}
.endfor
+ @${REINPLACE_CMD} -e "s|T_DIVIDE|&S|" ${WRKSRC}/xbsql/xbsql.y \
+ ${WRKSRC}/xbsql/lex.yy.c
post-install:
.if !defined(NOPORTDOCS)