diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -6,6 +6,6 @@
 main = setupHaskellGIBinding name version verbose overridesFile outputDir
   where name = "Vte"
         version = "2.91"
-        overridesFile = Nothing
+        overridesFile = Just "Vte.overrides"
         verbose = False
         outputDir = Nothing
diff --git a/Vte.overrides b/Vte.overrides
new file mode 100644
--- /dev/null
+++ b/Vte.overrides
@@ -0,0 +1,5 @@
+namespace Vte
+
+# This function is deprecated, does nothing, and the introspection
+# data is wrong.
+ignore Terminal.event_check_gregex_simple
diff --git a/gi-vte.cabal b/gi-vte.cabal
--- a/gi-vte.cabal
+++ b/gi-vte.cabal
@@ -1,5 +1,5 @@
 name:                 gi-vte
-version:              2.91.6
+version:              2.91.7
 synopsis:             Vte bindings
 description:          Bindings for Vte, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -10,6 +10,8 @@
 category:             Bindings
 build-type:           Custom
 cabal-version:        >= 1.24
+
+extra-source-files: Vte.overrides
 
 custom-setup
       setup-depends: base >= 4.7 && < 5,
