diff options
Diffstat (limited to 'graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp')
-rw-r--r-- | graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp b/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp index 07e43aa21892..4a27d7479a78 100644 --- a/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp +++ b/graphics/fpc-opengl/files/patch-packages-opengl-src-glut.pp @@ -1,19 +1,11 @@ ---- packages/opengl/src/glut.pp 2013-03-23 01:19:14.000000000 -0500 -+++ packages/opengl/src/glut.pp 2013-03-23 01:22:47.000000000 -0500 -@@ -765,13 +765,13 @@ +--- packages/opengl/src/glut.pp.orig 2015-01-05 19:27:06.000000000 +0000 ++++ packages/opengl/src/glut.pp +@@ -768,7 +768,7 @@ initialization {$ifdef darwin} LoadGlut('/System/Library/Frameworks/GLUT.framework/GLUT'); {$else} - {$IFDEF haiku} -+ {$if defined(haiku) or defined(freebsd)} ++ {$if defined(haiku) or defined(freebsd) or defined(dragonfly)} LoadGlut('libglut.so'); -- {$ELSE} -+ {$else} + {$ELSE} {$IFNDEF MORPHOS} - LoadGlut('libglut.so.3'); - {$ENDIF} -- {$ENDIF} -+ {$endif} - {$endif} - {$ENDIF} - |