Hello community,

here is the log from the commit of package dvbtune for openSUSE:Factory checked 
in at 2016-04-28 16:55:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dvbtune (Old)
 and      /work/SRC/openSUSE:Factory/.dvbtune.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dvbtune"

Changes:
--------
--- /work/SRC/openSUSE:Factory/dvbtune/dvbtune.changes  2015-08-07 
00:24:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.dvbtune.new/dvbtune.changes     2016-04-28 
16:59:34.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 22 08:40:14 UTC 2016 - jsl...@suse.com
+
+- add define-int-types.patch: fix build
+
+-------------------------------------------------------------------

New:
----
  define-int-types.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dvbtune.spec ++++++
--- /var/tmp/diff_new_pack.jsWZAG/_old  2016-04-28 16:59:38.000000000 +0200
+++ /var/tmp/diff_new_pack.jsWZAG/_new  2016-04-28 16:59:38.000000000 +0200
@@ -25,6 +25,7 @@
 Url:            http://www.linuxstb.org/dvbtune/index.shtml
 Source0:        
http://sourceforge.net/projects/dvbtools/files/dvbtune/dvbtune-%{version}/dvbtune-%{version}.tar.gz
 Patch0:         dvbtune-use-rpmopts
+Patch1:         define-int-types.patch
 BuildRequires:  dvb
 BuildRequires:  libxml2-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -48,6 +49,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # This package failed when testing with -Wl,-as-needed being default.

++++++ define-int-types.patch ++++++
From: Jiri Slaby <jsl...@suse.cz>
Subject: define int types

We see errors like:
dvbtune.c:397:27: error: unknown type name 'uint16_t'
void set_ts_filter(int fd,uint16_t pid)

stdint.h is needed for those.
---
 dvbtune.c |    1 +
 1 file changed, 1 insertion(+)

--- a/dvbtune.c
+++ b/dvbtune.c
@@ -38,6 +38,7 @@
 
 // Linux includes:
 #include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>

Reply via email to