diff options
Diffstat (limited to 'media-gfx/graphviz/files')
-rw-r--r-- | media-gfx/graphviz/files/graphviz-2.6-macos.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-gfx/graphviz/files/graphviz-2.6-macos.patch b/media-gfx/graphviz/files/graphviz-2.6-macos.patch new file mode 100644 index 000000000000..e42d31f12170 --- /dev/null +++ b/media-gfx/graphviz/files/graphviz-2.6-macos.patch @@ -0,0 +1,16 @@ +diff -Naur graphviz-2.6-orig/lib/ast/pathpath.c graphviz-2.6/lib/ast/pathpath.c +--- graphviz-2.6-orig/lib/ast/pathpath.c 2005-10-30 15:15:30.000000000 +0100 ++++ graphviz-2.6/lib/ast/pathpath.c 2005-10-30 15:16:20.000000000 +0100 +@@ -33,7 +33,12 @@ + #include <unistd.h> + + /* #include <option.h> */ ++#ifdef __APPLE__ ++#include <crt_externs.h> ++#define environ (*_NSGetEnviron()) ++#else + extern char **environ; ++#endif + char **opt_info_argv; + + char *pathpath(register char *path, const char *p, const char *a, int mode) |