aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-02-12 03:00:17 +0800
committermakc <makc@FreeBSD.org>2013-02-12 03:00:17 +0800
commitc7573fb205f65837cfd7d20d6e3a4f57eaebc297 (patch)
treec3fb0138054b4cee3e381d3184299ead24cb7ba0
parent6c5b4d15f7acef2dd696b7ac2ded57c756631aed (diff)
downloadfreebsd-ports-gnome-c7573fb205f65837cfd7d20d6e3a4f57eaebc297.tar.gz
freebsd-ports-gnome-c7573fb205f65837cfd7d20d6e3a4f57eaebc297.tar.zst
freebsd-ports-gnome-c7573fb205f65837cfd7d20d6e3a4f57eaebc297.zip
Fix build on i386
Submitted by: Luca Pizzamiglio <luca.pizzamiglio at gmail.com>
-rw-r--r--audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp b/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp
new file mode 100644
index 000000000000..e1149a52c9da
--- /dev/null
+++ b/audio/amarok-kde4/files/patch-src-playlistgenerator-constraints-PlaylistFileSize.cpp
@@ -0,0 +1,12 @@
+--- src/playlistgenerator/constraints/PlaylistFileSize.cpp.orig 2013-02-06 11:59:32.000000000 +0100
++++ src/playlistgenerator/constraints/PlaylistFileSize.cpp 2013-02-06 11:57:56.000000000 +0100
+@@ -172,7 +172,7 @@
+ case 2:
+ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000 );
+ case 3:
+- return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000000 );
++ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1000000000000LL );
+ default:
+ return static_cast<quint64>( m_size ) * static_cast<quint64>( 1 );
+ }
+