about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch')
-rw-r--r--nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch b/nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch
new file mode 100644
index 000000000000..77875415160c
--- /dev/null
+++ b/nixpkgs/pkgs/applications/audio/vcv-rack/glfw.patch
@@ -0,0 +1,13 @@
+diff --git a/src/init.c b/src/init.c
+index af4a579e..317e25b8 100644
+--- a/src/init.c
++++ b/src/init.c
+@@ -339,7 +339,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
+ 
+ char glfwOpenedFilename[1024];
+ 
+-const char *glfwGetOpenedFilename()
++GLFWAPI const char *glfwGetOpenedFilename()
+ {
+     if (glfwOpenedFilename[0])
+     {