Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
libixion


Commits:
bb7ba34e by Antonio Rojas at 2025-01-04T11:26:33+01:00
upgpkg: 0.19.0-6: Fix compilation with -Werror=undef

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libixion
        pkgdesc = A general purpose formula parser & interpreter
        pkgver = 0.19.0
-       pkgrel = 5
+       pkgrel = 6
        url = https://gitlab.com/ixion/ixion/blob/master/README.md
        arch = x86_64
        license = custom
@@ -13,6 +13,8 @@ pkgbase = libixion
        depends = gcc-libs
        depends = glibc
        source = https://kohei.us/files/ixion/src/libixion-0.19.0.tar.xz
+       source = https://gitlab.com/ixion/ixion/-/commit/7b1df6fc.patch
        sha256sums = 
b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15
+       sha256sums = 
2252cee824721c9b9ad46989f98c6d7d192d01635f74b0d9dac9072d86e599f2
 
 pkgname = libixion


=====================================
PKGBUILD
=====================================
@@ -3,16 +3,23 @@
 
 pkgname=libixion
 pkgver=0.19.0
-pkgrel=5
+pkgrel=6
 pkgdesc="A general purpose formula parser & interpreter"
 arch=('x86_64')
 url="https://gitlab.com/ixion/ixion/blob/master/README.md";
 license=('custom')
 depends=('boost-libs' 'python' 'gcc-libs' 'glibc')
 makedepends=('boost' 'mdds' 'spdlog')
-source=("https://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz";)
+source=("https://kohei.us/files/ixion/src/libixion-${pkgver}.tar.xz";
+         https://gitlab.com/ixion/ixion/-/commit/7b1df6fc.patch)
 # https://gitlab.com/ixion/ixion/-/releases
-sha256sums=('b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15')
+sha256sums=('b4864d7a55351a09adbe9be44e5c65b1d417e80e946c947951d0e8428b9dcd15'
+            '2252cee824721c9b9ad46989f98c6d7d192d01635f74b0d9dac9072d86e599f2')
+
+prepare() {
+  # Fix build with -Werror=undef
+  patch -d $pkgname-$pkgver -p1 < 7b1df6fc.patch
+}
 
 build() {
   cd ${pkgname}-${pkgver}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libixion/-/commit/bb7ba34edc5ae36d9213ae95fdac802a741fc917

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


Reply via email to