depot/third_party/nixpkgs/pkgs/development/haskell-modules/patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

12 lines
363 B
Diff

diff --git a/src/Gtk2HsSetup.hs b/src/Gtk2HsSetup.hs
index 598048f..b652b76 100644
--- a/src/Gtk2HsSetup.hs
+++ b/src/Gtk2HsSetup.hs
@@ -300,6 +300,7 @@ ourC2hs :: BuildInfo -> LocalBuildInfo -> PreProcessor
ourC2hs bi lbi = PreProcessor {
#endif
platformIndependent = False,
+ ppOrdering = (\ _ _ ms -> return ms),
runPreProcessor = runC2HS bi lbi
}