1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix build with clang

- Mark jobs unsafe
This commit is contained in:
Kevin Lo 2013-09-13 02:52:43 +00:00
parent ffd9263820
commit 5675a7b969
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327130
2 changed files with 21 additions and 0 deletions

View File

@ -19,6 +19,8 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE=yes
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
.include <bsd.port.mk>

View File

@ -0,0 +1,19 @@
--- html/ci_string.h.orig 2013-09-13 10:48:21.000000000 +0800
+++ html/ci_string.h 2013-09-13 10:48:35.000000000 +0800
@@ -4,16 +4,7 @@
#include <cctype>
#include <string>
-#if __GNUC__ >= 3
-#include <bits/char_traits.h>
struct ci_char_traits : public std::char_traits<char>
-#elif defined(__GNUC__)
-#include <std/straits.h>
-struct ci_char_traits : public std::string_char_traits<char>
-#else
-//Hope string already include it
-struct ci_char_traits : public std::char_traits<char>
-#endif
// just inherit all the other functions
// that we don't need to override