aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:14:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:14:42 +0800
commit19e18c8ab9d9dc221e1b657fc3d16b534fceac38 (patch)
tree5b2006ece12bff3d75e8511721e1da8650027235
parentae672326449c63df8c875e694c693428c82f738d (diff)
downloadfreebsd-ports-gnome-19e18c8ab9d9dc221e1b657fc3d16b534fceac38.tar.gz
freebsd-ports-gnome-19e18c8ab9d9dc221e1b657fc3d16b534fceac38.tar.zst
freebsd-ports-gnome-19e18c8ab9d9dc221e1b657fc3d16b534fceac38.zip
Fix build with clang/libc++
-rw-r--r--games/crrcsim/files/patch-src-mod__chardevice-chardevicebase.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/crrcsim/files/patch-src-mod__chardevice-chardevicebase.h b/games/crrcsim/files/patch-src-mod__chardevice-chardevicebase.h
new file mode 100644
index 000000000000..b887036bc24e
--- /dev/null
+++ b/games/crrcsim/files/patch-src-mod__chardevice-chardevicebase.h
@@ -0,0 +1,11 @@
+--- src/mod_chardevice/chardevicebase.h.orig 2010-06-02 23:58:04.000000000 +0400
++++ src/mod_chardevice/chardevicebase.h 2013-09-13 21:32:52.875235168 +0400
+@@ -46,6 +46,8 @@
+ #endif
+
+
++#include <string>
++
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>