svn commit: r429804 - in head/multimedia/bino: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 28 17:50:04 UTC 2016
Author: amdmi3
Date: Wed Dec 28 17:50:02 2016
New Revision: 429804
URL: https://svnweb.freebsd.org/changeset/ports/429804
Log:
- Add LICENSE_FILE
- Pet portlint
- Fix build on 11+
Approved by: portmgr blanket
Added:
head/multimedia/bino/files/patch-src_base_str.cpp (contents, props changed)
Modified:
head/multimedia/bino/Makefile
Modified: head/multimedia/bino/Makefile
==============================================================================
--- head/multimedia/bino/Makefile Wed Dec 28 17:18:17 2016 (r429803)
+++ head/multimedia/bino/Makefile Wed Dec 28 17:50:02 2016 (r429804)
@@ -11,6 +11,11 @@ MAINTAINER= i at levsha.me
COMMENT= 3D video player with multi-display support
LICENSE= GPLv3+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libass.so:multimedia/libass \
+ libavformat.so:multimedia/ffmpeg \
+ libopenal.so:audio/openal-soft
USES= desktop-file-utils gmake pkgconfig tar:xz
USE_GL= glew
@@ -19,13 +24,9 @@ INSTALLS_ICONS= yes
USE_QT4= moc_build opengl rcc_build
# no port fow equalizer now, lirc detecting not working
-CONFIGURE_ARGS+= --without-equalizer --without-liblircclient --docdir=${DOCSDIR}
+CONFIGURE_ARGS= --without-equalizer --without-liblircclient --docdir=${DOCSDIR}
-LIB_DEPENDS+= libass.so:multimedia/libass \
- libavformat.so:multimedia/ffmpeg \
- libopenal.so:audio/openal-soft
-
-INFO= bino
+INFO= bino
OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
@@ -33,8 +34,6 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE=nls
-BROKEN_aarch64= Fails to compile: error: call to member function insert is ambiguous
-
# fixes build on non UTF-8 enviroments
post-patch:
@${REINPLACE_CMD} -e 's|echo $<|LANG=C; LC_ALL=C; &|' \
Added: head/multimedia/bino/files/patch-src_base_str.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/bino/files/patch-src_base_str.cpp Wed Dec 28 17:50:02 2016 (r429804)
@@ -0,0 +1,20 @@
+--- src/base/str.cpp.orig 2012-10-13 05:01:40 UTC
++++ src/base/str.cpp
+@@ -77,7 +77,7 @@ static inline std::string uint_to_str(T
+ do
+ {
+ // this assumes an ASCII-compatible character set
+- s.insert(0, 1, '0' + x % 10);
++ s.insert((size_t)0, (size_t)1, (char)('0' + x % 10));
+ x /= 10;
+ }
+ while (x != 0);
+@@ -94,7 +94,7 @@ static inline std::string int_to_str(T x
+ do
+ {
+ // this assumes an ASCII-compatible character set
+- s.insert(0, 1, (negative ? ('0' - x % 10) : ('0' + x % 10)));
++ s.insert((size_t)0, (size_t)1, (char)(negative ? ('0' - x % 10) : ('0' + x % 10)));
+ x /= 10;
+ }
+ while (x != 0);
More information about the svn-ports-head
mailing list