diff options
author | pav <pav@FreeBSD.org> | 2004-05-11 17:28:50 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-11 17:28:50 +0800 |
commit | ce252df7d76322ee4c4854a64a50f5af1c7846a6 (patch) | |
tree | 931e050bbe53afb50f3b971ba8b68e9761a64dda /palm/coldsync | |
parent | b8668a38f7d1408f31330496c2c0f7bf3c8a410a (diff) | |
download | freebsd-ports-graphics-ce252df7d76322ee4c4854a64a50f5af1c7846a6.tar.gz freebsd-ports-graphics-ce252df7d76322ee4c4854a64a50f5af1c7846a6.tar.zst freebsd-ports-graphics-ce252df7d76322ee4c4854a64a50f5af1c7846a6.zip |
- Fix build on 5.x and unbreak
PR: ports/66488
Submitted by: Arne Woerner <arne_woerner@yahoo.com>
Diffstat (limited to 'palm/coldsync')
-rw-r--r-- | palm/coldsync/Makefile | 4 | ||||
-rw-r--r-- | palm/coldsync/files/patch-src_symboltable.cc | 22 |
2 files changed, 13 insertions, 13 deletions
diff --git a/palm/coldsync/Makefile b/palm/coldsync/Makefile index f9ab749635f..83949d63838 100644 --- a/palm/coldsync/Makefile +++ b/palm/coldsync/Makefile @@ -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 diff --git a/palm/coldsync/files/patch-src_symboltable.cc b/palm/coldsync/files/patch-src_symboltable.cc index a1dae9425f0..f39b7b19826 100644 --- a/palm/coldsync/files/patch-src_symboltable.cc +++ b/palm/coldsync/files/patch-src_symboltable.cc @@ -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 |