[Pkg-kde-extras] Bug#777928: kmplayer: ftbfs with GCC-5

Matthias Klose doko at debian.org
Tue Jul 14 16:20:21 UTC 2015


Control: tags -1 + patch pending

attaching a patch, and uploading to delayed.

-------------- next part --------------
diff -Nru kmplayer-0.11.3d/debian/changelog kmplayer-0.11.3d/debian/changelog
--- kmplayer-0.11.3d/debian/changelog	2013-05-11 15:30:44.000000000 +0200
+++ kmplayer-0.11.3d/debian/changelog	2015-07-14 18:09:44.000000000 +0200
@@ -1,3 +1,11 @@
+kmplayer (1:0.11.3d-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build with GCC 5. Closes: #777928.
+  * Fix build on AArch64. Closes: #770966.
+
+ -- Matthias Klose <doko at debian.org>  Tue, 14 Jul 2015 18:08:14 +0200
+
 kmplayer (1:0.11.3d-2) unstable; urgency=low
 
   * Upload to unstable
diff -Nru kmplayer-0.11.3d/debian/patches/aarch64.diff kmplayer-0.11.3d/debian/patches/aarch64.diff
--- kmplayer-0.11.3d/debian/patches/aarch64.diff	1970-01-01 01:00:00.000000000 +0100
+++ kmplayer-0.11.3d/debian/patches/aarch64.diff	2015-07-14 18:12:16.000000000 +0200
@@ -0,0 +1,57 @@
+Index: b/src/moz-sdk/prcpucfg.h
+===================================================================
+--- a/src/moz-sdk/prcpucfg.h
++++ b/src/moz-sdk/prcpucfg.h
+@@ -288,6 +288,52 @@
+ #define PR_BYTES_PER_WORD_LOG2  3
+ #define PR_BYTES_PER_DWORD_LOG2 3
+ 
++#elif defined(__aarch64__)
++
++#define IS_LITTLE_ENDIAN 1
++#undef  IS_BIG_ENDIAN
++#define IS_64
++
++#define PR_BYTES_PER_BYTE   1
++#define PR_BYTES_PER_SHORT  2
++#define PR_BYTES_PER_INT    4
++#define PR_BYTES_PER_INT64  8
++#define PR_BYTES_PER_LONG   8
++#define PR_BYTES_PER_FLOAT  4
++#define PR_BYTES_PER_DOUBLE 8
++#define PR_BYTES_PER_WORD   8
++#define PR_BYTES_PER_DWORD  8
++
++#define PR_BITS_PER_BYTE    8
++#define PR_BITS_PER_SHORT   16
++#define PR_BITS_PER_INT     32
++#define PR_BITS_PER_INT64   64
++#define PR_BITS_PER_LONG    64
++#define PR_BITS_PER_FLOAT   32
++#define PR_BITS_PER_DOUBLE  64
++#define PR_BITS_PER_WORD    64
++
++#define PR_BITS_PER_BYTE_LOG2   3
++#define PR_BITS_PER_SHORT_LOG2  4
++#define PR_BITS_PER_INT_LOG2    5
++#define PR_BITS_PER_INT64_LOG2  6
++#define PR_BITS_PER_LONG_LOG2   6
++#define PR_BITS_PER_FLOAT_LOG2  5
++#define PR_BITS_PER_DOUBLE_LOG2 6
++#define PR_BITS_PER_WORD_LOG2   6
++
++#define PR_ALIGN_OF_SHORT   2
++#define PR_ALIGN_OF_INT     4
++#define PR_ALIGN_OF_LONG    8
++#define PR_ALIGN_OF_INT64   8
++#define PR_ALIGN_OF_FLOAT   4
++#define PR_ALIGN_OF_DOUBLE  8
++#define PR_ALIGN_OF_POINTER 8
++#define PR_ALIGN_OF_WORD    8
++
++#define PR_BYTES_PER_WORD_LOG2  3
++#define PR_BYTES_PER_DWORD_LOG2 3
++
+ #elif defined(__mc68000__)
+ 
+ #undef  IS_LITTLE_ENDIAN
diff -Nru kmplayer-0.11.3d/debian/patches/gcc5.diff kmplayer-0.11.3d/debian/patches/gcc5.diff
--- kmplayer-0.11.3d/debian/patches/gcc5.diff	1970-01-01 01:00:00.000000000 +0100
+++ kmplayer-0.11.3d/debian/patches/gcc5.diff	2015-07-14 18:10:31.000000000 +0200
@@ -0,0 +1,13 @@
+Index: b/src/kmplayerplaylist.cpp
+===================================================================
+--- a/src/kmplayerplaylist.cpp
++++ b/src/kmplayerplaylist.cpp
+@@ -371,7 +371,7 @@ void TreeNode<Node>::appendChild (Node *
+ }
+ 
+ template <>
+-KDE_NO_EXPORT void TreeNode<Node>::insertBefore (Node *c, Node *b) {
++void TreeNode<Node>::insertBefore (Node *c, Node *b) {
+     ASSERT (!c->parentNode ());
+     static_cast <Node *> (this)->document()->m_tree_version++;
+     insertBeforeImpl (c, b);
diff -Nru kmplayer-0.11.3d/debian/patches/series kmplayer-0.11.3d/debian/patches/series
--- kmplayer-0.11.3d/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ kmplayer-0.11.3d/debian/patches/series	2015-07-14 18:10:50.000000000 +0200
@@ -0,0 +1,2 @@
+gcc5.diff
+aarch64.diff


More information about the pkg-kde-extras mailing list