[packages/dvbtune] added missing uint16_t and uint32_t definitions https://www.mail-archive.com/opensuse-commit at opensus
gotar
gotar at pld-linux.org
Thu Jun 23 07:53:37 CEST 2016
commit c24c5dca3d48e884f48e90a51d147514e1e162e5
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Thu Jun 23 07:51:11 2016 +0200
added missing uint16_t and uint32_t definitions
https://www.mail-archive.com/opensuse-commit@opensuse.org/msg91867.html
define-int-types.patch | 10 ++++++++++
dvbtune.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/dvbtune.spec b/dvbtune.spec
index 43c720a..f24ae5f 100644
--- a/dvbtune.spec
+++ b/dvbtune.spec
@@ -8,6 +8,7 @@ Group: Networking
Source0: http://downloads.sourceforge.net/dvbtools/%{name}-%{version}.tar.gz
# Source0-md5: 5212564c786f2538db753214e0e21473
Patch0: %{name}-dumb31adapters.patch
+Patch1: define-int-types.patch
URL: http://dvbtools.sourceforge.net/
BuildRequires: libxml2-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,6 +22,7 @@ Prosta aplikacja do strojenia kart DVB.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__make} %{name} xml2vdr \
diff --git a/define-int-types.patch b/define-int-types.patch
new file mode 100644
index 0000000..f948341
--- /dev/null
+++ b/define-int-types.patch
@@ -0,0 +1,10 @@
+--- 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>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dvbtune.git/commitdiff/c24c5dca3d48e884f48e90a51d147514e1e162e5
More information about the pld-cvs-commit
mailing list