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


Commits:
b53176c4 by Antonio Rojas at 2024-06-23T15:12:10+02:00
upgpkg: 3.1.3-2: Fix conflicts with complex.h

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = flint
        pkgdesc = A C library for doing number theory
        pkgver = 3.1.3
-       pkgrel = 1
+       pkgrel = 2
        url = http://www.flintlib.org
        arch = x86_64
        license = LGPL-3.0-only
@@ -15,6 +15,8 @@ pkgbase = flint
        replaces = antic
        replaces = arb
        source = git+https://github.com/flintlib/flint#tag=v3.1.3
+       source = https://github.com/flintlib/flint/commit/1b93e73d.patch
        sha256sums = 
085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322
+       sha256sums = 
d95327465594a0d52fa583347c64f8e79854fbee7a64527becbc15659af646ec
 
 pkgname = flint


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=flint
 pkgver=3.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc='A C library for doing number theory'
 arch=(x86_64)
 url='http://www.flintlib.org'
@@ -18,8 +18,15 @@ makedepends=(cmake
              python)
 replaces=(antic
           arb)
-source=(git+https://github.com/flintlib/flint#tag=v$pkgver)
-sha256sums=('085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322')
+source=(git+https://github.com/flintlib/flint#tag=v$pkgver
+        https://github.com/flintlib/flint/commit/1b93e73d.patch)
+sha256sums=('085708b2cc50a98fd0e25d910eba66dfbc257acf37ce188b473ef9f741a3c322'
+            'd95327465594a0d52fa583347c64f8e79854fbee7a64527becbc15659af646ec')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../1b93e73d.patch # Fix conflicts with complex.h
+}
 
 build() {
   cmake -B build -S $pkgname \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/flint/-/commit/b53176c4be0b981a9fc6625524b4ec92e03e0662

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


Reply via email to