Skip to content

Commit 1a5b202

Browse files
authored
Merge pull request #199 from giuseppe/fix-armv7h
fuse-overlayfs: add missing definitions for _FILE_OFFSET_BITS
2 parents 5f666c1 + 7c0629a commit 1a5b202

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ addons:
2323
- libdevmapper-dev
2424
- btrfs-tools
2525
- go-md2man
26+
- parallel
2627
before_install:
2728
- docker pull fedora &
2829
- docker build -t alpine-build -f Dockerfile.alpine .
@@ -31,8 +32,8 @@ before_install:
3132
- (cd /; sudo git clone https://github.com/amir73il/unionmount-testsuite.git)
3233
- (git clone --depth 1 git://github.com/ninja-build/ninja.git && cd ninja && python3.5 configure.py --bootstrap && sudo cp ninja /usr/bin)
3334
- (git clone --depth 1 -b 0.51.1 https://github.com/mesonbuild/meson.git; cd meson; sudo python3.5 ./setup.py install)
34-
- (git clone --depth 1 https://github.com/sstephenson/bats.git; cd bats; sudo ./install.sh /usr/local)
35-
- ($GO get github.com/containers/storage; cd $GOPATH/src/github.com/containers/storage; sed -i -e 's|^AUTOTAGS.*$|AUTOTAGS := exclude_graphdriver_devicemapper exclude_graphdriver_btrfs|' Makefile; make GO=$GO containers-storage)
35+
- (git clone --depth 1 https://github.com/bats-core/bats-core; cd bats-core; sudo ./install.sh /usr/local)
36+
- ($GO get github.com/containers/storage; cd $GOPATH/src/github.com/containers/storage; sed -i -e 's|^AUTOTAGS.*$|AUTOTAGS := exclude_graphdriver_devicemapper exclude_graphdriver_btrfs|' Makefile; make GO=$GO GO111MODULE=on containers-storage)
3637
- (wget https://github.com/libfuse/libfuse/releases/download/fuse-3.6.2/fuse-3.6.2.tar.xz; tar xf fuse-3.6.2.tar.xz; cd fuse-3.6.2; mkdir build; cd build; meson .. --prefix /usr && ninja && sudo ninja install)
3738
script:
3839
- ./autogen.sh || travis_terminate 1;

direct.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*/
2020

2121
#define _GNU_SOURCE
22+
#define _FILE_OFFSET_BITS 64
2223

2324
#include <config.h>
2425

plugin-manager.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
You should have received a copy of the GNU General Public License
1616
along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
18+
#define _GNU_SOURCE
19+
#define _FILE_OFFSET_BITS 64
1820

1921
#include <config.h>
2022
#include <plugin.h>

utils.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

19+
#define _GNU_SOURCE
20+
#define _FILE_OFFSET_BITS 64
21+
1922
#include <config.h>
2023
#include "utils.h"
2124
#include <errno.h>

0 commit comments

Comments
 (0)