File: old-glext-prototypes.patch

package info (click to toggle)
hedgewars 1.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 219,040 kB
  • sloc: pascal: 54,830; cpp: 27,224; ansic: 22,809; java: 8,210; haskell: 6,797; xml: 3,076; sh: 580; objc: 113; python: 105; makefile: 32
file content (14 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Add definition to use older prototypes until upstream fixes the pas2c build
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Last-Update: 2024-01-02

--- hedgewars-1.0.2.orig/project_files/hwc/rtl/GL.h
+++ hedgewars-1.0.2/project_files/hwc/rtl/GL.h
@@ -3,6 +3,7 @@
 #if defined(__APPLE__) && !defined(EMSCRIPTEN)
 #include <OpenGL/gl.h>
 #else
+#define GL_GLEXT_PROTOTYPES
 #include "GL/gl.h"
 #endif