summaryrefslogtreecommitdiff
path: root/graphics/glide3/files/patch-h5-gdebug_c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/glide3/files/patch-h5-gdebug_c')
-rw-r--r--graphics/glide3/files/patch-h5-gdebug_c21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/glide3/files/patch-h5-gdebug_c b/graphics/glide3/files/patch-h5-gdebug_c
new file mode 100644
index 000000000000..fb60a9bd4f7e
--- /dev/null
+++ b/graphics/glide3/files/patch-h5-gdebug_c
@@ -0,0 +1,21 @@
+diff -ru ../Glide3.orig/h5/minihwc/gdebug.c ./h5/minihwc/gdebug.c
+--- ../Glide3.orig/h5/minihwc/gdebug.c Sat Nov 18 08:00:35 2000
++++ ./h5/minihwc/gdebug.c Sun Jan 13 17:36:02 2002
+@@ -86,7 +86,7 @@
+ * and one for the dynamic dfn. For linux they are different.
+ * For Windows they are the same.
+ */
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ #define INITIAL_STATIC_GDBG_MSGFILE NULL
+ #define INITIAL_GDBG_MSGFILE stderr
+ #else
+@@ -189,7 +189,7 @@
+ SIOUXSettings.asktosaveonclose = false;
+ #endif
+
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD__)
+ gdbg_msgfile = INITIAL_GDBG_MSGFILE;
+ #endif
+