aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-04 21:21:21 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-04 21:21:21 +0800
commit3cae12a0aec28c7afa5ffb975c75e9c0ce8dc7cd (patch)
tree8a45fb9cfc18500691297ec23d27bce3ea60f560 /multimedia
parentbde89ee90eebb4ca4729985d89d72d7bc9c7f6eb (diff)
downloadfreebsd-ports-gnome-3cae12a0aec28c7afa5ffb975c75e9c0ce8dc7cd.tar.gz
freebsd-ports-gnome-3cae12a0aec28c7afa5ffb975c75e9c0ce8dc7cd.tar.zst
freebsd-ports-gnome-3cae12a0aec28c7afa5ffb975c75e9c0ce8dc7cd.zip
- Fix build on 11.x+
Approved by: portmgr blanket
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/subtitlecomposer-kde4/files/patch-src_core_subtitleline.cpp11
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;
+ }
+