[arch-commits] Commit in gd/trunk (PKGBUILD)
Pierre Schmitz
pierre at gemini.archlinux.org
Sat Sep 25 07:33:39 UTC 2021
Date: Saturday, September 25, 2021 @ 07:33:39
Author: pierre
Revision: 424683
upgpkg: gd 2.3.3-2
Modified:
gd/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-25 06:31:28 UTC (rev 424682)
+++ PKGBUILD 2021-09-25 07:33:39 UTC (rev 424683)
@@ -2,7 +2,7 @@
pkgname=gd
pkgver=2.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Library for the dynamic creation of images by programmers"
arch=('x86_64')
url="https://libgd.github.io/"
@@ -10,9 +10,19 @@
depends=('fontconfig' 'libxpm' 'libwebp' 'libavif' 'libheif')
optdepends=('perl: bdftogd script')
checkdepends=('ttf-liberation')
-source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('24429f9d0dbe0f865aaa4b1a63558242396ba9134e6cfd32ca5e486a84483350')
+source=("https://github.com/libgd/libgd/archive/${pkgname}-${pkgver}.tar.gz"
+ 'https://github.com/libgd/libgd/commit/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch')
+sha256sums=('24429f9d0dbe0f865aaa4b1a63558242396ba9134e6cfd32ca5e486a84483350'
+ '2ae91e3e018440c74c1628bac5deed2851234f2b5bfea49bf805312c64d0115e')
+prepare() {
+ cd libgd-${pkgname}-${pkgver}
+
+ # Re-add macros that are used in PHP
+ # See https://github.com/php/php-src/pull/7490
+ patch -p1 -R -i "$srcdir/bdc281eadb1d58d5c0c7bbc1125ee4674256df08.patch"
+}
+
build() {
cd libgd-${pkgname}-${pkgver}
More information about the arch-commits
mailing list