diff options
author | danfe <danfe@FreeBSD.org> | 2004-09-21 03:30:58 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-09-21 03:30:58 +0800 |
commit | af3ea59084a69d232761454e304fe0aaf0227465 (patch) | |
tree | ff71682b6cfd17ee496f11734a1d07b377d22f3e /net/osrtspproxy | |
parent | eb21f27cd6169111c5b520b6944a779088d1ceb8 (diff) | |
download | freebsd-ports-gnome-af3ea59084a69d232761454e304fe0aaf0227465.tar.gz freebsd-ports-gnome-af3ea59084a69d232761454e304fe0aaf0227465.tar.zst freebsd-ports-gnome-af3ea59084a69d232761454e304fe0aaf0227465.zip |
Fix bad C++ code. Unmark BROKEN.
Reported by: kris
Approved by: portmgr (marcus), fjoe (mentor, implicit)
Diffstat (limited to 'net/osrtspproxy')
-rw-r--r-- | net/osrtspproxy/Makefile | 8 | ||||
-rw-r--r-- | net/osrtspproxy/files/patch-libapp-tlist.h | 38 |
2 files changed, 39 insertions, 7 deletions
diff --git a/net/osrtspproxy/Makefile b/net/osrtspproxy/Makefile index 497db0f159cb..91350d9604b1 100644 --- a/net/osrtspproxy/Makefile +++ b/net/osrtspproxy/Makefile @@ -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> diff --git a/net/osrtspproxy/files/patch-libapp-tlist.h b/net/osrtspproxy/files/patch-libapp-tlist.h new file mode 100644 index 000000000000..dcd72c4f0e81 --- /dev/null +++ b/net/osrtspproxy/files/patch-libapp-tlist.h @@ -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 ) : |