diff --git a/srcpkgs/argp-standalone/patches/fix-no_use_inline.patch b/srcpkgs/argp-standalone/patches/fix-no_use_inline.patch deleted file mode 100644 index a76bba8000f..00000000000 --- a/srcpkgs/argp-standalone/patches/fix-no_use_inline.patch +++ /dev/null @@ -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 */ diff --git a/srcpkgs/argp-standalone/template b/srcpkgs/argp-standalone/template index 061fbf5330f..55983b8b3d0 100644 --- a/srcpkgs/argp-standalone/template +++ b/srcpkgs/argp-standalone/template @@ -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 " -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 " +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 } -