mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 01:30:07 +02:00
70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
From 9f45d75e40253a23b88eb8a49f307daa70a8d124 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sun, 27 Dec 2020 11:59:31 +0000
|
|
Subject: Remove -pthread for the test
|
|
|
|
|
|
diff --git a/tests/collisions/Makefile b/tests/collisions/Makefile
|
|
index 7191b70..3f05073 100644
|
|
--- a/tests/collisions/Makefile
|
|
+++ b/tests/collisions/Makefile
|
|
@@ -30,7 +30,7 @@ CFLAGS += -Wall -Wextra -Wconversion \
|
|
-std=c99
|
|
CXXFLAGS += -Wall -Wextra -Wconversion \
|
|
-std=c++11
|
|
-LDFLAGS += -pthread
|
|
+#LDFLAGS += -pthread
|
|
TESTHASHES = 110000000
|
|
|
|
HASH_SRC := $(sort $(wildcard allcodecs/*.c allcodecs/*.cc))
|
|
--
|
|
2.30.2
|
|
|
|
|
|
From b9d85ce7b19c1da58eed5118ebe47309de1d60e2 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Tue, 29 Mar 2022 11:59:37 +0000
|
|
Subject: Fix, error: unused parameter 'stream'
|
|
|
|
|
|
diff --git a/cli/xsum_os_specific.c b/cli/xsum_os_specific.c
|
|
index a568b56..4f6f00f 100644
|
|
--- a/cli/xsum_os_specific.c
|
|
+++ b/cli/xsum_os_specific.c
|
|
@@ -42,7 +42,8 @@
|
|
#if (defined(__linux__) && (XSUM_PLATFORM_POSIX_VERSION >= 1)) \
|
|
|| (XSUM_PLATFORM_POSIX_VERSION >= 200112L) \
|
|
|| defined(__DJGPP__) \
|
|
- || defined(__MSYS__)
|
|
+ || defined(__MSYS__) \
|
|
+ || defined(__HAIKU__)
|
|
# include <unistd.h> /* isatty */
|
|
# define XSUM_IS_CONSOLE(stdStream) isatty(fileno(stdStream))
|
|
#elif defined(MSDOS) || defined(OS2)
|
|
--
|
|
2.30.2
|
|
|
|
|
|
From 0294335ff690aea92036bde617ac78e3644bb48b Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sun, 27 Dec 2020 12:47:45 +0000
|
|
Subject: Fix linking against -lubsan (needed for the clang tests)
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index be631b1..da2f978 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -368,7 +368,7 @@ usan: CXX=clang++
|
|
usan: ## check CLI runtime for undefined behavior, using clang's sanitizer
|
|
@echo ---- check undefined behavior - sanitize ----
|
|
$(MAKE) clean
|
|
- $(MAKE) test CC=$(CC) CXX=$(CXX) MOREFLAGS="-g -fsanitize=undefined -fno-sanitize-recover=all"
|
|
+ $(MAKE) test CC=$(CC) CXX=$(CXX) MOREFLAGS="-g -fsanitize=undefined -fno-sanitize-recover=all -fsanitize-undefined-trap-on-error"
|
|
|
|
.PHONY: staticAnalyze
|
|
SCANBUILD ?= scan-build
|
|
--
|
|
2.30.2
|
|
|