1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add run-time dependency on xdg-open(1)

- Soften the wording in the COMMENT text
- Regenerate the patch to make it shorter
This commit is contained in:
Alexey Dokuchaev 2020-06-09 14:06:05 +00:00
parent 7e3b4d59ec
commit 53be1d2bdf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538316
2 changed files with 5 additions and 5 deletions

View File

@ -6,10 +6,12 @@ PORTVERSION= 1.0.2 # untagged, but specified in the setup.py
CATEGORIES= sysutils python
MAINTAINER= danfe@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
GH_PROJECT= ANGRYsearch

View File

@ -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),