File: GLEW-stuff-no-need-GLU.patch

package info (click to toggle)
libopengl-modern-perl 0.04-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,940 kB
  • sloc: ansic: 52,765; perl: 15,894; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: GLEW stuff no need GLU
Author: Ed J <mohawk2@users.noreply.github.com>
Forwarded: not-needed

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -11,12 +11,12 @@ use Devel::CheckLib 'assert_lib';
 
 my $include = "-I. -Iinclude -Isrc";
 my $libs;
-my $define;
+my $define = "-DGLEW_NO_GLU";
 my $DYNS;
 
 if ( 0 && os_is( 'MSWin32' ) ) {
     $libs   = '-lopengl32 -lgdi32 -lmsimg32';
-    $define = "-D_WIN32",                       # XXX Platform specific
+    $define .= " -D_WIN32",
 }
 elsif ( 0 && os_is( 'Cygwin' ) ) {
     $libs = '-lGL -lX11';