summaryrefslogtreecommitdiffstats
path: root/devel/graphviz/libltdl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'devel/graphviz/libltdl.patch')
-rw-r--r--devel/graphviz/libltdl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/graphviz/libltdl.patch b/devel/graphviz/libltdl.patch
new file mode 100644
index 0000000000..948a655ce0
--- /dev/null
+++ b/devel/graphviz/libltdl.patch
@@ -0,0 +1,22 @@
+--- graphviz-2.26.3/lib/gvc/gvcext.h 2010-11-15 23:12:38.669004693 +0100
++++ graphviz-2.26.3/lib/gvc/gvcext.h 2010-11-15 23:30:02.887004693 +0100
+@@ -58,6 +58,7 @@
+ typedef struct GVJ_s GVJ_t;
+ typedef struct GVC_s GVC_t;
+
++
+ typedef struct {
+ const char *name;
+ void* address;
+@@ -80,9 +81,11 @@
+ #if defined(GVDLL)
+ __declspec(dllexport) lt_symlist_t lt_preloaded_symbols[];
+ #else
++#if !defined(LTDL_H)
+ extern lt_symlist_t lt_preloaded_symbols[];
+ #endif
+ #endif
++#endif
+
+
+ #ifdef __cplusplus