[SCM] kodi-pvr-argustv/master: Fix compilation on armhf and on many other architectures

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Wed Dec 23 12:52:07 UTC 2015


The following commit has been merged in the master branch:
commit 6faaa9c6b860bbdcc4ee3de97c149d340b70f9ff
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Wed Dec 23 12:57:44 2015 +0100

    Fix compilation on armhf and on many other architectures

diff --git a/debian/patches/0001-Sync-enum-representation-of-char_class_e-in-struct-t.patch b/debian/patches/0001-Sync-enum-representation-of-char_class_e-in-struct-t.patch
new file mode 100644
index 0000000..c02f5c7
--- /dev/null
+++ b/debian/patches/0001-Sync-enum-representation-of-char_class_e-in-struct-t.patch
@@ -0,0 +1,42 @@
+From bda3490cc6c079642bc0681c3220c0e13682d8f4 Mon Sep 17 00:00:00 2001
+From: Balint Reczey <balint at balintreczey.hu>
+Date: Wed, 23 Dec 2015 12:55:00 +0100
+Subject: [PATCH] Sync enum representation of char_class_e in struct traits
+ with definition
+
+---
+ src/uri.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/uri.h b/src/uri.h
+index 0b2afcd..c20600f 100644
+--- a/src/uri.h
++++ b/src/uri.h
+@@ -21,13 +21,13 @@
+ namespace uri
+ {
+   /// Char class.
+-  enum char_class_e
++  typedef enum char_class_e : signed char
+   {
+     CINV = -2, ///< invalid
+     CEND = -1, ///< end delimitor
+     CVAL = 0, ///< valid any position
+     CVA2 = 1, ///< valid anywhere but 1st position
+-  };
++  } char_class_e_type;
+ 
+   /// Traits used for parsing and encoding components.
+   struct traits
+@@ -35,7 +35,7 @@ namespace uri
+     char* begin_cstring; ///< begin cstring (or 0 if none)
+     char begin_char; ///< begin char (or 0 if none)
+     char end_char; ///< end char (or 0 if none)
+-    char char_class[256]; ///< map of char to class
++    char_class_e_type char_class[256]; ///< map of char to class
+   };
+ 
+   /**
+-- 
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index d6fa0e7..7c08a02 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0001-Sync-enum-representation-of-char_class_e-in-struct-t.patch
 01_use_cec-platform.patch

-- 
kodi-pvr-argustv packaging



More information about the pkg-multimedia-commits mailing list