7fc9190f0e
* gcc is kept at -Np0, because of void-cross ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
24 lines
784 B
Diff
24 lines
784 B
Diff
source: https://src.fedoraproject.org/cgit/rpms/gamin.git/plain/0001-Poll-files-on-nfs4.patch
|
|
|
|
From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001
|
|
From: Marek Kasik <mkasik@redhat.com>
|
|
Date: Fri, 1 Feb 2013 15:19:58 +0100
|
|
Subject: [PATCH 1/2] Poll files on nfs4
|
|
|
|
Add nfs4 among polled filesystems.
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=693006
|
|
---
|
|
server/gam_fs.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/server/gam_fs.c
|
|
+++ b/server/gam_fs.c
|
|
@@ -178,6 +178,7 @@ gam_fs_init (void)
|
|
gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0);
|
|
gam_fs_set ("novfs", GFS_MT_POLL, 30);
|
|
gam_fs_set ("nfs", GFS_MT_POLL, 5);
|
|
+ gam_fs_set ("nfs4", GFS_MT_POLL, 5);
|
|
if (stat("/etc/mtab", &mtab_sbuf) != 0)
|
|
{
|
|
GAM_DEBUG(DEBUG_INFO, "Could not stat /etc/mtab\n");
|