Projects
openEuler:Mainline
eclipse
_service:tar_scm:prefer_x11_backend.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:prefer_x11_backend.patch of Package eclipse
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c.orig 2018-08-22 15:19:04.602623018 +0100 +++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c 2018-08-22 15:20:03.453348722 +0100 @@ -114,6 +114,11 @@ #define DLFLAGS RTLD_LAZY #endif + char *gdkBackend = getenv("GDK_BACKEND"); + if (gdkBackend == NULL) { + setenv("GDK_BACKEND", "x11", 0); + } + void *gioLib = NULL, *glibLib = NULL, *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL; gdkLib = dlopen(GDK3_LIB, DLFLAGS);
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