summaryrefslogtreecommitdiff
path: root/standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-22 19:13:31 +0100
committerGravatar Joey Hess <joey@kitenet.net>2013-09-22 19:13:31 +0100
commitb81e86a6ed7db7e8957f664631a8cdb4126e02dc (patch)
tree13b7b4ac26c8b8d05852ec48d158d149478b2781 /standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch
parentf159e8bccd823a9125f3134fba5a5dc3c7dd7df7 (diff)
successfully builds (except XMPP)
Diffstat (limited to 'standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch')
-rw-r--r--standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch b/standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch
new file mode 100644
index 000000000..eaad739e5
--- /dev/null
+++ b/standalone/android/haskell-patches/yesod_002_hack-around-missing-symbols.patch
@@ -0,0 +1,41 @@
+From 7e815b11f242d6836f9615439e32f9937bf2feaf Mon Sep 17 00:00:00 2001
+From: foo <foo@bar>
+Date: Sun, 22 Sep 2013 13:59:34 +0000
+Subject: [PATCH] hack around missing symbols
+
+---
+ Yesod.hs | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/Yesod.hs b/Yesod.hs
+index 3050bf5..fbe309c 100644
+--- a/Yesod.hs
++++ b/Yesod.hs
+@@ -5,7 +5,24 @@ module Yesod
+ ( -- * Re-exports from yesod-core
+ module Yesod.Core
+ , module Yesod.Form
++ , insertBy
++ , replace
++ , deleteBy
++ , delete
++ , insert
++ , Key
+ ) where
+
+ import Yesod.Core
+ import Yesod.Form
++
++-- These symbols are usually imported from persistent,
++-- But it is not built on Android. Still export them
++-- just so that hiding them will work.
++data Key = DummyKey
++insertBy = undefined
++replace = undefined
++deleteBy = undefined
++delete = undefined
++insert = undefined
++
+--
+1.7.10.4
+