diff mbox series

[bug#72777,v2] gnu: dhewm3: Update to 1.5.4.

Message ID 25edd020d15d448e71193b5372068bf93789c402.1725507446.git.jsubuntuxp@disroot.org
State New
Headers show
Series [bug#72777,v2] gnu: dhewm3: Update to 1.5.4. | expand

Commit Message

James Smith Sept. 5, 2024, 3:37 a.m. UTC
* gnu/packages/game-development.scm: (dhewm3): Update to 1.5.4.
[arguments]: Set configure flags for 32-bit builds.

Change-Id: I8db801b099910e60e85d0da7ddcc77654205107f
---
 gnu/packages/game-development.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)


base-commit: ed95ddeb1e58c314f2e22b4cd35986042f3e2f21

Comments

Liliana Marie Prikler Sept. 13, 2024, 7 p.m. UTC | #1
Am Mittwoch, dem 04.09.2024 um 20:37 -0700 schrieb James Smith:
> * gnu/packages/game-development.scm: (dhewm3): Update to 1.5.4.
> [arguments]: Set configure flags for 32-bit builds.
> 
> Change-Id: I8db801b099910e60e85d0da7ddcc77654205107f
> ---
Pushed as 0e0d9bc91f20ac6dda439ab09330f0163eb9bf42.

Thanks
James Smith Oct. 27, 2024, 2:35 p.m. UTC | #2
Noticed this hasn't been closed yet, closing.
diff mbox series

Patch

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 62f578f3db..0723cb49f3 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3091,7 +3091,7 @@  (define-public warsow-qfusion
 (define-public dhewm3
   (package
     (name "dhewm3")
-    (version "1.5.3")
+    (version "1.5.4")
     (source (origin
               (method git-fetch)
               (uri (git-reference (url "https://github.com/dhewm/dhewm3")
@@ -3099,10 +3099,15 @@  (define-public dhewm3
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1zbwhrngmgb0969izmxididyx892qk7591aa9mbigakw6dvmlm84"))))
+                "16cvf78a7q00bkf74waj6gss09y4iqn3zl9srsfg6i7336gjm2wn"))))
     (build-system cmake-build-system)
     (arguments
      (list #:tests? #f                  ; No tests.
+           #:configure-flags
+           ;; Needed to fix 32bit builds.
+           #~(if (not #$(target-64bit?))
+                 (list "-DCMAKE_CXX_FLAGS=-D_FILE_OFFSET_BITS=64")
+                 '())
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'change-to-build-dir