1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

- Fix build with gcc4.2

PR:		119707
Submitted by:	Philippe Audeoud <jadawin@tuxaco.net>
This commit is contained in:
Martin Wilke 2008-01-21 11:41:58 +00:00
parent 9bf26dc2c0
commit 8bf971d4ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205970
3 changed files with 25 additions and 8 deletions

View File

@ -19,7 +19,7 @@ COMMENT= H323 voice&video proxy
LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib \
h323_r.1:${PORTSDIR}/net/openh323 \
pcre++.0:${PORTSDIR}/devel/pcre++
pcre\\+\\+.0:${PORTSDIR}/devel/pcre++
WRKSRC= ${WRKDIR}/versuch
@ -27,10 +27,4 @@ USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- Aaa.h.orig 2008-01-15 13:56:51.000000000 +0000
+++ Aaa.h 2008-01-15 13:57:41.000000000 +0000
@@ -95,7 +95,7 @@
class TCDR
{
public:
- TCDR::TCDR() { DisconnectCause = 0; StartTime = 0; StopTime = 0; };
+ TCDR() { DisconnectCause = 0; StartTime = 0; StopTime = 0; };
unsigned int CallRef;
unsigned int StartTime, StopTime, IncOctets, OutOctets, RouteRetries;
int FastStart, Tunneling;

View File

@ -0,0 +1,12 @@
--- Utils.cxx.orig 2008-01-15 16:01:46.000000000 +0000
+++ Utils.cxx 2008-01-15 16:02:07.000000000 +0000
@@ -10,7 +10,8 @@
#include "Utils.h"
#include <fstream>
-
+#include <assert.h>
+
void wtrim(string& str) {
const char* sp_chars = " \t\r\n";
unsigned int fst_notsp = str.find_first_not_of(sp_chars);