update argp-standalone to a newer fork/continuation based on newer glibc

This commit is contained in:
sthen 2022-09-02 09:42:10 +00:00
parent 5fa9e66597
commit ab74d51e2a
5 changed files with 10 additions and 40 deletions

View File

@ -1,23 +1,14 @@
COMMENT= standalone version of argument parsing functions from GLIBC
COMMENT= standalone version of glibc's argument-parsing functions
DISTNAME= argp-standalone-1.3
REVISION= 3
GH_ACCOUNT= argp-standalone
GH_PROJECT= argp-standalone
GH_TAGNAME= 1.5.0
CATEGORIES= devel
# GPL
# LGPLv2.1+
PERMIT_PACKAGE= Yes
MASTER_SITES= https://www.lysator.liu.se/~nisse/misc/
SEPARATE_BUILD= Yes
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --disable-dependency-tracking
CFLAGS+= --std=gnu89
do-install:
${INSTALL_DATA} ${WRKBUILD}/libargp.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/argp.h ${PREFIX}/include
MODULES= devel/meson
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (argp-standalone-1.3.tar.gz) = 3seWlNoTGazSI4zpXfV/NoD+okggluSDMj/d89gY2L4=
SIZE (argp-standalone-1.3.tar.gz) = 130255
SHA256 (argp-standalone-1.5.0.tar.gz) = wp6ukp3+vVdcOBdPLIwxV2YJLOyZqPmHVp0MrTxtZPY=
SIZE (argp-standalone-1.5.0.tar.gz) = 65889

View File

@ -1,21 +0,0 @@
Index: acinclude.m4
--- acinclude.m4.orig
+++ acinclude.m4
@@ -284,8 +284,7 @@ AC_DEFUN([LSH_GCC_ATTRIBUTES],
lsh_cv_c_attribute,
[ AC_TRY_COMPILE([
#include <stdlib.h>
-],
-[
+
static void foo(void) __attribute__ ((noreturn));
static void __attribute__ ((noreturn))
@@ -294,6 +293,7 @@ foo(void)
exit(1);
}
],
+[],
lsh_cv_c_attribute=yes,
lsh_cv_c_attribute=no)])

View File

@ -1 +1 @@
Standalone version of arguments parsing functions from GLIBC
Standalone version of argument parsing functions from glibc.

View File

@ -1,2 +1,2 @@
include/argp.h
lib/libargp.a
@static-lib lib/libargp.a