mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
libcec: add patch to fix build with gcc-4.7
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
24
packages/devel/libcec/patches/libcec-00a02d1-gcc4.7.patch
Normal file
24
packages/devel/libcec/patches/libcec-00a02d1-gcc4.7.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From a7733ae4f8ef999d1b05849ac32037148fb103ef Mon Sep 17 00:00:00 2001
|
||||
From: Lars Op den Kamp <lars@opdenkamp.eu>
|
||||
Date: Mon, 19 Mar 2012 10:09:52 +0100
|
||||
Subject: [PATCH] cec: fix gcc 4.7 compilation
|
||||
|
||||
---
|
||||
src/lib/platform/posix/os-types.h | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/src/lib/platform/posix/os-types.h b/src/lib/platform/posix/os-types.h
|
||||
index b8783b1..b89b9cc 100644
|
||||
--- a/src/lib/platform/posix/os-types.h
|
||||
+++ b/src/lib/platform/posix/os-types.h
|
||||
@@ -32,6 +32,7 @@
|
||||
*/
|
||||
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
+#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <sys/time.h>
|
||||
--
|
||||
1.7.5.4
|
||||
|
||||
Reference in New Issue
Block a user