diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -106,7 +106,10 @@
   where cArgs = ["-DHAVE_GETENTROPY"]
 
 myRawSystemExitCode :: Verbosity -> FilePath -> [String] -> IO ExitCode
-#if __GLASGOW_HASKELL__ >= 704
+#if MIN_VERSION_Cabal(3,14,0)
+myRawSystemExitCode verbosity program arguments =
+    rawSystemExitCode verbosity Nothing program arguments Nothing
+#elif __GLASGOW_HASKELL__ >= 704
 -- We know for sure, that if GHC >= 7.4 implies Cabal >= 1.14
 myRawSystemExitCode = rawSystemExitCode
 #else
diff --git a/entropy.cabal b/entropy.cabal
--- a/entropy.cabal
+++ b/entropy.cabal
@@ -1,6 +1,6 @@
+cabal-version:  >=1.10
 name:           entropy
-
-version:        0.4.1.10
+version:        0.4.1.11
 description:    A mostly platform independent method to obtain cryptographically strong entropy
                 (RDRAND, urandom, CryptAPI, and patches welcome)
                 Users looking for cryptographically strong (number-theoretically
@@ -18,12 +18,27 @@
 
 build-type:     Custom
 
--- ^^ Test for RDRAND support using 'ghc'
-cabal-version:  >=1.10
-tested-with:    GHC == 8.2.2
--- data-files:
-extra-source-files:   ./cbits/getrandom.c ./cbits/random_initialized.c ./cbits/rdrand.c, ./cbits/rdrand.h, README.md
+tested-with:
+  GHC == 9.12.1
+  GHC == 9.10.1
+  GHC == 9.8.4
+  GHC == 9.6.6
+  GHC == 9.4.8
+  GHC == 9.2.8
+  GHC == 9.0.2
+  GHC == 8.10.7
+  GHC == 8.8.4
+  GHC == 8.6.5
+  GHC == 8.4.4
+  GHC == 8.2.2
 
+extra-source-files:
+  ./cbits/getrandom.c
+  ./cbits/random_initialized.c
+  ./cbits/rdrand.c
+  ./cbits/rdrand.h
+  README.md
+
 Flag DoNotGetEntropy
   Description: Avoid use of the getentropy() *nix function. By default getentropy will be used
                if detected during compilation (this plays poorly with cross compilation).
@@ -31,9 +46,9 @@
   Manual: True
 
 custom-setup
-  setup-depends: Cabal >= 1.10 && < 3.9
+  setup-depends: Cabal >= 1.10 && < 3.15
                , base < 5
-               , filepath < 1.5
+               , filepath < 1.6
                , directory < 1.4
                , process < 1.7
 
