Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
java-1_7_0-openjdk-bootstrap.21729
gcc-fno-common-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-fno-common-fix.patch of Package java-1_7_0-openjdk-bootstrap.21729
--- icedtea-2.6.22/openjdk/jdk/src/solaris/native/common/deps/cups_fp.c 2020-09-16 10:42:53.976389972 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/common/deps/cups_fp.c 2020-09-16 12:10:44.755578914 +0200 @@ -32,6 +32,16 @@ #include <cups_fp.h> +fn_cupsServer j2d_cupsServer; +fn_ippPort j2d_ippPort; +fn_httpConnect j2d_httpConnect; +fn_httpClose j2d_httpClose; +fn_cupsGetPPD j2d_cupsGetPPD; +fn_ppdOpenFile j2d_ppdOpenFile; +fn_ppdClose j2d_ppdClose; +fn_ppdFindOption j2d_ppdFindOption; +fn_ppdPageSize j2d_ppdPageSize; + jboolean cups_init() { void *handle = dlopen(VERSIONED_JNI_LIB_NAME("cups", "2"), --- icedtea-2.6.22/openjdk/jdk/src/solaris/native/common/deps/cups_fp.h 2020-09-16 10:42:53.976389972 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/common/deps/cups_fp.h 2020-09-16 12:11:21.731822997 +0200 @@ -36,15 +36,15 @@ typedef ppd_option_t* (*fn_ppdFindOption)(ppd_file_t *, const char *); typedef ppd_size_t* (*fn_ppdPageSize)(ppd_file_t *, char *); -fn_cupsServer j2d_cupsServer; -fn_ippPort j2d_ippPort; -fn_httpConnect j2d_httpConnect; -fn_httpClose j2d_httpClose; -fn_cupsGetPPD j2d_cupsGetPPD; -fn_ppdOpenFile j2d_ppdOpenFile; -fn_ppdClose j2d_ppdClose; -fn_ppdFindOption j2d_ppdFindOption; -fn_ppdPageSize j2d_ppdPageSize; +extern fn_cupsServer j2d_cupsServer; +extern fn_ippPort j2d_ippPort; +extern fn_httpConnect j2d_httpConnect; +extern fn_httpClose j2d_httpClose; +extern fn_cupsGetPPD j2d_cupsGetPPD; +extern fn_ppdOpenFile j2d_ppdOpenFile; +extern fn_ppdClose j2d_ppdClose; +extern fn_ppdFindOption j2d_ppdFindOption; +extern fn_ppdPageSize j2d_ppdPageSize; #define cupsServer (*j2d_cupsServer) #define ippPort (*j2d_ippPort) --- icedtea-2.6.22/openjdk/jdk/src/solaris/native/java/lang/childproc.c 2020-09-16 10:42:53.980389999 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/java/lang/childproc.c 2020-09-16 10:44:55.889178805 +0200 @@ -33,6 +33,7 @@ #include "childproc.h" +const char * const *parentPathv; ssize_t restartableWrite(int fd, const void *buf, size_t count) --- icedtea-2.6.22/openjdk/jdk/src/solaris/native/java/lang/childproc.h 2020-09-16 10:42:53.980389999 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/java/lang/childproc.h 2020-09-16 10:44:50.901146550 +0200 @@ -119,7 +119,7 @@ * The cached and split version of the JDK's effective PATH. * (We don't support putenv("PATH=...") in native code) */ -const char * const *parentPathv; +extern const char * const *parentPathv; ssize_t restartableWrite(int fd, const void *buf, size_t count); int restartableDup2(int fd_from, int fd_to); --- icedtea-2.6.22/openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c 2020-09-16 10:42:53.988390051 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c 2020-09-16 11:08:16.918296761 +0200 @@ -28,6 +28,9 @@ #include <dlfcn.h> #include "NativeFunc.h" +/* global GSS function table */ +GSS_FUNCTION_TABLE_PTR ftab; + /* standard GSS method names (ordering is from mapfile) */ static const char RELEASE_NAME[] = "gss_release_name"; static const char IMPORT_NAME[] = "gss_import_name"; --- icedtea-2.6.22/openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h 2020-09-16 10:42:53.988390051 +0200 +++ icedtea-2.6.22/openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h 2020-09-16 11:08:28.686374315 +0200 @@ -265,6 +265,6 @@ typedef GSS_FUNCTION_TABLE *GSS_FUNCTION_TABLE_PTR; /* global GSS function table */ -GSS_FUNCTION_TABLE_PTR ftab; +extern GSS_FUNCTION_TABLE_PTR ftab; #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor