svn commit: r340240 - in head/emulators/xbraitenberg: . files
Martin Wilke
miwi at FreeBSD.org
Sun Jan 19 09:24:35 UTC 2014
Author: miwi
Date: Sun Jan 19 09:24:34 2014
New Revision: 340240
URL: http://svnweb.freebsd.org/changeset/ports/340240
QAT: https://qat.redports.org/buildarchive/r340240/
Log:
- Fix build with clang
PR: 185500
Submitted by: Ports Fury
Added:
head/emulators/xbraitenberg/files/
head/emulators/xbraitenberg/files/patch-permstr.hh (contents, props changed)
Modified:
head/emulators/xbraitenberg/Makefile (contents, props changed)
Modified: head/emulators/xbraitenberg/Makefile
==============================================================================
--- head/emulators/xbraitenberg/Makefile Sun Jan 19 09:23:12 2014 (r340239)
+++ head/emulators/xbraitenberg/Makefile Sun Jan 19 09:24:34 2014 (r340240)
@@ -8,12 +8,16 @@ CATEGORIES= emulators
MASTER_SITES= http://www.lcdf.org/~eddietwo/xbraitenberg/
MAINTAINER= ports at FreeBSD.org
-COMMENT= A Braitenberg vehicle simulator with pseudo-physics
+COMMENT= Braitenberg vehicle simulator with pseudo-physics
USE_XORG= x11 ice sm xext
GNU_CONFIGURE= yes
+CONFIGURE_ENV= ac_cv_fpermissive=no
PLIST_FILES= bin/xbraitenberg
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/operator bool() const/d' ${WRKSRC}/operator.hh
+
.include <bsd.port.mk>
Added: head/emulators/xbraitenberg/files/patch-permstr.hh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/xbraitenberg/files/patch-permstr.hh Sun Jan 19 09:24:34 2014 (r340240)
@@ -0,0 +1,22 @@
+--- permstr.hh.orig
++++ permstr.hh
+@@ -4,6 +4,10 @@
+ #include <cstddef>
+ #include <cstdarg>
+
++class PermString;
++
++PermString permprintf(const char *, ...);
++
+ class PermString { struct Doodad; public:
+
+ typedef Doodad *Capsule;
+@@ -91,7 +95,7 @@
+ inline int
+ hashcode(PermString s)
+ {
+- return (int)(s.cc());
++ return (int)(size_t)(s.cc());
+ }
+
+ #endif
More information about the svn-ports-all
mailing list