Jürgen Hötzel pushed to branch main at Arch Linux / Packaging / Packages / ecl


Commits:
f32c3b77 by loqs at 2025-05-04T16:40:37+00:00
Apply patches for build failure with gcc 15

Upstream commits:
- 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5b4e9c4bbd7cce4a678eecd493e56c495490e8b5.
- 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5ec9e02f6db9694dcdef7574036f1e320d64a8af.patch.
- 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/1aec8f741f69fd736f020b7fe4d3afc33e60ae6a.patch.

The first commit is needed for the second commit to apply cleanly.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -13,6 +13,12 @@ pkgbase = ecl
        provides = cl-asdf
        options = !makeflags
        source = 
https://common-lisp.net/project/ecl/static/files/release/ecl-24.5.10.tgz
+       source = 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5b4e9c4bbd7cce4a678eecd493e56c495490e8b5.patch
+       source = 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5ec9e02f6db9694dcdef7574036f1e320d64a8af.patch
+       source = 
https://gitlab.com/embeddable-common-lisp/ecl/-/commit/1aec8f741f69fd736f020b7fe4d3afc33e60ae6a.patch
        sha256sums = 
e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b
+       sha256sums = 
6926dfba7c1b7ef2b55f1a885a60cb9c48b95de4557ff4e60b6102ac10676bb0
+       sha256sums = 
8118ce439047fc78f3ea07aef80a5e13bd5d2a05b3b19445c98d6ecd59e4adae
+       sha256sums = 
e2966a928424e6d1f156212d571b7e0887faf87d72ea20780b681757bb425b37
 
 pkgname = ecl


=====================================
PKGBUILD
=====================================
@@ -13,8 +13,24 @@ depends=('bash' 'gmp' 'libffi')
 makedepends=('texinfo')
 provides=('common-lisp' 'cl-asdf')
 options=('!makeflags')
-source=("https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz";)
-sha256sums=('e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b')
+source=("https://common-lisp.net/project/ecl/static/files/release/${pkgname}-${pkgver}.tgz";
+        
"https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5b4e9c4bbd7cce4a678eecd493e56c495490e8b5.patch";
+        
"https://gitlab.com/embeddable-common-lisp/ecl/-/commit/5ec9e02f6db9694dcdef7574036f1e320d64a8af.patch";
+        
"https://gitlab.com/embeddable-common-lisp/ecl/-/commit/1aec8f741f69fd736f020b7fe4d3afc33e60ae6a.patch";)
+sha256sums=('e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b'
+            '6926dfba7c1b7ef2b55f1a885a60cb9c48b95de4557ff4e60b6102ac10676bb0'
+            '8118ce439047fc78f3ea07aef80a5e13bd5d2a05b3b19445c98d6ecd59e4adae'
+            'e2966a928424e6d1f156212d571b7e0887faf87d72ea20780b681757bb425b37')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # cfun_dispatch.d: remove unneeded variadic dispatch function
+  patch -Np1 -i ../5b4e9c4bbd7cce4a678eecd493e56c495490e8b5.patch
+  # apply.d: fix deprecation warnings for function calls without prototypes 
+  patch -Np1 -i ../5ec9e02f6db9694dcdef7574036f1e320d64a8af.patch
+  # port to C23 standard
+  patch -Np1 -i ../1aec8f741f69fd736f020b7fe4d3afc33e60ae6a.patch
+}
 
 build() {
   cd $pkgname-$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ecl/-/commit/f32c3b776d0027e8226c07b1f011c147e4afe105

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ecl/-/commit/f32c3b776d0027e8226c07b1f011c147e4afe105
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to