summaryrefslogtreecommitdiff
path: root/desktop/xmonad/xmonad_cabal.patch
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2010-07-16 15:10:40 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-21 01:42:41 -0500
commit7e4f9ab33777d9aba17d8885ad9e605ef2e45f84 (patch)
tree4842a50c13e563b28647459e554cbc523e713b11 /desktop/xmonad/xmonad_cabal.patch
parenta977d27257a405d3da286f567eb0182c45ec540f (diff)
downloadslackbuilds-7e4f9ab33777d9aba17d8885ad9e605ef2e45f84.tar.gz
desktop/xmonad: Build bump, various changes.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'desktop/xmonad/xmonad_cabal.patch')
-rw-r--r--desktop/xmonad/xmonad_cabal.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/desktop/xmonad/xmonad_cabal.patch b/desktop/xmonad/xmonad_cabal.patch
new file mode 100644
index 0000000000..1d2d419191
--- /dev/null
+++ b/desktop/xmonad/xmonad_cabal.patch
@@ -0,0 +1,25 @@
+--- xmonad.cabal.orig 2010-06-24 04:07:24.000000000 +0300
++++ xmonad.cabal 2010-06-24 04:09:57.000000000 +0300
+@@ -32,6 +32,14 @@
+ description: Testing mode, only build minimal components
+ default: False
+
++flag threaded
++ description: Use threaded runtime for xmonad binary
++ default: False
++
++flag dynamic
++ description: Link xmonad binary dynamically
++ default: False
++
+ library
+ exposed-modules: XMonad
+ XMonad.Main
+@@ -77,3 +85,7 @@
+ ghc-options: -Werror
+ if flag(testing) && flag(small_base)
+ build-depends: random
++ if flag(threaded)
++ ghc-options: -threaded
++ if flag(dynamic)
++ ghc-options: -dynamic