aboutsummaryrefslogtreecommitdiff
path: root/graphics/pyro/files
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-07 20:28:39 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-07 20:28:39 +0000
commitc04ae9a4660ab1e7fb11a0c09f81e0fa5045d83d (patch)
treee2b1c60f0f2f0a16ec8de76cf011adb38bfe9880 /graphics/pyro/files
parentba36f60f898b61b67d5fc3fe7fac3c0e1875484a (diff)
downloadports-c04ae9a4660ab1e7fb11a0c09f81e0fa5045d83d.tar.gz
ports-c04ae9a4660ab1e7fb11a0c09f81e0fa5045d83d.zip
Notes
Diffstat (limited to 'graphics/pyro/files')
-rw-r--r--graphics/pyro/files/patch-jpeg.c10
-rw-r--r--graphics/pyro/files/patch-pyro.c32
2 files changed, 42 insertions, 0 deletions
diff --git a/graphics/pyro/files/patch-jpeg.c b/graphics/pyro/files/patch-jpeg.c
new file mode 100644
index 000000000000..3e352b7e5de0
--- /dev/null
+++ b/graphics/pyro/files/patch-jpeg.c
@@ -0,0 +1,10 @@
+--- jpeg.c.orig
++++ jpeg.c
+@@ -5,6 +5,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <malloc.h>
+ #include "jpeglib.h"
+ #include <setjmp.h>
diff --git a/graphics/pyro/files/patch-pyro.c b/graphics/pyro/files/patch-pyro.c
new file mode 100644
index 000000000000..7ce4e262d850
--- /dev/null
+++ b/graphics/pyro/files/patch-pyro.c
@@ -0,0 +1,32 @@
+--- pyro.c.orig
++++ pyro.c
+@@ -7,15 +7,18 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <math.h>
+ #ifdef __EMX__ /*os2*/
+ #include "float.h"
+ #endif
+ #include <time.h>
+
++/*
+ #ifdef XMESA
+ #include <GL/xmesa.h>
+ #endif
++*/
+
+ #include <GL/glut.h>
+ #include "pyro.h"
+@@ -704,8 +707,9 @@
+ if(fxwin)
+ glutReshapeWindow(ScreenWidth,ScreenHeight);
+ else glutFullScreen();
+-
++/*
+ XMesaSetFXmode(fxwin ? XMESA_FX_WINDOW:XMESA_FX_FULLSCREEN);
++*/
+ }
+ break;
+ #endif