• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libv4l/libv4l-largefile.patch
Peter KorsgaardPeter Korsgaard committed d059b1cc61d11 Oct 2012
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
[PATCH] fixup lfs mismatch in preload libraries
2
​
3
Ensure that the lfs variants are not transparently used instead of the !lfs
4
ones so both can be wrapped, independently of any custom CFLAGS/CPPFLAGS.
5
​
6
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
7
---
8
 lib/libv4l1/v4l1compat.c  |    3 +++
9
 lib/libv4l2/v4l2convert.c |    3 +++
10
 2 files changed, 6 insertions(+)
11
​
12
Index: v4l-utils-0.8.5/lib/libv4l1/v4l1compat.c
13
===================================================================
14
--- v4l-utils-0.8.5.orig/lib/libv4l1/v4l1compat.c
15
+++ v4l-utils-0.8.5/lib/libv4l1/v4l1compat.c
16
@@ -19,6 +19,9 @@
17
 # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335  USA
18
  */
19
 
20
+/* ensure we see *64 variants and they aren't transparently used */
21
+#undef _LARGEFILE_SOURCE
22
+#undef _FILE_OFFSET_BITS
23
 #define _LARGEFILE64_SOURCE 1
24
 
25
 #include <stdlib.h>
26
Index: v4l-utils-0.8.5/lib/libv4l2/v4l2convert.c
27
===================================================================
28
--- v4l-utils-0.8.5.orig/lib/libv4l2/v4l2convert.c
29
+++ v4l-utils-0.8.5/lib/libv4l2/v4l2convert.c
30
@@ -20,6 +20,9 @@
31
 # Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335  USA
32
 */
33
 
34
+/* ensure we see *64 variants and they aren't transparently used */
35
+#undef _LARGEFILE_SOURCE
36
+#undef _FILE_OFFSET_BITS
37
 #define _LARGEFILE64_SOURCE 1
38
 
39
 #include <stdarg.h>
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.