From nobody@FreeBSD.org  Sat Jan 26 20:52:55 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 7D4B1107
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 20:52:55 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 6C2AAF10
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 20:52:55 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0QKqtFQ026625
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 26 Jan 2013 20:52:55 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r0QKqtUm026624;
	Sat, 26 Jan 2013 20:52:55 GMT
	(envelope-from nobody)
Message-Id: <201301262052.r0QKqtUm026624@red.freebsd.org>
Date: Sat, 26 Jan 2013 20:52:55 GMT
From: "Mike 'Fuzzy' Partin" <michaelp@dfcolo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/flac broken on PowerPC64 (seriously, it's flac not the system: #159699)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175615
>Category:       ports
>Synopsis:       audio/flac broken on PowerPC64 (seriously, it's flac not the system: #159699)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    naddy
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 26 21:00:00 UTC 2013
>Closed-Date:    Sun Jun 09 19:33:36 UTC 2013
>Last-Modified:  Tue Oct 29 06:20:00 UTC 2013
>Originator:     Mike 'Fuzzy' Partin
>Release:        9.1-RELEASE
>Organization:
Digital Fortress
>Environment:
FreeBSD greyskull.fu-manchu.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Thu Oct  4 19:10:17 UTC 2012     root@anacreon.physics.wisc.edu:/usr/obj/usr/src/sys/GENERIC64  powerpc
>Description:
Making all in libFLAC++
if /bin/sh /usr/local/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT metadata.lo -MD -MP -MF ".deps/metadata.Tpo" -c -o metadata.lo `test -f 'metadata.cpp' || echo './'`metadata.cpp; then mv -f ".deps/metadata.Tpo" ".deps/metadata.Plo"; else rm -f ".deps/metadata.Tpo"; exit 1; fi
if /bin/sh /usr/local/bin/libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT stream_encoder.lo -MD -MP -MF ".deps/stream_encoder.Tpo" -c -o stream_encoder.lo `test -f 'stream_encoder.cpp' || echo './'`stream_encoder.cpp; then mv -f ".deps/stream_encoder.Tpo" ".deps/stream_encoder.Plo"; else rm -f ".deps/stream_encoder.Tpo"; exit 1; fi
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT metadata.lo -MD -MP -MF .deps/metadata.Tpo -c metadata.cpp -fPIC -DPIC -o .libs/metadata.o
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT stream_encoder.lo -MD -MP -MF .deps/stream_encoder.Tpo -c stream_encoder.cpp -fPIC -DPIC -o .libs/stream_encoder.o
In file included from metadata.cpp:33:
./../include/share/alloc.h: In function 'void* safe_malloc_mul_2op_(size_t, size_t)':
./../include/share/alloc.h:120: error: 'UINT64_C' was not declared in this scope
./../include/share/alloc.h: In function 'void* safe_malloc_mul_3op_(size_t, size_t, size_t)':
./../include/share/alloc.h:130: error: 'UINT64_C' was not declared in this scope
./../include/share/alloc.h:133: error: 'UINT64_C' was not declared in this scope
./../include/share/alloc.h: In function 'void* safe_malloc_mul2add_(size_t, size_t, size_t)':
./../include/share/alloc.h:143: error: 'UINT64_C' was not declared in this scope
./../include/share/alloc.h: In function 'void* safe_realloc_mul_2op_(void*, size_t, size_t)':
./../include/share/alloc.h:196: error: 'UINT64_C' was not declared in this scope
*** Error code 1
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT stream_encoder.lo -MD -MP -MF .deps/stream_encoder.Tpo -c stream_encoder.cpp -o stream_encoder.o >/dev/null 2>&1
1 error
*** Error code 1
>How-To-Repeat:
cd /usr/ports/audio/flac && make
>Fix:
cd /usr/ports/audio/flac && make distclean fetch extract configure
vi work/flac*/include/share/alloc.h

Line 26 has this comment:

/* WATCHOUT: for c++ you may have to #define __STDC_LIMIT_MACROS 1 real early
 * before #including this file,  otherwise SIZE_MAX might not be defined
 */

and adding:
#define __STDC_LIMIT_MACROS 1

does indeed fix the problem. and since you can see by the make output that it is in fact using c++ to compile and since configure didn't detect that and put the proper define in place (or the src including that file was not patched properly) that it is indeed the port and not the system headers.

Unfortunately I'm not very competent at all with autotools and so cannot provide a patch to fix this, at the configure/configur.in level.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->naddy 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jan 26 21:00:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175615 

From: Micah Partin <micah.partin@dfcolo.com>
To: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>, Micah Partin
	<micah.partin@dfcolo.com>
Cc:  
Subject: Re: ports/175615: audio/flac broken on PowerPC64 (seriously,
 it&#39;s flac not the system: #159699)
Date: Sat, 26 Jan 2013 21:27:50 +0000

 --_004_CD2989FDFF55michaelpdfcolocom_
 Content-Type: multipart/alternative;
 	boundary="_000_CD2989FDFF55michaelpdfcolocom_"
 
 --_000_CD2989FDFF55michaelpdfcolocom_
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 Attached is a patch that will get things to compile nicely.
 
 Files flac-1.2.1/src/libFLAC++/.metadata.cpp.swp and flac-1.2.1.cust/src/li=
 bFLAC++/.metadata.cpp.swp differ
 diff -rupN flac-1.2.1/src/libFLAC++/metadata.cpp flac-1.2.1.cust/src/libFLA=
 C++/metadata.cpp
 --- flac-1.2.1/src/libFLAC++/metadata.cpp   2007-09-10 21:22:01.000000000 -=
 0700
 +++ flac-1.2.1.cust/src/libFLAC++/metadata.cpp  2013-01-26 13:26:44.0000000=
 00 -0800
 @@ -29,10 +29,9 @@
   * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
 
 -#define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined for c++=
  */
 -#include "share/alloc.h"
  #include "FLAC++/metadata.h"
  #include "FLAC/assert.h"
 +#include "share/alloc.h"
  #include <stdlib.h> // for malloc(), free()
  #include <string.h> // for memcpy() etc.
 
 --_000_CD2989FDFF55michaelpdfcolocom_
 Content-Type: text/html; charset="us-ascii"
 Content-ID: <E8938C3F8366514195BE2DBD0A41068E@citservers.local>
 Content-Transfer-Encoding: quoted-printable
 
 <html>
 <head>
 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
 >
 </head>
 <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
 e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
 ly: Calibri, sans-serif; ">
 <div>Attached is a patch that will get things to compile nicely.</div>
 <div><br>
 </div>
 <div>
 <div>Files flac-1.2.1/src/libFLAC&#43;&#43;/.metadata.cpp.swp and flac-1.2.=
 1.cust/src/libFLAC&#43;&#43;/.metadata.cpp.swp differ</div>
 <div>diff -rupN flac-1.2.1/src/libFLAC&#43;&#43;/metadata.cpp flac-1.2.1.cu=
 st/src/libFLAC&#43;&#43;/metadata.cpp</div>
 <div>--- flac-1.2.1/src/libFLAC&#43;&#43;/metadata.cpp &nbsp; 2007-09-10 21=
 :22:01.000000000 -0700</div>
 <div>&#43;&#43;&#43; flac-1.2.1.cust/src/libFLAC&#43;&#43;/metadata.cpp &nb=
 sp;2013-01-26 13:26:44.000000000 -0800</div>
 <div>@@ -29,10 &#43;29,9 @@</div>
 <div>&nbsp; * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<=
 /div>
 <div>&nbsp; */</div>
 <div><br>
 </div>
 <div>-#define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined fo=
 r c&#43;&#43; */</div>
 <div>-#include &quot;share/alloc.h&quot;</div>
 <div>&nbsp;#include &quot;FLAC&#43;&#43;/metadata.h&quot;</div>
 <div>&nbsp;#include &quot;FLAC/assert.h&quot;</div>
 <div>&#43;#include &quot;share/alloc.h&quot;</div>
 <div>&nbsp;#include &lt;stdlib.h&gt; // for malloc(), free()</div>
 <div>&nbsp;#include &lt;string.h&gt; // for memcpy() etc.</div>
 </div>
 </body>
 </html>
 
 --_000_CD2989FDFF55michaelpdfcolocom_--
 
 --_004_CD2989FDFF55michaelpdfcolocom_
 Content-Type: application/octet-stream; name="flac-1.2.1.patch"
 Content-Description: flac-1.2.1.patch
 Content-Disposition: attachment; filename="flac-1.2.1.patch"; size=734;
 	creation-date="Sat, 26 Jan 2013 21:27:50 GMT";
 	modification-date="Sat, 26 Jan 2013 21:27:50 GMT"
 Content-ID: <A7263AA351CC5E47964F100CA0AD9E45@citservers.local>
 Content-Transfer-Encoding: base64
 
 RmlsZXMgZmxhYy0xLjIuMS9zcmMvbGliRkxBQysrLy5tZXRhZGF0YS5jcHAuc3dwIGFuZCBmbGFj
 LTEuMi4xLmN1c3Qvc3JjL2xpYkZMQUMrKy8ubWV0YWRhdGEuY3BwLnN3cCBkaWZmZXIKZGlmZiAt
 cnVwTiBmbGFjLTEuMi4xL3NyYy9saWJGTEFDKysvbWV0YWRhdGEuY3BwIGZsYWMtMS4yLjEuY3Vz
 dC9zcmMvbGliRkxBQysrL21ldGFkYXRhLmNwcAotLS0gZmxhYy0xLjIuMS9zcmMvbGliRkxBQysr
 L21ldGFkYXRhLmNwcCAgICAgICAyMDA3LTA5LTEwIDIxOjIyOjAxLjAwMDAwMDAwMCAtMDcwMAor
 KysgZmxhYy0xLjIuMS5jdXN0L3NyYy9saWJGTEFDKysvbWV0YWRhdGEuY3BwICAyMDEzLTAxLTI2
 IDEzOjI2OjQ0LjAwMDAwMDAwMCAtMDgwMApAQCAtMjksMTAgKzI5LDkgQEAKICAqIFNPRlRXQVJF
 LCBFVkVOIElGIEFEVklTRUQgT0YgVEhFIFBPU1NJQklMSVRZIE9GIFNVQ0ggREFNQUdFLgogICov
 CiAKLSNkZWZpbmUgX19TVERDX0xJTUlUX01BQ1JPUyAxIC8qIG90aGVyd2lzZSBTSVpFX01BWCBp
 cyBub3QgZGVmaW5lZCBmb3IgYysrICovCi0jaW5jbHVkZSAic2hhcmUvYWxsb2MuaCIKICNpbmNs
 dWRlICJGTEFDKysvbWV0YWRhdGEuaCIKICNpbmNsdWRlICJGTEFDL2Fzc2VydC5oIgorI2luY2x1
 ZGUgInNoYXJlL2FsbG9jLmgiCiAjaW5jbHVkZSA8c3RkbGliLmg+IC8vIGZvciBtYWxsb2MoKSwg
 ZnJlZSgpCiAjaW5jbHVkZSA8c3RyaW5nLmg+IC8vIGZvciBtZW1jcHkoKSBldGMuCiA=
 
 --_004_CD2989FDFF55michaelpdfcolocom_--

From: Micah Partin <micah.partin@dfcolo.com>
To: "bug-followup@FreeBSD.org" <bug-followup@FreeBSD.org>
Cc:  
Subject: RE: ports/175615: audio/flac broken on PowerPC64 (seriously,
 it&#39;s flac not the system: #159699)
Date: Sat, 26 Jan 2013 21:46:56 +0000

 --_004_CD298E6CFF58michaelpdfcolocom_
 Content-Type: multipart/alternative;
 	boundary="_000_CD298E6CFF58michaelpdfcolocom_"
 
 --_000_CD298E6CFF58michaelpdfcolocom_
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 
 
 From: Micah Partin <micah.partin@dfcolo.com<mailto:micah.partin@dfcolo.com>=
 >
 Date: Saturday, January 26, 2013 1:26 PM
 To: "bug-followup@FreeBSD.org<mailto:bug-followup@FreeBSD.org>" <bug-follow=
 up@FreeBSD.org<mailto:bug-followup@FreeBSD.org>>, Micah Partin <micah.parti=
 n@dfcolo.com<mailto:micah.partin@dfcolo.com>>
 Subject: Re: ports/175615: audio/flac broken on PowerPC64 (seriously, it&#3=
 9;s flac not the system: #159699)
 
 Attached is a patch that will get things to compile nicely.
 
 Files flac-1.2.1/src/libFLAC++/.metadata.cpp.swp and flac-1.2.1.cust/src/li=
 bFLAC++/.metadata.cpp.swp differ
 diff -rupN flac-1.2.1/src/libFLAC++/metadata.cpp flac-1.2.1.cust/src/libFLA=
 C++/metadata.cpp
 --- flac-1.2.1/src/libFLAC++/metadata.cpp   2007-09-10 21:22:01.000000000 -=
 0700
 +++ flac-1.2.1.cust/src/libFLAC++/metadata.cpp  2013-01-26 13:26:44.0000000=
 00 -0800
 @@ -29,10 +29,9 @@
   * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   */
 
 -#define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined for c++=
  */
 -#include "share/alloc.h"
  #include "FLAC++/metadata.h"
  #include "FLAC/assert.h"
 +#include "share/alloc.h"
  #include <stdlib.h> // for malloc(), free()
  #include <string.h> // for memcpy() etc.
 
 --_000_CD298E6CFF58michaelpdfcolocom_
 Content-Type: text/html; charset="us-ascii"
 Content-ID: <F7025945BDD6AE4AAA9B769FA0EBF348@citservers.local>
 Content-Transfer-Encoding: quoted-printable
 
 <html>
 <head>
 <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
 >
 </head>
 <body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
 e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
 ly: Calibri, sans-serif; ">
 <div><br>
 </div>
 <div><br>
 </div>
 <span id=3D"OLK_SRC_BODY_SECTION">
 <div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
 lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
  0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
  BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
 <span style=3D"font-weight:bold">From: </span>Micah Partin &lt;<a href=3D"m=
 ailto:micah.partin@dfcolo.com">micah.partin@dfcolo.com</a>&gt;<br>
 <span style=3D"font-weight:bold">Date: </span>Saturday, January 26, 2013 1:=
 26 PM<br>
 <span style=3D"font-weight:bold">To: </span>&quot;<a href=3D"mailto:bug-fol=
 lowup@FreeBSD.org">bug-followup@FreeBSD.org</a>&quot; &lt;<a href=3D"mailto=
 :bug-followup@FreeBSD.org">bug-followup@FreeBSD.org</a>&gt;, Micah Partin &=
 lt;<a href=3D"mailto:micah.partin@dfcolo.com">micah.partin@dfcolo.com</a>&g=
 t;<br>
 <span style=3D"font-weight:bold">Subject: </span>Re: ports/175615: audio/fl=
 ac broken on PowerPC64 (seriously, it&amp;#39;s flac not the system: #15969=
 9)<br>
 </div>
 <div><br>
 </div>
 <div>
 <div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
 -break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-famil=
 y: Calibri, sans-serif; ">
 <div>Attached is a patch that will get things to compile nicely.</div>
 <div><br>
 </div>
 <div>
 <div>Files flac-1.2.1/src/libFLAC&#43;&#43;/.metadata.cpp.swp and flac-1.2.=
 1.cust/src/libFLAC&#43;&#43;/.metadata.cpp.swp differ</div>
 <div>diff -rupN flac-1.2.1/src/libFLAC&#43;&#43;/metadata.cpp flac-1.2.1.cu=
 st/src/libFLAC&#43;&#43;/metadata.cpp</div>
 <div>--- flac-1.2.1/src/libFLAC&#43;&#43;/metadata.cpp &nbsp; 2007-09-10 21=
 :22:01.000000000 -0700</div>
 <div>&#43;&#43;&#43; flac-1.2.1.cust/src/libFLAC&#43;&#43;/metadata.cpp &nb=
 sp;2013-01-26 13:26:44.000000000 -0800</div>
 <div>@@ -29,10 &#43;29,9 @@</div>
 <div>&nbsp; * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<=
 /div>
 <div>&nbsp; */</div>
 <div><br>
 </div>
 <div>-#define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined fo=
 r c&#43;&#43; */</div>
 <div>-#include &quot;share/alloc.h&quot;</div>
 <div>&nbsp;#include &quot;FLAC&#43;&#43;/metadata.h&quot;</div>
 <div>&nbsp;#include &quot;FLAC/assert.h&quot;</div>
 <div>&#43;#include &quot;share/alloc.h&quot;</div>
 <div>&nbsp;#include &lt;stdlib.h&gt; // for malloc(), free()</div>
 <div>&nbsp;#include &lt;string.h&gt; // for memcpy() etc.</div>
 </div>
 </div>
 </div>
 </span>
 </body>
 </html>
 
 --_000_CD298E6CFF58michaelpdfcolocom_--
 
 --_004_CD298E6CFF58michaelpdfcolocom_
 Content-Type: application/octet-stream; name="flac-1.2.1.patch"
 Content-Description: flac-1.2.1.patch
 Content-Disposition: attachment; filename="flac-1.2.1.patch"; size=734;
 	creation-date="Sat, 26 Jan 2013 21:46:56 GMT";
 	modification-date="Sat, 26 Jan 2013 21:46:56 GMT"
 Content-ID: <A7263AA351CC5E47964F100CA0AD9E45@citservers.local>
 Content-Transfer-Encoding: base64
 
 RmlsZXMgZmxhYy0xLjIuMS9zcmMvbGliRkxBQysrLy5tZXRhZGF0YS5jcHAuc3dwIGFuZCBmbGFj
 LTEuMi4xLmN1c3Qvc3JjL2xpYkZMQUMrKy8ubWV0YWRhdGEuY3BwLnN3cCBkaWZmZXIKZGlmZiAt
 cnVwTiBmbGFjLTEuMi4xL3NyYy9saWJGTEFDKysvbWV0YWRhdGEuY3BwIGZsYWMtMS4yLjEuY3Vz
 dC9zcmMvbGliRkxBQysrL21ldGFkYXRhLmNwcAotLS0gZmxhYy0xLjIuMS9zcmMvbGliRkxBQysr
 L21ldGFkYXRhLmNwcCAgICAgICAyMDA3LTA5LTEwIDIxOjIyOjAxLjAwMDAwMDAwMCAtMDcwMAor
 KysgZmxhYy0xLjIuMS5jdXN0L3NyYy9saWJGTEFDKysvbWV0YWRhdGEuY3BwICAyMDEzLTAxLTI2
 IDEzOjI2OjQ0LjAwMDAwMDAwMCAtMDgwMApAQCAtMjksMTAgKzI5LDkgQEAKICAqIFNPRlRXQVJF
 LCBFVkVOIElGIEFEVklTRUQgT0YgVEhFIFBPU1NJQklMSVRZIE9GIFNVQ0ggREFNQUdFLgogICov
 CiAKLSNkZWZpbmUgX19TVERDX0xJTUlUX01BQ1JPUyAxIC8qIG90aGVyd2lzZSBTSVpFX01BWCBp
 cyBub3QgZGVmaW5lZCBmb3IgYysrICovCi0jaW5jbHVkZSAic2hhcmUvYWxsb2MuaCIKICNpbmNs
 dWRlICJGTEFDKysvbWV0YWRhdGEuaCIKICNpbmNsdWRlICJGTEFDL2Fzc2VydC5oIgorI2luY2x1
 ZGUgInNoYXJlL2FsbG9jLmgiCiAjaW5jbHVkZSA8c3RkbGliLmg+IC8vIGZvciBtYWxsb2MoKSwg
 ZnJlZSgpCiAjaW5jbHVkZSA8c3RyaW5nLmg+IC8vIGZvciBtZW1jcHkoKSBldGMuCiA=
 
 --_004_CD298E6CFF58michaelpdfcolocom_--

From: Christian Weisgerber <naddy@mips.inka.de>
To: Micah Partin <micah.partin@dfcolo.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/175615: audio/flac broken on PowerPC64 (seriously,
 it&#39;s flac not the system: #159699)
Date: Mon, 28 Jan 2013 21:44:28 +0100

 You wrote:
 
 > Line 26 has this comment:
 > 
 > /* WATCHOUT: for c++ you may have to #define __STDC_LIMIT_MACROS 1 real early
 > * before #including this file, otherwise SIZE_MAX might not be defined
 > */
 
 Yes, and metadata.cpp, from which "share/alloc.h" is included, defines
 it:
 
 #define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined for c++ */
 #include "share/alloc.h"
 
 > and adding:
 > #define __STDC_LIMIT_MACROS 1
 > 
 > does indeed fix the problem.
 
 But the patch you supplied _removes_ that definition.  You are
 contradicting yourself.
 
 
 Can you mail me the output from running
 
 c++ -E -DHAVE_CONFIG_H -I. -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include -I/usr/ports/audio/flac/work/flac-1.2.1/include -I/usr/local/include -c metadata.cpp
 
 in libFLAC++?
 
 -- 
 Christian "naddy" Weisgerber                          naddy@mips.inka.de
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Sun Jun 9 19:32:11 UTC 2013 
State-Changed-Why:  
Submitter didn't provide further details; FLAC has now seen a major 
update to 1.3.0. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175615 

From: =?iso-8859-1?Q?Eirik_=D8verby?= <ltning@anduin.net>
To: bug-followup@FreeBSD.org,
 michaelp@dfcolo.com
Cc:  
Subject: Re: ports/175615: audio/flac broken on PowerPC64 (seriously, it&#39;s flac not the system: #159699)
Date: Tue, 29 Oct 2013 06:38:20 +0100

 Hi,
 
 this bug is still there, and the submitted patch (despite the confusing =
 wording) does allow the compile to complete even on the 1.3.x versions.
 
 /Eirik=
>Unformatted:
