svn commit: r421333 - head/multimedia/subtitlecomposer-kde4/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 4 13:21:22 UTC 2016
Author: amdmi3
Date: Sun Sep 4 13:21:21 2016
New Revision: 421333
URL: https://svnweb.freebsd.org/changeset/ports/421333
Log:
- Fix build on 11.x+
Approved by: portmgr blanket
Added:
head/multimedia/subtitlecomposer-kde4/files/
head/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp (contents, props changed)
Added: head/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp Sun Sep 4 13:21:21 2016 (r421333)
@@ -0,0 +1,11 @@
+--- src/core/subtitleline.cpp.orig 2014-09-26 10:33:30 UTC
++++ src/core/subtitleline.cpp
+@@ -53,7 +53,7 @@ SubtitleLine::errorID(SubtitleLine::Erro
+ if(flag < 1)
+ return ErrorUNKNOWN;
+
+- int id = (int)log2(flag);
++ int id = (int)log2((double)flag);
+ return id < ErrorSIZE ? (ErrorID)id : ErrorUNKNOWN;
+ }
+
More information about the svn-ports-head
mailing list