diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-04 13:21:21 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-04 13:21:21 +0000 |
commit | 20f5726e83abe3fbbda3c864434bc66ff492fe21 (patch) | |
tree | 8a45fb9cfc18500691297ec23d27bce3ea60f560 /multimedia | |
parent | - Fix build on 11.x+ (only add -fgnu89-inline to CFLAGS, not CXXFLAGS) (diff) |
- Fix build on 11.x+
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=421333
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp b/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp new file mode 100644 index 000000000000..4b047403431b --- /dev/null +++ b/multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp @@ -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; + } + |