[arch-commits] Commit in discount/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 10 19:47:52 UTC 2020
Date: Saturday, October 10, 2020 @ 19:47:52
Author: arojas
Revision: 397934
Use upstream patch for system LDFLAGS
Modified:
discount/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-10 18:53:04 UTC (rev 397933)
+++ PKGBUILD 2020-10-10 19:47:52 UTC (rev 397934)
@@ -10,8 +10,10 @@
arch=(x86_64)
url="https://www.pell.portland.or.us/~orc/Code/discount/"
license=('custom:BSD')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/Orc/discount/archive/v$pkgver.tar.gz")
-sha256sums=('72c1325ddfc40871d6810f1e272cf2d45b361f26357eb38f170fd04d737bb9f2')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/Orc/discount/archive/v$pkgver.tar.gz"
+ discount-ldflags.patch::"https://github.com/Orc/discount/commit/55cea9c5.patch")
+sha256sums=('72c1325ddfc40871d6810f1e272cf2d45b361f26357eb38f170fd04d737bb9f2'
+ '7eced2472fdbe25badc13c35dfd6920b68b5a208889ee031ef0c060c093cc89b')
depends=(glibc)
conflicts=(markdown)
provides=(markdown)
@@ -18,7 +20,7 @@
replaces=(markdown)
prepare() {
- sed -e 's|FLAGS=\"$AC_CFLAGS -shared\"|FLAGS="$AC_CFLAGS $AC_LDFLAGS -shared"|g' -i $pkgname-$pkgver/configure.inc # Honor system LDFLAGS in libmarkdown
+ patch -d $pkgname-$pkgver -p1 -i ../discount-ldflags.patch # Honor system ldflags
}
build() {
More information about the arch-commits
mailing list