don't keep minix-port.patch files in repo
. causes git noise, and unnecessary conflicts . are easily generated with 'make nbsd_diff' in tools/
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
diff -ru nbsdsrc/src/lib/libterminfo/Makefile lib/libterminfo/Makefile
|
||||
--- nbsdsrc/src/lib/libterminfo/Makefile
|
||||
+++ lib/libterminfo/Makefile
|
||||
@@ -1,6 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.12 2010/07/06 05:59:53 mrg Exp $
|
||||
|
||||
+.if defined(__MINIX)
|
||||
+.include "minix-config.inc"
|
||||
+USE_SHLIBDIR= no
|
||||
+.else
|
||||
USE_SHLIBDIR= yes
|
||||
+.endif
|
||||
|
||||
LIB= terminfo
|
||||
WARNS= 4
|
||||
@@ -54,7 +59,9 @@
|
||||
gen: hash compiled_terms man
|
||||
|
||||
.include <bsd.own.mk>
|
||||
+.if !defined(__MINIX)
|
||||
.include <bsd.shlib.mk>
|
||||
+.endif
|
||||
|
||||
.if ${MKLINKLIB} != "no"
|
||||
SYMLINKS+= libterminfo.a ${LIBDIR}/libtermcap.a
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
||||
diff -ru nbsdsrc/src/lib/libm/Makefile lib/nbsd_libm/Makefile
|
||||
--- nbsdsrc/src/lib/libm/Makefile
|
||||
+++ lib/nbsd_libm/Makefile
|
||||
@@ -13,6 +13,10 @@
|
||||
#
|
||||
#
|
||||
|
||||
+.if ${MACHINE_ARCH} == "unknown"
|
||||
+MACHINE_ARCH:= ${MACHINE}
|
||||
+.endif
|
||||
+
|
||||
#
|
||||
# There are two options in making libm at fdlibm compile time:
|
||||
# _IEEE_LIBM --- IEEE libm; smaller, and somewhat faster
|
||||
diff -ru nbsdsrc/src/lib/libm/arch/i387/fenv.c lib/nbsd_libm/arch/i387/fenv.c
|
||||
--- nbsdsrc/src/lib/libm/arch/i387/fenv.c
|
||||
+++ lib/nbsd_libm/arch/i387/fenv.c
|
||||
@@ -122,8 +122,10 @@
|
||||
size_t oldlen = sizeof(__HAS_SSE);
|
||||
int rv;
|
||||
|
||||
+#ifndef __minix
|
||||
rv = sysctlbyname("machdep.sse", &__HAS_SSE, &oldlen, NULL, 0);
|
||||
if (rv == -1)
|
||||
+#endif
|
||||
__HAS_SSE = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user