summaryrefslogtreecommitdiffstats
path: root/devel/gamin/files/patch-tests_testing.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-10 03:55:24 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-10 03:55:24 +0800
commit1f54644c601db9102def6d2a04c4af7db9714511 (patch)
tree7f88663aed80c12d3d352c2c12c2a2b012e07f3d /devel/gamin/files/patch-tests_testing.c
parent868ea39205fb83309080af61df139d23278b8dff (diff)
downloadmarcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.gz
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.tar.zst
marcuscom-ports-1f54644c601db9102def6d2a04c4af7db9714511.zip
Update glib20 to 2.15.1, and break out the GIO FAM backend into a separate
port (gio-fam-backend). This requires a bit of trickery in bsd.gnome.mk to avoid a dependency loop, so a new _glib20 component was added that should only be required by FAM providers. To that end, add gamin, and make gamin depend on _glib20. Update gvfs to 0.1.1, and add a new gvfs component to bsd.gnome.mk. gio-standalone is no longer needed as this code is now part of glib. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10030 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gamin/files/patch-tests_testing.c')
-rw-r--r--devel/gamin/files/patch-tests_testing.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/gamin/files/patch-tests_testing.c b/devel/gamin/files/patch-tests_testing.c
new file mode 100644
index 000000000..35097790d
--- /dev/null
+++ b/devel/gamin/files/patch-tests_testing.c
@@ -0,0 +1,27 @@
+--- tests/testing.c.orig Thu Oct 27 10:51:03 2005
++++ tests/testing.c Tue Feb 14 17:46:01 2006
+@@ -376,11 +376,11 @@ processCommand(char *line, int no)
+ }
+ printf("chmod %s to %s\n", arg, arg2);
+ } else if (!strcmp(command, "chown")) {
++ struct stat sb;
+ if (args != 3) {
+ fprintf(stderr, "chown line %d: lacks path and owner\n", no);
+ return (-1);
+ }
+- struct stat sb;
+ if (!lstat (arg, &sb)) {
+ ret = (S_ISLNK (sb.st_mode)) ?
+ lchown(arg, strtol(arg2, NULL, 10), -1) :
+@@ -486,9 +486,9 @@ processCommand(char *line, int no)
+ return (-1);
+ }
+ /*
+- * wait at most 3 secs before declaring failure
++ * wait at most 7 secs before declaring failure
+ */
+- while ((delay < 30) && (testState.nb_events < nb_events + count)) {
++ while ((delay < 70) && (testState.nb_events < nb_events + count)) {
+ debugLoop(100);
+
+ /* printf("+"); fflush(stdout); */