Mercurial > hg > release > icedtea6-1.5
changeset 563:cb115b6a2f98 cacao
2008-01-13 Lillian Angel <langel@redhat.com>
Fixes Bug #98
* patches/icedtea-libraries.patch
(jpegdecoder.c): Fixed paths in dlopen calls.
(imageioJPEG.c): Likewise.
author | Lillian Angel <langel@redhat.com> |
---|---|
date | Sun, 13 Jan 2008 23:31:01 -0500 |
parents | 40d539754590 |
children | 3130b7dd604d |
files | ChangeLog patches/icedtea-libraries.patch |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Jan 11 12:02:29 2008 -0500 +++ b/ChangeLog Sun Jan 13 23:31:01 2008 -0500 @@ -1,3 +1,10 @@ +2008-01-13 Lillian Angel <langel@redhat.com> + + Fixes Bug #98 + * patches/icedtea-libraries.patch + (jpegdecoder.c): Fixed paths in dlopen calls. + (imageioJPEG.c): Likewise. + 2008-01-11 Lillian Angel <langel@redhat.com> * patches/icedtea-lib64.patch: New patch. Properly sets system
--- a/patches/icedtea-libraries.patch Fri Jan 11 12:02:29 2008 -0500 +++ b/patches/icedtea-libraries.patch Sun Jan 13 23:31:01 2008 -0500 @@ -59,7 +59,7 @@ Java_sun_awt_image_JPEGImageDecoder_initIDs(JNIEnv *env, jclass cls, jclass InputStreamClass) { -+ void *handle = dlopen("/usr/lib/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL); ++ void *handle = dlopen("libjpeg.so", RTLD_LAZY | RTLD_GLOBAL); + + jpegstderror = (fn_jpegstderror)dlsym(handle, "jpeg_std_error"); + if (jpegstderror == NULL) { @@ -567,7 +567,7 @@ +METHODDEF(void) +initIDs() +{ -+ void *handle = dlopen("/usr/lib/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL); ++ void *handle = dlopen("libjpeg.so", RTLD_LAZY | RTLD_GLOBAL); + jpegstderror = (fn_jpegstderror)dlsym(handle, "jpeg_std_error"); + if (jpegstderror == NULL) { + dlclose(handle);