vcv-rack: vendor 404'd fix-segfault-on-linux.patch (#536656)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
--- a/src/window/Window.cpp
|
||||
+++ b/src/window/Window.cpp
|
||||
@@ -819,6 +819,10 @@
|
||||
glfwInitHint(GLFW_COCOA_MENUBAR, GLFW_FALSE);
|
||||
#endif
|
||||
|
||||
+#if defined ARCH_LIN
|
||||
+ glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_X11);
|
||||
+#endif
|
||||
+
|
||||
glfwSetErrorCallback(errorCallback);
|
||||
err = glfwInit();
|
||||
if (err != GLFW_TRUE) {
|
||||
@@ -170,11 +170,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./rack-minimize-vendoring.patch
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
(fetchpatch {
|
||||
name = "fix-segfault-on-linux.patch";
|
||||
url = "https://github.com/VCVRack/Rack/pull/1944.patch";
|
||||
hash = "sha256-dlndyCfCznGDzlWNWrQTgh+FtmsrrL2DVuRE0xCxUck=";
|
||||
})
|
||||
# https://github.com/VCVRack/Rack/pull/1944
|
||||
# https://github.com/VCVRack/Rack/commit/9f0eb9a0da8e9d6f1729f823555fdac2135214f0
|
||||
./fix-segfault-on-linux.patch
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
|
||||
Reference in New Issue
Block a user