diff options
Diffstat (limited to 'graphics/utah-glx/files/patch-bh')
-rw-r--r-- | graphics/utah-glx/files/patch-bh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/utah-glx/files/patch-bh b/graphics/utah-glx/files/patch-bh new file mode 100644 index 000000000000..a9679899d5e6 --- /dev/null +++ b/graphics/utah-glx/files/patch-bh @@ -0,0 +1,15 @@ +diff -druN servGL/hwglx/s3virge/s3virgesymbols.c servGL/hwglx/s3virge/s3virgesymbols.c +--- servGL/hwglx/s3virge/s3virgesymbols.c Sun Jan 16 03:22:47 2000 ++++ servGL/hwglx/s3virge/s3virgesymbols.c Sun Nov 5 19:19:36 2000 +@@ -24,9 +24,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; + } |