summaryrefslogtreecommitdiff
path: root/multimedia/xine-lib/patches/patch-ak
blob: 4054dd03f47ecd5ee40d93cf72b8b1c21d77a48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ak,v 1.7 2005/09/15 01:15:47 dmcmahill Exp $

--- src/video_out/video_out_opengl.c.orig	2005-07-17 17:50:07.000000000 -0400
+++ src/video_out/video_out_opengl.c
@@ -710,9 +710,11 @@ static void *getdladdr (const GLubyte *_
   return res;
 
 #elif defined (__sun) || defined (__sgi)
-   static void *handle = dlopen (NULL, RTLD_LAZY);
+   {
+   static void *handle;
+   handle = dlopen (NULL, RTLD_LAZY);
    return dlsym (handle, funcName);
-    
+   } 
 #else /* all other Un*xes */
   return dlsym (0, funcName);