diff options
| author | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-28 16:55:38 +0000 |
|---|---|---|
| committer | Guido Falsi <madpilot@FreeBSD.org> | 2016-09-28 16:55:38 +0000 |
| commit | 6758118b3dff2cf3d13de631d67db804e8e3aabc (patch) | |
| tree | c8b80def38e3161d8da1403f01b9800d2fbde396 /sysutils/conky/files/patch-src-fs.c | |
| parent | ports-mgmt/synth: Upgrade version 1.51 => 1.52 (diff) | |
- Update conky and conky-awesome to 1.10.4
- Take maintainership [1]
- Options adapted to new version
- Removed LUA option since it's a mandatoory requirement now
- Use project own install target
- Fix installation of lua helper libraries
- Project moved to github
- in conky-awesome, properly use OPTIONS_EXCLUDE
PR: 212629
Submitted by: me
Approved by: ntarmos@ceid.upatras.gr (former maintainer) [1]
Notes
Notes:
svn path=/head/; revision=422880
Diffstat (limited to 'sysutils/conky/files/patch-src-fs.c')
| -rw-r--r-- | sysutils/conky/files/patch-src-fs.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sysutils/conky/files/patch-src-fs.c b/sysutils/conky/files/patch-src-fs.c deleted file mode 100644 index fd6744c62c06..000000000000 --- a/sysutils/conky/files/patch-src-fs.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/fs.c.orig 2012-05-03 21:08:27 UTC -+++ src/fs.c -@@ -118,9 +118,15 @@ struct fs_stat *prepare_fs_stat(const ch - - static void update_fs_stat(struct fs_stat *fs) - { -+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -+ struct statfs s; -+ -+ if (statfs(fs->path, &s) == 0) { -+#else - struct statfs64 s; - - if (statfs64(fs->path, &s) == 0) { -+#endif - fs->size = (long long)s.f_blocks * s.f_bsize; - /* bfree (root) or bavail (non-roots) ? */ - fs->avail = (long long)s.f_bavail * s.f_bsize; |
