svn commit: r538316 - in head/sysutils/angrysearch: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Jun 9 14:06:06 UTC 2020
Author: danfe
Date: Tue Jun 9 14:06:05 2020
New Revision: 538316
URL: https://svnweb.freebsd.org/changeset/ports/538316
Log:
- Add run-time dependency on xdg-open(1)
- Soften the wording in the COMMENT text
- Regenerate the patch to make it shorter
Modified:
head/sysutils/angrysearch/Makefile
head/sysutils/angrysearch/files/patch-scandir.py
Modified: head/sysutils/angrysearch/Makefile
==============================================================================
--- head/sysutils/angrysearch/Makefile Tue Jun 9 13:56:20 2020 (r538315)
+++ head/sysutils/angrysearch/Makefile Tue Jun 9 14:06:05 2020 (r538316)
@@ -6,9 +6,11 @@ PORTVERSION= 1.0.2 # untagged, but specified in the se
CATEGORIES= sysutils python
MAINTAINER= danfe at FreeBSD.org
-COMMENT= Quick search GUI tool for Unix systems
+COMMENT= Quick search GUI tool for Unix-like systems
LICENSE= GPLv2
+
+RUN_DEPENDS= xdg-open:devel/xdg-utils
USE_GITHUB= yes
GH_ACCOUNT= DoTheEvo
Modified: head/sysutils/angrysearch/files/patch-scandir.py
==============================================================================
--- head/sysutils/angrysearch/files/patch-scandir.py Tue Jun 9 13:56:20 2020 (r538315)
+++ head/sysutils/angrysearch/files/patch-scandir.py Tue Jun 9 14:06:05 2020 (r538316)
@@ -1,10 +1,9 @@
--- scandir.py.orig 2018-07-28 20:12:38 UTC
+++ scandir.py
-@@ -428,7 +428,18 @@ elif sys.platform.startswith(('linux', 'darwin')) or '
+@@ -428,6 +428,17 @@ elif sys.platform.startswith(('linux', 'darwin')) or '
('d_type', ctypes.c_byte),
('d_name', ctypes.c_char * 256),
)
-- else:
+ elif sys.platform.startswith('freebsd') and int(sys.platform[7:]) > 11:
+ _fields_ = (
+ ('d_ino', ctypes.c_uint64),
@@ -16,7 +15,6 @@
+ ('d_pad1', ctypes.c_ushort),
+ ('d_name', ctypes.c_char * 256),
+ )
-+ else:
+ else:
_fields_ = (
('d_ino', ctypes.c_uint32), # must be uint32, not ulong
- ('d_reclen', ctypes.c_ushort),
More information about the svn-ports-head
mailing list