--- a/packaging/homebrew/recoll.rb
+++ b/packaging/homebrew/recoll.rb
@@ -2,12 +2,14 @@
 
 class Recoll < Formula
   homepage 'http://www.recoll.org'
-  url 'http://www.recoll.org/recoll-1.19.9.tar.gz'
-  sha1 'ab662057082eb889b196653c328440ed95bf9ac4'
+  url 'http://www.recoll.org/recoll-1.19.11p1.tar.gz'
+  sha1 'f4259c21faff9f30882d0bf1e8f952c19ed9936b'
 
   depends_on 'xapian'
   depends_on 'qt'
-
+  def patches
+   DATA 
+  end
   def install
     system "./configure", "--prefix=#{prefix}"
     system "make", "install"
@@ -17,3 +19,17 @@
     system "#{bin}/recollindex", "-h"
   end
 end
+
+__END__
+--- a/configure.orig	2014-01-07 12:39:40.606718201 +0100
++++ b/configure	2014-01-07 12:39:58.574599715 +0100
+@@ -5120,7 +5120,7 @@
+   # basically to enable using a Macbook for development
+   if test X$sys = XDarwin ; then
+      # The default is xcode
+-     QMAKE="${QMAKE} -spec macx-g++"
++     QMAKE="${QMAKE}"
+   fi
+
+   # Discriminate qt3/4. Qt3 qmake prints its version on stderr but we don't
+