diff options
| author | AmatCoder <amatcoder@gmail.com> | 2014-11-12 17:36:48 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-19 14:10:41 +0000 |
| commit | d4e45d3e9fd0efc3803bb1853158ede435492c96 (patch) | |
| tree | 46778a458473dfe79bcfcab164ce083df816b7d3 /testing/emelfm2/01-avoid_fstab.patch | |
| parent | f61da2c5f2b8ac3920945b0970d77d0f28a36604 (diff) | |
| download | aports-d4e45d3e9fd0efc3803bb1853158ede435492c96.tar.bz2 aports-d4e45d3e9fd0efc3803bb1853158ede435492c96.tar.xz | |
testing/emelfm2: new aport
Diffstat (limited to 'testing/emelfm2/01-avoid_fstab.patch')
| -rw-r--r-- | testing/emelfm2/01-avoid_fstab.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/emelfm2/01-avoid_fstab.patch b/testing/emelfm2/01-avoid_fstab.patch new file mode 100644 index 0000000000..1b9d0d2eaf --- /dev/null +++ b/testing/emelfm2/01-avoid_fstab.patch @@ -0,0 +1,30 @@ +--- emelfm2-0.9.1-origin/src/filesystem/e2_fs_mount.c ++++ emelfm2-0.9.1/src/filesystem/e2_fs_mount.c +@@ -46,7 +46,7 @@ + #endif + //other exclusions go here ... + +-# if defined(__linux__) ++# if defined(__GLIBC__) + # include <mntent.h> + # include <fstab.h> + +@@ -62,7 +62,9 @@ + + # else + # include <mntent.h> ++# if defined(__GLIBC__) + # include <fstab.h> ++# endif + + /*Some systems use statfs() to provide information about mounted + file systems, other systems use statvfs(). The header files used with +@@ -1020,7 +1022,7 @@ + { + GList *fstab_list = NULL; + //CHECKME lock data file while accessing it ?? +-#if defined(__E2BSD__) || defined(__linux__) ++#if defined(__E2BSD__) || defined(__GLIBC__) + struct fstab *fs; + + if (!setfsent ()) |
