midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/mandoc-1.14.5_pre.local.patch

d46a8a
diff -Nru mandoc-1.14.5.orig/configure mandoc-1.14.5/configure
d46a8a
--- mandoc-1.14.5.orig/configure	2020-06-02 12:36:34.215963438 +0200
d46a8a
+++ mandoc-1.14.5/configure	2020-06-02 13:35:04.100931431 +0200
d46a8a
@@ -41,7 +41,7 @@
d46a8a
 OSNAME=
d46a8a
 UTF8_LOCALE=
d46a8a
 
d46a8a
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
d46a8a
+CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i PATH="${PATH}" make -sf -`
d46a8a
 CFLAGS=
d46a8a
 LDADD=
d46a8a
 LDFLAGS=
d46a8a
@@ -289,8 +289,6 @@
d46a8a
 runtest EFTYPE		EFTYPE		|| true
d46a8a
 runtest err		ERR		|| true
d46a8a
 runtest getline		GETLINE		|| true
d46a8a
-singletest getsubopt	GETSUBOPT	|| \
d46a8a
-   runtest getsubopt	GETSUBOPT	-D_GNU_SOURCE || true
d46a8a
 runtest isblank		ISBLANK		|| true
d46a8a
 runtest mkdtemp		MKDTEMP		|| true
d46a8a
 runtest ntohl		NTOHL		|| true
d46a8a
@@ -299,8 +297,6 @@
d46a8a
 runtest pledge		PLEDGE		|| true
d46a8a
 runtest sandbox_init	SANDBOX_INIT	|| true
d46a8a
 runtest progname	PROGNAME	|| true
d46a8a
-singletest reallocarray	REALLOCARRAY	|| \
d46a8a
-   runtest reallocarray	REALLOCARRAY	-D_OPENBSD_SOURCE || true
d46a8a
 singletest recallocarray RECALLOCARRAY	|| \
d46a8a
    runtest recallocarray RECALLOCARRAY	-D_OPENBSD_SOURCE || true
d46a8a
 runtest rewb-bsd	REWB_BSD	|| true
d46a8a
@@ -361,20 +357,6 @@
d46a8a
 	echo 1>&3
d46a8a
 fi
d46a8a
 
d46a8a
-# --- nanosleep ---
d46a8a
-if [ -n "${LD_NANOSLEEP}" ]; then
d46a8a
-	runtest nanosleep NANOSLEEP "${LD_NANOSLEEP}" || true
d46a8a
-elif singletest nanosleep NANOSLEEP; then
d46a8a
-	:
d46a8a
-elif runtest nanosleep NANOSLEEP "-lrt"; then
d46a8a
-	LD_NANOSLEEP="-lrt"
d46a8a
-fi
d46a8a
-if [ "${HAVE_NANOSLEEP}" -eq 0 ]; then
d46a8a
-	echo "FATAL: nanosleep: no" 1>&2
d46a8a
-	echo "FATAL: nanosleep: no" 1>&3
d46a8a
-	exit 1
d46a8a
-fi
d46a8a
-
d46a8a
 if [ ${BUILD_CATMAN} -gt 0 ]; then
d46a8a
 	# --- recvmsg ---
d46a8a
 	if [ -n "${LD_RECVMSG}" ]; then
d46a8a
diff -Nru mandoc-1.14.5.orig/configure.local mandoc-1.14.5/configure.local
d46a8a
--- mandoc-1.14.5.orig/configure.local	1970-01-01 01:00:00.000000000 +0100
d46a8a
+++ mandoc-1.14.5/configure.local	2020-06-02 13:35:25.328930766 +0200
d46a8a
@@ -0,0 +1,54 @@
d46a8a
+PREFIX=
d46a8a
+MANDIR=/share/man
d46a8a
+LIBDIR=/lib
d46a8a
+UTF8_LOCALE="en_US.UTF-8"
d46a8a
+MANPATH_DEFAULT="/share/man"
d46a8a
+LN="ln -sf"
d46a8a
+
d46a8a
+# no gnu man, so this is fine.
d46a8a
+BINM_MAN=man
d46a8a
+BINM_APROPOS=apropos
d46a8a
+BINM_WHATIS=whatis
d46a8a
+BINM_MAKEWHATIS=makewhatis
d46a8a
+BINM_SOELIM=soelim
d46a8a
+MANM_MANCONF="man.conf"
d46a8a
+
d46a8a
+# *sigh*
d46a8a
+HAVE_DIRENT_NAMLEN=0
d46a8a
+HAVE_ISBLANK=1
d46a8a
+HAVE_ENDIAN=1
d46a8a
+HAVE_EFTYPE=0
d46a8a
+HAVE_ERR=1
d46a8a
+HAVE_FTS=1
d46a8a
+HAVE_FTS_COMPARE_CONST=1
d46a8a
+HAVE_GETLINE=1
d46a8a
+HAVE_GETSUBOPT=1
d46a8a
+HAVE_ISBLANK=1
d46a8a
+HAVE_LESS_T=0
d46a8a
+HAVE_MKDTEMP=1
d46a8a
+HAVE_NTOHL=1
d46a8a
+HAVE_O_DIRECTORY=1
d46a8a
+HAVE_OHASH=0
d46a8a
+HAVE_PATH_MAX=1
d46a8a
+HAVE_PLEDGE=0
d46a8a
+HAVE_PROGNAME=0
d46a8a
+HAVE_REALLOCARRAY=0
d46a8a
+HAVE_RECALLOCARRAY=0
d46a8a
+HAVE_REWB_BSD=0
d46a8a
+HAVE_REWB_SYSV=1
d46a8a
+HAVE_STRCASESTR=1
d46a8a
+HAVE_STRINGLIST=0
d46a8a
+HAVE_STRLCAT=1
d46a8a
+HAVE_STRLCPY=1
d46a8a
+HAVE_STRPTIME=1
d46a8a
+HAVE_STRSEP=1
d46a8a
+HAVE_STRTONUM=0
d46a8a
+HAVE_SYS_ENDIAN=0
d46a8a
+HAVE_VASPRINTF=1
d46a8a
+HAVE_WCHAR=1
d46a8a
+HAVE_STRNDUP=1
d46a8a
+HAVE_SANDBOX_INIT=0
d46a8a
+
d46a8a
+# *sigh x2* 
d46a8a
+OSENUM=MANDOC_OS_OTHER
d46a8a
+OSNAME="Midipix"