summaryrefslogtreecommitdiffstats
path: root/package/opus-tools/opus-tools-largefile.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-12-15 00:07:56 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-15 00:07:56 +0100
commitee094dd16f78e27d1c53094b3267fd0d3e6d54d9 (patch)
tree595baf086a93719a8765ac0a295225867dda12b4 /package/opus-tools/opus-tools-largefile.patch
parentdf6e849d4ed3bfcac50cf2bd9c94fabd7545fb68 (diff)
downloadbuildroot-novena-ee094dd16f78e27d1c53094b3267fd0d3e6d54d9.tar.gz
buildroot-novena-ee094dd16f78e27d1c53094b3267fd0d3e6d54d9.zip
opus-tools: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/opus-tools/opus-tools-largefile.patch')
-rw-r--r--package/opus-tools/opus-tools-largefile.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/package/opus-tools/opus-tools-largefile.patch b/package/opus-tools/opus-tools-largefile.patch
new file mode 100644
index 000000000..a10fcbc71
--- /dev/null
+++ b/package/opus-tools/opus-tools-largefile.patch
@@ -0,0 +1,37 @@
+From f1d9376b383f4ee7ec2d7c5a1728d38cdb692df6 Mon Sep 17 00:00:00 2001
+From: Peter Korsgaard <jacmet@sunsite.dk>
+Date: Sat, 15 Dec 2012 00:05:41 +0100
+Subject: [PATCH] audio-in.c: Don't force largefile support
+
+Buildroot ensures the correct defines are enabled depending on toolchain
+configuration, so don't hard code largefile support here.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ src/audio-in.c | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/src/audio-in.c b/src/audio-in.c
+index 9bf4f6f..e404629 100644
+--- a/src/audio-in.c
++++ b/src/audio-in.c
+@@ -32,16 +32,6 @@
+ # include <config.h>
+ #endif
+
+-#if !defined(_LARGEFILE_SOURCE)
+-# define _LARGEFILE_SOURCE
+-#endif
+-#if !defined(_LARGEFILE64_SOURCE)
+-# define _LARGEFILE64_SOURCE
+-#endif
+-#if !defined(_FILE_OFFSET_BITS)
+-# define _FILE_OFFSET_BITS 64
+-#endif
+-
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+--
+1.7.10.4
+