summaryrefslogtreecommitdiff
path: root/graphics/utah-glx/files/patch-bi
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/utah-glx/files/patch-bi')
-rw-r--r--graphics/utah-glx/files/patch-bi15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/utah-glx/files/patch-bi b/graphics/utah-glx/files/patch-bi
new file mode 100644
index 000000000000..3045e3037bf8
--- /dev/null
+++ b/graphics/utah-glx/files/patch-bi
@@ -0,0 +1,15 @@
+diff -druN servGL/hwglx/sis6326/sis6326symbols.c servGL/hwglx/sis6326/sis6326symbols.c
+--- servGL/hwglx/sis6326/sis6326symbols.c Sun Mar 5 11:10:37 2000
++++ servGL/hwglx/sis6326/sis6326symbols.c Sun Nov 5 19:20:00 2000
+@@ -10,9 +10,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;
+ }