summaryrefslogtreecommitdiff
path: root/games/desmume/osmesa-header-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/desmume/osmesa-header-fix.patch')
-rw-r--r--games/desmume/osmesa-header-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/desmume/osmesa-header-fix.patch b/games/desmume/osmesa-header-fix.patch
new file mode 100644
index 0000000000..7ba5bd070f
--- /dev/null
+++ b/games/desmume/osmesa-header-fix.patch
@@ -0,0 +1,11 @@
+diff -Naur desmume-0.9.11.orig/src/gtk/osmesa_3Demu.cpp desmume-0.9.11/src/gtk/osmesa_3Demu.cpp
+--- desmume-0.9.11.orig/src/gtk/osmesa_3Demu.cpp 2015-02-14 15:05:26.000000000 +0000
++++ desmume-0.9.11/src/gtk/osmesa_3Demu.cpp 2015-05-09 02:00:11.279367208 +0000
+@@ -20,6 +20,7 @@
+
+ #ifdef HAVE_LIBOSMESA
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <GL/osmesa.h>
+ #include "../OGLRender.h"
+ #include "osmesa_3Demu.h"