lowdown: update to 0.3.2.

This commit is contained in:
Duncaen 2018-04-19 22:28:21 +02:00
parent 2ddb1a0642
commit ad05bba120
4 changed files with 11 additions and 41 deletions

View file

@ -18,6 +18,8 @@ HAVE_SECCOMP_FILTER=1
HAVE_SOCK_NONBLOCK=1
HAVE_STRLCAT=0
HAVE_STRLCPY=0
HAVE_STRNDUP=1
HAVE_STRNLEN=1
HAVE_STRTONUM=0
HAVE_SYSTRACE=0
HAVE_ZLIB=0

View file

@ -18,6 +18,8 @@ HAVE_SECCOMP_FILTER=1
HAVE_SOCK_NONBLOCK=1
HAVE_STRLCAT=1
HAVE_STRLCPY=1
HAVE_STRNDUP=1
HAVE_STRNLEN=1
HAVE_STRTONUM=0
HAVE_SYSTRACE=0
HAVE_ZLIB=0

View file

@ -1,33 +0,0 @@
From 04a9e2f44d90f7b397716bb50d55e53e6ed8367c Mon Sep 17 00:00:00 2001
From: Duncaen <mail@duncano.de>
Date: Fri, 9 Mar 2018 18:53:12 +0100
Subject: [PATCH] use LDFLAGS in Makefile
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9a124cc..0a422c3 100644
--- Makefile
+++ Makefile
@@ -62,7 +62,7 @@ installwww: www
install -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
lowdown: liblowdown.a main.o
- $(CC) -o $@ main.o liblowdown.a -lm
+ $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) -lm
lowdown-diff: lowdown
ln -f lowdown lowdown-diff
--- configure.orig
+++ configure
@@ -65,7 +65,7 @@
CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter"
LDADD=
CPPFLAGS=
-LDFLAGS=
+LDFLAGS=`printf "all:\\n\\t@echo \\\$(LDFLAGS)\\n" | make -sf -`
PREFIX="/usr/local"
BINDIR=
SBINDIR=

View file

@ -1,18 +1,16 @@
# Template file for 'lowdown'
pkgname=lowdown
version=0.3.1
revision=2
wrksrc="${pkgname}-VERSION_${version//./_}"
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
build_style=configure
version=0.3.2
revision=1
build_style=gnu-makefile
short_desc="Simple markdown translator"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="ISC"
homepage="https://kristaps.bsd.lv/lowdown/"
distfiles="https://github.com/kristapsdz/lowdown/archive/VERSION_${version//./_}.tar.gz"
checksum=af1fe2904dd543e46ff2b19ccd601df053986f3913d5abf68ac9c62da50754ec
distfiles="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz"
checksum="740cf6025c43ceaae9bcc1ffc3e94986aa62d65d91ef8173d444a1977c562094"
pre_configure() {
do_configure() {
local _libc=glibc
case "$XBPS_TARGET_MACHINE" in
*-musl) _libc=musl ;;
@ -20,6 +18,7 @@ pre_configure() {
if [ -n "$CROSS_BUILD" ]; then
cp "${FILESDIR}/configure.$_libc" configure.local
fi
./configure PREFIX=/usr MANDIR=/usr/share/man
}
post_install() {