diff options
author | johans <johans@FreeBSD.org> | 2009-03-22 02:56:07 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2009-03-22 02:56:07 +0800 |
commit | 40339089e8648bc14ba0fa9dbefe1942eda4a2dd (patch) | |
tree | 9a46427abdd972a78c2ef462d8deab29d43bda77 /databases/xbsql | |
parent | f75f89ce9c4e58b5702e186e954f587d9ec5d5b0 (diff) | |
download | freebsd-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/Makefile | 2 |
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) |