<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[142169] trunk/dports/audio/mpeg4ip</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/142169">142169</a></dd>
<dt>Author</dt> <dd>khindenburg@macports.org</dd>
<dt>Date</dt> <dd>2015-11-05 06:27:55 -0800 (Thu, 05 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>mpeg4ip: add patch to allow building on recent OS versions #42149 (note this software is unmaintained)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsaudiompeg4ipPortfile">trunk/dports/audio/mpeg4ip/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsaudiompeg4ipfilesmpeg4ip1501gcc43patch">trunk/dports/audio/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc43.patch</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsaudiompeg4ipPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/audio/mpeg4ip/Portfile (142168 => 142169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/mpeg4ip/Portfile        2015-11-05 12:29:58 UTC (rev 142168)
+++ trunk/dports/audio/mpeg4ip/Portfile        2015-11-05 14:27:55 UTC (rev 142169)
</span><span class="lines">@@ -61,7 +61,8 @@
</span><span class="cx">                 patch-common-video-iso-mpeg4-src-vtc_ztq_QMInit_cpp.diff \
</span><span class="cx">                 patch-common-video-iso-mpeg4-src-vtc_ztq_QMUtils_cpp.diff \
</span><span class="cx">                 patch-common-video-iso-mpeg4-src-vtc_ztq_decQM_cpp.diff \
</span><del>-                patch-common-video-iso-mpeg4-src-vtc_ztq_encQM_cpp.diff
</del><ins>+                patch-common-video-iso-mpeg4-src-vtc_ztq_encQM_cpp.diff \
+        mpeg4ip-1.5.0.1-gcc43.patch
</ins><span class="cx"> 
</span><span class="cx"> configure.cmd   ./bootstrap \
</span><span class="cx">                 --disable-player \
</span></span></pre></div>
<a id="trunkdportsaudiompeg4ipfilesmpeg4ip1501gcc43patch"></a>
<div class="addfile"><h4>Added: trunk/dports/audio/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc43.patch (0 => 142169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/audio/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc43.patch                                (rev 0)
+++ trunk/dports/audio/mpeg4ip/files/mpeg4ip-1.5.0.1-gcc43.patch        2015-11-05 14:27:55 UTC (rev 142169)
</span><span class="lines">@@ -0,0 +1,313 @@
</span><ins>+--- common/video/iso-mpeg4/include/bitstrm.hpp
++++ common/video/iso-mpeg4/include/bitstrm.hpp
+@@ -45,8 +45,8 @@
+ #ifndef _BITSTREAM_HPP_
+ #define _BITSTREAM_HPP_
+ #include &quot;inbits.h&quot;
+-#include &lt;istream.h&gt;
+-#include &lt;ostream.h&gt;
++#include &lt;istream&gt;
++#include &lt;ostream&gt;

+ class CIOBitStream
+ {
+--- common/video/iso-mpeg4/include/entropy.hpp
++++ common/video/iso-mpeg4/include/entropy.hpp
+@@ -39,8 +39,10 @@
+ #ifndef __ENTROPY_HPP_
+ #define __ENTROPY_HPP_

+-#include &lt;istream.h&gt;
+-#include &lt;ostream.h&gt;
++#include &lt;istream&gt;
++#include &lt;ostream&gt;
++
++using namespace std;

+ class CInBitStream;
+ class COutBitStream;
+--- common/video/iso-mpeg4/include/vopseenc.hpp
++++ common/video/iso-mpeg4/include/vopseenc.hpp
+@@ -79,6 +79,8 @@

+ #include &quot;tm5rc.hpp&quot;

++using namespace std;
++
+ class CFwdBlockDCT;

+ // HHI Schueuer:  scan selection classes to support the sadct
+--- common/video/iso-mpeg4/src/app_encoder_encoder.cpp
++++ common/video/iso-mpeg4/src/app_encoder_encoder.cpp
+@@ -99,7 +99,7 @@

+ #include &quot;mode.hpp&quot;
+ #include &quot;tm5rc.hpp&quot;
+-#include &quot;fstream.h&quot;
++#include &quot;fstream&quot;
+ #include &quot;sesenc.hpp&quot;
+ // #include &quot;encoder/tps_sesenc.hpp&quot; // deleted by Sharp (98/2/12)

+--- common/video/iso-mpeg4/src/sys_encoder_errenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_errenc.cpp
+@@ -54,7 +54,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_gmc_enc_util.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_gmc_enc_util.cpp
+@@ -46,7 +46,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &lt;assert.h&gt;

+ #include &quot;typeapi.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_mbenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_mbenc.cpp
+@@ -75,7 +75,7 @@

+ #include &lt;stdlib.h&gt;
+ #include &lt;math.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+ #include &quot;mode.hpp&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_mbinterlace.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_mbinterlace.cpp
+@@ -60,7 +60,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_mcenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_mcenc.cpp
+@@ -53,7 +53,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_motest.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_motest.cpp
+@@ -67,7 +67,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_mvenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_mvenc.cpp
+@@ -44,7 +44,7 @@

+ **************************************************************************/
+ #include &lt;stdio.h&gt;
+-#include &lt;fstream.h&gt;
++#include &lt;fstream&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;

+--- common/video/iso-mpeg4/src/sys_encoder_padenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_padenc.cpp
+@@ -43,7 +43,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_sesenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_sesenc.cpp
+@@ -83,8 +83,8 @@
+ #include &quot;stdlib.h&quot;
+ #include &quot;stdio.h&quot;
+ #include &quot;math.h&quot;
+-#include &quot;fstream.h&quot;
+-#include &quot;ostream.h&quot;
++#include &quot;fstream&quot;
++#include &quot;ostream&quot;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_sptenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_sptenc.cpp
+@@ -40,7 +40,7 @@
+ *************************************************************************/

+ #include &lt;stdio.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;

+--- common/video/iso-mpeg4/src/sys_encoder_tm5rc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_tm5rc.cpp
+@@ -52,7 +52,7 @@

+ #include &lt;stdio.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &lt;math.h&gt;
+ #include &quot;header.h&quot;
+ #include &quot;typeapi.h&quot;
+--- common/video/iso-mpeg4/src/sys_encoder_vopmbenc.cpp
++++ common/video/iso-mpeg4/src/sys_encoder_vopmbenc.cpp
+@@ -73,7 +73,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_error.cpp
++++ common/video/iso-mpeg4/src/sys_error.cpp
+@@ -35,7 +35,7 @@
+ #include &lt;stdio.h&gt;
+ #include &lt;math.h&gt;
+ #include &lt;stdlib.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;

+ #include &quot;typeapi.h&quot;
+ #include &quot;codehead.h&quot;
+--- common/video/iso-mpeg4/src/sys_mode.cpp
++++ common/video/iso-mpeg4/src/sys_mode.cpp
+@@ -50,7 +50,7 @@


+ #include &lt;string.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &lt;math.h&gt;
+ #include &quot;typeapi.h&quot;
+ #include &quot;mode.hpp&quot;
+--- common/video/iso-mpeg4/src/sys_tps_enhcbuf.cpp
++++ common/video/iso-mpeg4/src/sys_tps_enhcbuf.cpp
+@@ -36,7 +36,7 @@
+ *************************************************************************/

+ #include &lt;stdio.h&gt;
+-#include &lt;fstream.h&gt;
++#include &lt;fstream&gt;
+ #include &lt;stdlib.h&gt;

+ #include &quot;typeapi.h&quot;
+--- common/video/iso-mpeg4/src/tools_entropy_bitstrm.cpp
++++ common/video/iso-mpeg4/src/tools_entropy_bitstrm.cpp
+@@ -42,8 +42,8 @@

+ *************************************************************************/

+-#include &lt;fstream.h&gt;
+-#include &lt;iostream.h&gt;
++#include &lt;fstream&gt;
++#include &lt;iostream&gt;
+ #include &lt;stdio.h&gt;
+ #include &lt;stdlib.h&gt;
+ #include &quot;typeapi.h&quot;
+--- common/video/iso-mpeg4/src/tools_entropy_huffman.cpp
++++ common/video/iso-mpeg4/src/tools_entropy_huffman.cpp
+@@ -55,7 +55,7 @@
+ #include &quot;bitstrm.hpp&quot;

+ #include &quot;vlc.hpp&quot;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #ifdef __MFC_
+ #ifdef _DEBUG
+ #undef THIS_FILE
+--- common/video/iso-mpeg4/src/tools_sadct_sadct.cpp
++++ common/video/iso-mpeg4/src/tools_sadct_sadct.cpp
+@@ -37,7 +37,7 @@
+ #include &quot;dct.hpp&quot;
+ #include &lt;math.h&gt;
+ #if defined(__DEBUG_SADCT_) &amp;&amp; !defined(NDEBUG)
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #endif
+ #ifdef __MFC_
+ #ifdef _DEBUG
+--- common/video/iso-mpeg4/src/type_yuvac.cpp
++++ common/video/iso-mpeg4/src/type_yuvac.cpp
+@@ -39,9 +39,11 @@

+ *************************************************************************/

+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &quot;typeapi.h&quot;

++using namespace std;
++
+ #ifdef __MFC_
+ #ifdef _DEBUG
+ #undef THIS_FILE
+--- common/video/iso-mpeg4/src/type_yuvai.cpp
++++ common/video/iso-mpeg4/src/type_yuvai.cpp
+@@ -37,7 +37,9 @@
+ *************************************************************************/

+ #include &quot;typeapi.h&quot;
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
++
++using namespace std;

+ #ifdef __MFC_
+ #ifdef _DEBUG
+--- common/video/iso-mpeg4/src/vtc_main_vtcenc.cpp
++++ common/video/iso-mpeg4/src/vtc_main_vtcenc.cpp
+@@ -57,7 +57,7 @@
+ #include &lt;math.h&gt;
+ #include &lt;assert.h&gt;
+ // begin: added by Sharp (99/2/16)
+-#include &lt;iostream.h&gt;
++#include &lt;iostream&gt;
+ #include &lt;sys/stat.h&gt;
+ // end: added by Sharp (99/2/16)

+--- player/lib/audio/faad/Makefile.am
++++ player/lib/audio/faad/Makefile.am
+@@ -33,6 +33,6 @@
+         transfo.h\
+         util.h
+ INCLUDES = -I$(top_srcdir)/include
+-AM_CFLAGS = -O2 -Werror -Wall -fexceptions -fno-strict-aliasing
++AM_CFLAGS = -O2 -Wall -fexceptions -fno-strict-aliasing

+ EXTRA_DIST = COPYING libfaad60.dsp README
+--- server/mp4live/video_util_resize.h
++++ server/mp4live/video_util_resize.h
+@@ -90,7 +90,7 @@

+ void CopyYuv(const uint8_t *fY, const uint8_t *fU, const uint8_t *fV,
+              uint32_t fyStride, uint32_t fuStride, uint32_t fvStride,
+-             uint8_t *tY, uint8_t *tU, uint8_t *fV,
+-             uint32_t tyStride, uint32_t tvStride, uint32_t tvStride,
++             uint8_t *tY, uint8_t *tU, uint8_t *f_V,
++             uint32_t tyStride, uint32_t tvStride, uint32_t tv_Stride,
+              uint32_t w, uint32_t h);
+ #endif
</ins></span></pre>
</div>
</div>

</body>
</html>