You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
b1157ba573
Use mesa on non-macOS platforms.
17 lines
378 B
Diff
17 lines
378 B
Diff
--- src/glpng.c.orig 2014-06-01 16:58:59.000000000 -0500
|
|
+++ src/glpng.c 2018-02-18 22:20:45.000000000 -0600
|
|
@@ -28,8 +28,13 @@
|
|
#define GL_GLEXT_PROTOTYPES
|
|
|
|
#include <GL/glpng.h>
|
|
+#if defined(__APPLE__)
|
|
+#include <OpenGL/gl.h>
|
|
+#include <OpenGL/glext.h>
|
|
+#else
|
|
#include <GL/gl.h>
|
|
#include <GL/glext.h>
|
|
+#endif
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|