summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-02-24 22:09:07 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-02-24 22:09:07 +0000
commitded053529f36639580dc53e8bc3c240b7e110a1f (patch)
tree6e7d5ef18dc249a20debf2e3dc92381bf4efc2c8 /pkgs/games
parentd3d5783466abc8a9868039cb52457ceb8275499a (diff)
downloadnixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar.gz
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar.bz2
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar.lz
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar.xz
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.tar.zst
nixlib-ded053529f36639580dc53e8bc3c240b7e110a1f.zip
A patch required for RoR I just forgot.
svn path=/nixpkgs/trunk/; revision=32551
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/rigsofrods/doubleslash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/games/rigsofrods/doubleslash.patch b/pkgs/games/rigsofrods/doubleslash.patch
new file mode 100644
index 000000000000..c62c5470dfc7
--- /dev/null
+++ b/pkgs/games/rigsofrods/doubleslash.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeDependenciesConfig.txt b/CMakeDependenciesConfig.txt
+index 447a440..e2562de 100644
+--- a/CMakeDependenciesConfig.txt
++++ b/CMakeDependenciesConfig.txt
+@@ -228,7 +228,7 @@ ELSEIF(UNIX)
+    # Paged Geometry

+    find_path(PAGED_INCLUDE_DIRS "PagedGeometry/PagedGeometry.h")

+    if(PAGED_INCLUDE_DIRS)

+-      set(PAGED_INCLUDE_DIRS "${PAGED_INCLUDE_DIRS};/${PAGED_INCLUDE_DIRS}/PagedGeometry")

++      set(PAGED_INCLUDE_DIRS "${PAGED_INCLUDE_DIRS};${PAGED_INCLUDE_DIRS}/PagedGeometry")

+       find_library(PAGED_LIBRARIES "PagedGeometry")

+       set(ROR_USE_PAGED ON)

+    else()