freebsd-ports/net/wizd/files/patch-wizd_menu.c
Tijl Coosemans 9edf275cfa - Ressurect net/wizd and assign to new maintainer.
- Extract files in WRKSRC rather than WRKDIR because USE_RC_SUBR=wizd
  overwrites WRKDIR/wizd.
- Remove carriage return from existing patches.
- Add patches to fix parallel build.
- Staging.

PR:		ports/182495
Submitted by:	"Scot W. Hetzel" <swhetzel@gmail.com>
2013-11-12 16:28:52 +00:00

20 lines
560 B
C

--- wizd_menu.c.orig 2008-07-02 12:30:10.000000000 +0900
+++ wizd_menu.c 2008-07-02 13:14:51.000000000 +0900
@@ -27,7 +27,9 @@
#include <errno.h>
#include <libgen.h>
#include <regex.h>
+#ifdef __CYGWIN32__
#include <sys/cygwin.h>
+#endif
#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
@@ -3432,7 +3434,6 @@
debug_log_output("ext = '%s'", file_info_p[count].ext);
}
- checkmime:
if ((mime = lookup_mime_by_ext(file_info_p[count].ext)) == NULL) {
# ifdef HAVE_W32API
if (strcmp(file_info_p[count].ext, "lnk") == 0) {