1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix bad C++ code. Unmark BROKEN.

Reported by:	kris
Approved by:	portmgr (marcus), fjoe (mentor, implicit)
This commit is contained in:
Alexey Dokuchaev 2004-09-20 19:30:58 +00:00
parent 550077c59e
commit c515694159
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118303
2 changed files with 39 additions and 7 deletions

View File

@ -17,14 +17,8 @@ COMMENT= The RTSP Proxy Kit is a reference implementation of an RTSP proxy
HAS_CONFIGURE= YES
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile on FreeBSD >= 5.x"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rtspproxy/rtspproxy ${PREFIX}/sbin
${INSTALL_SCRIPT} ${FILESDIR}/rtspproxy.sh ${PREFIX}/etc/rc.d/rtspproxy.sh.sample
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,38 @@
--- libapp/tlist.h.orig Mon Sep 20 15:00:01 2004
+++ libapp/tlist.h Mon Sep 20 15:00:36 2004
@@ -94,7 +94,7 @@
T& operator*( void )
{
assert( m_pList && m_pNode );
- return m_pNode->GetData();
+ return this->m_pNode->GetData();
}
protected:
Iterator( TSingleList<T>* pList, TSingleNode* pNode ) :
@@ -114,7 +114,7 @@
const T& operator*( void ) const
{
assert( m_pList && m_pNode );
- return m_pNode->GetData();
+ return this->m_pNode->GetData();
}
protected:
ConstIterator( const TSingleList<T>* pList, TSingleNode* pNode ) :
@@ -282,7 +282,7 @@
T& operator*( void )
{
assert( m_pList && m_pNode );
- return m_pNode->GetData();
+ return this->m_pNode->GetData();
}
protected:
Iterator( const TDoubleList<T>* pList, TDoubleNode* pNode ) :
@@ -302,7 +302,7 @@
const T& operator*( void ) const
{
assert( m_pList && m_pNode );
- return m_pNode->GetData();
+ return this->m_pNode->GetData();
}
protected:
ConstIterator( const TDoubleList<T>* pList, TDoubleNode* pNode ) :