argp-standalone: update to 1.4.1.
Revbumping most dependants after this will be necessary, because there is a very visible bug where "<program> --usage" or "<program> --help" segfaults for some applications. Forking and switching upstream has been done because the project isn't active and no one has forked it themselves yet, at least that I could find.
This commit is contained in:
parent
c1ab410875
commit
d69e0c9710
2 changed files with 12 additions and 40 deletions
|
@ -1,32 +0,0 @@
|
|||
Effectively disable inlining of functions which are defined
|
||||
in argp-fmtstream.c because of name space conflicts when
|
||||
including argp-namefrob.h
|
||||
|
||||
--- argp-fmtstream.h 2003-12-11 09:37:05.000000000 +0100
|
||||
+++ argp-fmtstream.h 2016-09-27 09:19:48.891000000 +0200
|
||||
@@ -192,6 +192,7 @@
|
||||
extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
|
||||
extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
|
||||
|
||||
+#ifdef ARGP_USE_INLINE
|
||||
#ifdef __OPTIMIZE__
|
||||
/* Inline versions of above routines. */
|
||||
|
||||
@@ -208,7 +209,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef ARGP_FS_EI
|
||||
-#define ARGP_FS_EI extern inline
|
||||
+#define ARGP_FS_EI static inline
|
||||
#endif
|
||||
|
||||
ARGP_FS_EI size_t
|
||||
@@ -306,6 +307,8 @@
|
||||
|
||||
#endif /* __OPTIMIZE__ */
|
||||
|
||||
+#endif /* ARGP_USE_INLINE */
|
||||
+
|
||||
#endif /* ARGP_FMTSTREAM_USE_LINEWRAP */
|
||||
|
||||
#endif /* argp-fmtstream.h */
|
|
@ -1,20 +1,24 @@
|
|||
# Template file for 'argp-standalone'
|
||||
pkgname=argp-standalone
|
||||
version=1.3
|
||||
revision=2
|
||||
version=1.4.1
|
||||
revision=1
|
||||
archs="*-musl"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf automake"
|
||||
short_desc="Implementation of ARGP"
|
||||
maintainer="John Regan <john@jrjrtech.com>"
|
||||
homepage="https://www.freshports.org/devel/argp-standalone/"
|
||||
license="Public Domain"
|
||||
distfiles="http://www.lysator.liu.se/~nisse/misc/argp-standalone-${version}.tar.gz"
|
||||
checksum=dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be
|
||||
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://github.com/ericonr/argp-standalone"
|
||||
distfiles="https://github.com/ericonr/argp-standalone/archive/${version}.tar.gz"
|
||||
checksum=879d76374424dce051b812f16f43c6d16de8dbaddd76002f83fd1b6e57d39e0b
|
||||
|
||||
CFLAGS="-fPIC"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall ${wrksrc}/libargp.a 644 usr/lib
|
||||
vinstall ${wrksrc}/argp.h 644 usr/include
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue