mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix build on 5.x and unbreak
PR: ports/66488 Submitted by: Arne Woerner <arne_woerner@yahoo.com>
This commit is contained in:
parent
28d24d2e67
commit
9efe26073b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108911
2 changed files with 13 additions and 13 deletions
|
@ -45,10 +45,6 @@ MANCOMPRESSED= no
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500113
|
||||
BROKEN= "Does not compile (bad C++ code)"
|
||||
.endif
|
||||
|
||||
CFLAGS+= -D__BSD_VISIBLE=1
|
||||
CONFIGURE_ARGS+= --with-i18n --disable-pedantic --without-perl
|
||||
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/symboltable.cc.orig Fri Feb 21 23:32:21 2003
|
||||
+++ src/symboltable.cc Fri Feb 21 23:35:23 2003
|
||||
@@ -13,6 +13,8 @@
|
||||
--- src/symboltable.cc.orig Tue Nov 13 16:48:07 2001
|
||||
+++ src/symboltable.cc Tue May 11 11:19:40 2004
|
||||
@@ -7,11 +7,15 @@
|
||||
* $Id: symboltable.cc,v 2.2 2001/10/18 01:38:55 arensb Exp $
|
||||
*/
|
||||
|
||||
+#include <stdio.h>
|
||||
+#include <wchar.h>
|
||||
#include "config.h"
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <cstdlib> // For malloc() and friends
|
||||
#include "symboltable.h"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
static char *make_c_string(const string &s);
|
||||
|
||||
map<string,string> table; /* XXX - Is this going to cause problems on
|
||||
|
|
Loading…
Add table
Reference in a new issue