diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-13 13:43:17 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2013-12-13 13:43:17 +0000 |
commit | f610f4ceab3c4c095c68d64396b8902b51d74a16 (patch) | |
tree | 4c6155ec366c3ef25e178d5d7106f105804ed4dd /math/octave/files/patch-libgnu-math.in.h | |
parent | New USES=fortran to replace USE_FORTRAN. (diff) |
Replace USE_FORTRAN with USES=fortran such that C/C++ code is built with
Clang/libc++ on FreeBSD 10. This fixes a crash caused by the use of
libstdc++ while dependencies used libc++.
Approved by: maho (maintainer)
Notes
Notes:
svn path=/head/; revision=336344
Diffstat (limited to 'math/octave/files/patch-libgnu-math.in.h')
-rw-r--r-- | math/octave/files/patch-libgnu-math.in.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/octave/files/patch-libgnu-math.in.h b/math/octave/files/patch-libgnu-math.in.h new file mode 100644 index 000000000000..e6e185025978 --- /dev/null +++ b/math/octave/files/patch-libgnu-math.in.h @@ -0,0 +1,11 @@ +--- libgnu/math.in.h.orig 2013-02-21 21:21:17.000000000 +0100 ++++ libgnu/math.in.h 2013-11-22 12:35:47.000000000 +0100 +@@ -17,7 +17,7 @@ + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +-#ifndef _@GUARD_PREFIX@_MATH_H ++#if 1 + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ |