vifm: unbreak cross arm/glibc.
This commit is contained in:
parent
f89cf231b5
commit
42dc789ead
1 changed files with 12 additions and 0 deletions
12
srcpkgs/vifm/patches/page_size.patch
Normal file
12
srcpkgs/vifm/patches/page_size.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- src/utils/utils_nix.c.orig 2015-07-14 07:43:29.181540065 +0200
|
||||
+++ src/utils/utils_nix.c 2015-07-14 07:43:48.108760240 +0200
|
||||
@@ -23,6 +23,9 @@
|
||||
#if defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H)
|
||||
#include <linux/binfmts.h>
|
||||
#include <sys/user.h>
|
||||
+#ifndef PAGE_SIZE
|
||||
+#define PAGE_SIZE 4096
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#include <sys/select.h> /* select() FD_SET FD_ZERO */
|
Loading…
Reference in a new issue