Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/flac/files: flac-1.2.1-gcc-4.3-includes.patch
Date: Sun, 18 Nov 2007 19:31:42
Message-Id: E1Itprk-0004Qr-Ef@stork.gentoo.org
aballier    07/11/18 19:31:36

  Added:                flac-1.2.1-gcc-4.3-includes.patch
  Log:
  fix building with gcc 4.3, thanks to Ryan Hill <dirtyepic@g.o>, bug #199579
  (Portage version: 2.1.3.19)

Revision  Changes    Path
1.1                  media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/files/flac-1.2.1-gcc-4.3-includes.patch?rev=1.1&content-type=text/plain

Index: flac-1.2.1-gcc-4.3-includes.patch
===================================================================
diff -Naur flac-1.2.1-orig/examples/cpp/encode/file/main.cpp flac-1.2.1/examples/cpp/encode/file/main.cpp
--- flac-1.2.1-orig/examples/cpp/encode/file/main.cpp	2007-09-13 09:58:03.000000000 -0600
+++ flac-1.2.1/examples/cpp/encode/file/main.cpp	2007-11-18 12:59:45.000000000 -0600
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <cstring>
 #include "FLAC++/metadata.h"
 #include "FLAC++/encoder.h"
 



-- 
gentoo-commits@g.o mailing list