summary refs log tree commit diff
path: root/pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch')
-rw-r--r--pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch b/pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch
new file mode 100644
index 00000000000..a227cea1ce7
--- /dev/null
+++ b/pkgs/development/libraries/allegro/nix-unstable-sandbox-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
+index 32ed053..73ba87f 100644
+--- a/docs/CMakeLists.txt
++++ b/docs/CMakeLists.txt
+@@ -72,7 +72,7 @@ foreach(page ${DOC_SRCS})
+     string(REPLACE "._tx" "" basename ${basename})
+ 
+     set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
+-    if(${page} MATCHES "/build/")
++    if(${page} MATCHES ".+/build/")
+         set(txt_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.txt)
+         set(html_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.html)
+     else()