mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 13:20:32 -04:00
- Depend on llvm33 and clang33. - New LIB_DEPENDS syntax. - Staging. - Replace some patches with Makefile magic. PR: ports/180190, ports/180650 Submitted by: Shane Ambler <FreeBSD@ShaneWare.Biz> (maintainer)
20 lines
682 B
C++
20 lines
682 B
C++
--- ./liboslcomp/oslcomp.cpp.orig 2013-07-12 08:31:18.000000000 +0930
|
|
+++ ./liboslcomp/oslcomp.cpp 2013-11-03 18:07:25.646119281 +1030
|
|
@@ -32,7 +32,7 @@
|
|
#include <fstream>
|
|
#include <cstdio>
|
|
#include <streambuf>
|
|
-#ifdef __GNUC__
|
|
+#if defined(__GNUC__) && !defined(_LIBCPP_VERSION) && !defined(USE_BOOST_WAVE)
|
|
# include <ext/stdio_filebuf.h>
|
|
#endif
|
|
#include <cstdio>
|
|
@@ -268,7 +268,7 @@
|
|
// std::cout << "cpp command:\n>" << cppcommand << "<\n";
|
|
FILE *cpppipe = popen (cppcommand.c_str(), "r");
|
|
|
|
-#ifdef __GNUC__
|
|
+#if defined(__GNUC__) && !defined(_LIBCPP_VERSION)
|
|
__gnu_cxx::stdio_filebuf<char> fb (cpppipe, std::ios::in);
|
|
#else
|
|
std::filebuf fb (cpppipe);
|