changeset in /hg/icedtea: 2008-01-13 Lillian Angel <langel at red...

Lillian Angel langel at redhat.com
Wed Jan 16 07:09:49 PST 2008


changeset cb115b6a2f98 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=cb115b6a2f98
description:
	2008-01-13  Lillian Angel  <langel at redhat.com>

	        Fixes Bug #98
	        * patches/icedtea-libraries.patch
	        (jpegdecoder.c): Fixed paths in dlopen calls.
	        (imageioJPEG.c): Likewise.

diffstat:

2 files changed, 9 insertions(+), 2 deletions(-)
ChangeLog                       |    7 +++++++
patches/icedtea-libraries.patch |    4 ++--

diffs (35 lines):

diff -r 40d539754590 -r cb115b6a2f98 ChangeLog
--- 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-11  Lillian Angel  <langel at redha
+2008-01-13  Lillian Angel  <langel at 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 at redhat.com>
 
 	* patches/icedtea-lib64.patch: New patch. Properly sets system
diff -r 40d539754590 -r cb115b6a2f98 patches/icedtea-libraries.patch
--- 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);



More information about the distro-pkg-dev mailing list