Fixes "search files" without checking "hidden files" box.
 Ok ?
  Cheers
   Giovanni
Index: Makefile
===================================================================
RCS file: /var/cvs/ports/x11/xfe/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile	7 Sep 2016 16:37:45 -0000	1.42
+++ Makefile	9 Oct 2016 18:42:43 -0000
@@ -3,6 +3,7 @@
 COMMENT=	MS-Explorer like file manager for X
 
 DISTNAME=	xfe-1.42
+REVISION=	0
 CATEGORIES=	x11
 
 HOMEPAGE=	http://roland65.free.fr/xfe/
Index: patches/patch-src_SearchWindow_cpp
===================================================================
RCS file: /var/cvs/ports/x11/xfe/patches/patch-src_SearchWindow_cpp,v
retrieving revision 1.3
diff -u -p -r1.3 patch-src_SearchWindow_cpp
--- patches/patch-src_SearchWindow_cpp	1 Jul 2016 08:46:52 -0000	1.3
+++ patches/patch-src_SearchWindow_cpp	9 Oct 2016 19:12:25 -0000
@@ -2,8 +2,8 @@ $OpenBSD: patch-src_SearchWindow_cpp,v 1
 
 Remove gnuisms. The Find Hidden checkbox does nothing now.
 
---- src/SearchWindow.cpp.orig	Tue Nov 24 13:59:53 2015
-+++ src/SearchWindow.cpp	Fri Jul  1 09:57:18 2016
+--- src/SearchWindow.cpp.orig	Tue Dec 15 14:54:20 2015
++++ src/SearchWindow.cpp	Sun Oct  9 20:50:02 2016
 @@ -639,7 +639,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
      }
      else
@@ -18,7 +18,7 @@ Remove gnuisms. The Find Hidden checkbox
      if (!findhidden->getCheck())
      {
 -        searchcommand += " \\( ! -regex '.*/\\..*' \\)";
-+        searchcommand += " \\( ! '.*/\\..*' \\)";
++        searchcommand += " ! -path .";
      }
  
      // Without grep command

Reply via email to