aboutsummaryrefslogtreecommitdiff
path: root/graphics/utah-glx/files/patch-bf
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/utah-glx/files/patch-bf')
-rw-r--r--graphics/utah-glx/files/patch-bf15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/utah-glx/files/patch-bf b/graphics/utah-glx/files/patch-bf
new file mode 100644
index 000000000000..cdb0dada01f2
--- /dev/null
+++ b/graphics/utah-glx/files/patch-bf
@@ -0,0 +1,15 @@
+diff -druN servGL/hwglx/nv/riva_symbols.c servGL/hwglx/nv/riva_symbols.c
+--- servGL/hwglx/nv/riva_symbols.c Sun Feb 13 22:02:30 2000
++++ servGL/hwglx/nv/riva_symbols.c Sun Nov 5 19:19:04 2000
+@@ -29,9 +29,8 @@
+ static void *my_dlsym(void *handle, const char *name)
+ {
+ void *tmp = dlsym(handle, name);
+- char *error;
+- if ((error = dlerror()) != 0) {
+- fputs(error, stderr);
++ if (tmp == NULL) {
++ fputs(dlerror(), stderr);
+ any_error = 1;
+ return 0;
+ }