freebsd-ports/graphics/xfractint/files/patch-common__prompts2.c
Pawel Pekala ca4a6cf153 - Update to version 20.04p12 [1]
- Project has new homepage [1]
- Port needs USE_XORG+=xft to compile now
- Use INSTALL_DATA and COPYTREE_SHARE macros instead of CP
  for proper file permissions
- Add desktop entry file

PR:             ports/165911 [1]
Submitted by:   Pedro Giffuni <giffunip@tutopia.com> [1]
Approved by:    maintainer [1]
Feature safe:	yes
2012-03-24 16:51:18 +00:00

20 lines
479 B
C

--- common/prompts2.c.orig 2011-05-08 10:20:02.000000000 -0500
+++ common/prompts2.c 2012-03-10 17:04:43.000000000 -0500
@@ -12,7 +12,7 @@
#ifdef DIRENT
#include <dirent.h>
-#elif !defined(__SVR4)
+#elif !defined(__SVR4) && !defined(__FreeBSD__)
#include <sys/dir.h>
#else
#include <dirent.h>
@@ -26,7 +26,7 @@
#include <alloc.h>
#elif defined(__APPLE__)
#include <malloc/malloc.h>
-#elif !defined(__386BSD__)
+#elif !defined(BIG_ANSI_C)
#include <malloc.h>
#endif