ports/109976: fc-match of x11-fonts/fontconfig have no short option for --sort
Denis Eremenko <moonshade@pnhz.kz>
moonshade at pnhz.kz
Tue Mar 6 10:30:11 UTC 2007
>Number: 109976
>Category: ports
>Synopsis: fc-match of x11-fonts/fontconfig have no short option for --sort
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 06 10:30:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Denis Eremenko <moonshade at pnhz.kz>
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.2-STABLE #0: Mon Mar 5 11:32:02 ALMT 2007
root at abyss.pnhz.kz:/usr/obj/data/os/FreeBSD/src/6/src/sys/ABYSS-6
>Description:
There is a typo in getopt_long() in fc-match/fc-match.c which makes -s an 'unknown option', but it present in 'fc-match --help'.
>How-To-Repeat:
fc-match -s
>Fix:
--- patch-fc-match_sort_opt begins here ---
--- fc-match/fc-match.c.orig Tue Mar 6 16:08:41 2007
+++ fc-match/fc-match.c Tue Mar 6 16:08:51 2007
@@ -99,7 +99,7 @@
int c;
#if HAVE_GETOPT_LONG
- while ((c = getopt_long (argc, argv, "Vv?", longopts, NULL)) != -1)
+ while ((c = getopt_long (argc, argv, "sVv?", longopts, NULL)) != -1)
#else
while ((c = getopt (argc, argv, "sVv?")) != -1)
#endif
--- patch-fc-match_sort_opt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list