]> git.pld-linux.org Git - packages/dvbtune.git/commitdiff
added missing uint16_t and uint32_t definitions
authorTomasz Pala <gotar@pld-linux.org>
Thu, 23 Jun 2016 05:51:11 +0000 (07:51 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Thu, 23 Jun 2016 05:51:11 +0000 (07:51 +0200)
https://www.mail-archive.com/opensuse-commit@opensuse.org/msg91867.html

define-int-types.patch [new file with mode: 0644]
dvbtune.spec

diff --git a/define-int-types.patch b/define-int-types.patch
new file mode 100644 (file)
index 0000000..f948341
--- /dev/null
@@ -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>
index 43c720a4a5d7970db521b0bb0ac0a94a00fe77cb..f24ae5f8882dbdd09a9ca5e493a845cfc0894c7b 100644 (file)
@@ -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 \
This page took 0.075892 seconds and 4 git commands to generate.