diff options
author | Zach van Rijn <me@zv.io> | 2023-03-23 07:02:39 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-03-23 07:02:39 -0500 |
commit | 58b7707085dd1eb8b98cade916a17842531e4d19 (patch) | |
tree | 4bdd0288a7832dc17bb99668db50f52379744f4a /user/ol/fix-cdefs-test.patch | |
parent | 085106afc33011cf67001e8e92bbac6a6ab8bf76 (diff) | |
download | packages-58b7707085dd1eb8b98cade916a17842531e4d19.tar.gz packages-58b7707085dd1eb8b98cade916a17842531e4d19.tar.bz2 packages-58b7707085dd1eb8b98cade916a17842531e4d19.tar.xz packages-58b7707085dd1eb8b98cade916a17842531e4d19.zip |
user/ol: patch out sys/cdefs.h check. fixes #974.
Diffstat (limited to 'user/ol/fix-cdefs-test.patch')
-rw-r--r-- | user/ol/fix-cdefs-test.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/user/ol/fix-cdefs-test.patch b/user/ol/fix-cdefs-test.patch new file mode 100644 index 000000000..41578836c --- /dev/null +++ b/user/ol/fix-cdefs-test.patch @@ -0,0 +1,21 @@ +diff -ur a/tests/Makefile b/tests/Makefile +--- a/tests/Makefile 2023-03-23 06:59:27.672116150 -0500 ++++ b/tests/Makefile 2023-03-23 06:59:48.224536016 -0500 +@@ -17,8 +17,8 @@ + failed:="\033[1;31mfailed\033[0m" + + # 32-/64-bit test environment setup +-HAS_32CDEFS ?= $(call exists,-m32,sys/cdefs.h,exit) +-HAS_64CDEFS ?= $(call exists,-m64,sys/cdefs.h,exit) ++HAS_32CDEFS ?= 0 ++HAS_64CDEFS ?= 0 + + ifeq ($(HAS_64CDEFS),1) + vm64 = printf "64 " && ./vm64 repl <$$F | diff - $$F.ok +@@ -425,4 +425,4 @@ + @if [ -e $(FAILED) ] ;then rm -f $(FAILED); exit 1 ;fi + @echo "\033[1;32mpassed!\033[0m" + +-endif +\ No newline at end of file ++endif |