Projects
Mega:24.03
openjdk-21
_service:tar_scm:rh649512-remove_uses_of_far_in...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rh649512-remove_uses_of_far_in_jpeg_libjpeg_turbo_1_4_compat_for_jdk10_and_up.patch of Package openjdk-21
Remove uses of FAR in jpeg code Upstream libjpeg-trubo removed the (empty) FAR macro: http://sourceforge.net/p/libjpeg-turbo/code/1312/ Adjust our code to not use the undefined FAR macro anymore. diff --git a/jdk/src/java.desktop/share/native/libjavajpeg/imageioJPEG.c b/jdk/src/java.desktop/share/native/libjavajpeg/imageioJPEG.c --- openjdk/src/java.desktop/share/native/libjavajpeg/imageioJPEG.c +++ openjdk/src/java.desktop/share/native/libjavajpeg/imageioJPEG.c @@ -1385,7 +1385,7 @@ /* and fill it in */ dst_ptr = icc_data; for (seq_no = first; seq_no < last; seq_no++) { - JOCTET FAR *src_ptr = icc_markers[seq_no]->data + ICC_OVERHEAD_LEN; + JOCTET *src_ptr = icc_markers[seq_no]->data + ICC_OVERHEAD_LEN; unsigned int length = icc_markers[seq_no]->data_length - ICC_OVERHEAD_LEN;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2