mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
libdvbpsi: portability patch from Alpine.
This commit is contained in:
parent
feb1904f6b
commit
cae3131a28
2 changed files with 25 additions and 1 deletions
24
srcpkgs/libdvbpsi/patches/fix-includes.patch
Normal file
24
srcpkgs/libdvbpsi/patches/fix-includes.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
--- examples/dvbinfo/buffer.h
|
||||||
|
+++ examples/dvbinfo/buffer.h
|
||||||
|
@@ -23,6 +23,9 @@
|
||||||
|
#ifndef DVBINFO_BUFFER_H_
|
||||||
|
#define DVBINFO_BUFFER_H_
|
||||||
|
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
+
|
||||||
|
typedef struct buffer_s buffer_t;
|
||||||
|
|
||||||
|
struct buffer_s
|
||||||
|
--- src/descriptor.h
|
||||||
|
+++ src/descriptor.h
|
||||||
|
@@ -35,6 +35,9 @@
|
||||||
|
#ifndef _DVBPSI_DESCRIPTOR_H_
|
||||||
|
#define _DVBPSI_DESCRIPTOR_H_
|
||||||
|
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
+
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libdvbpsi'
|
# Template file for 'libdvbpsi'
|
||||||
pkgname=libdvbpsi
|
pkgname=libdvbpsi
|
||||||
version=1.1.2
|
version=1.1.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="PSI decoder and generator library for MPEG2 and DVB streams"
|
short_desc="PSI decoder and generator library for MPEG2 and DVB streams"
|
||||||
homepage="http://www.videolan.org/developers/libdvbpsi.html"
|
homepage="http://www.videolan.org/developers/libdvbpsi.html"
|
||||||
|
|
Loading…
Add table
Reference in a new issue