• 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/links/links-0001-no-largefile.patch
Gustavo ZacariasGustavo Zacarias committed 69636df180e17 Jun 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Index: links-1.01pre1-no-ssl/links.h
2
===================================================================
3
--- links-1.01pre1-no-ssl.orig/links.h  2010-06-21 00:39:10.000000000 +0200
4
+++ links-1.01pre1-no-ssl/links.h   2010-06-21 00:39:52.000000000 +0200
5
@@ -2,6 +2,9 @@
6
 #define __EXTENSIONS__
7
 #endif
8
 
9
+#include <features.h>
10
+/* uclibc without largefile support #errors on _FILE_OFFSET_BITS=64 */
11
+#if !(defined(__UCLIBC__) && !defined(__UCLIBC_HAS_LFS__))
12
 #ifndef _LARGEFILE_SOURCE
13
 #define _LARGEFILE_SOURCE  1
14
 #endif
15
@@ -9,6 +12,7 @@
16
 #ifndef _FILE_OFFSET_BITS
17
 #define _FILE_OFFSET_BITS  64
18
 #endif
19
+#endif
20
 
21
 #ifdef HAVE_CONFIG_H
22
 #include "config.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.