aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tagutil/patch-musl.patch
blob: 7be2491908c0b666501e5cb6e60693bee6624360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- tagutil-3.1/src/compat/include/sys/queue.h.orig	2020-04-06 19:26:17.876055943 +0200
+++ tagutil-3.1/src/compat/include/sys/queue.h	2020-04-06 19:26:24.292746650 +0200
@@ -33,8 +33,6 @@
 #ifndef _SYS_QUEUE_H_
 #define	_SYS_QUEUE_H_
 
-#include <sys/cdefs.h>
-
 /*
  * This file defines four types of data structures: singly-linked lists,
  * singly-linked tail queues, lists and tail queues.
--- tagutil-3.1/src/compat/subr_sbuf.c.orig	2020-04-06 19:26:54.572881419 +0200
+++ tagutil-3.1/src/compat/subr_sbuf.c	2020-04-06 19:27:01.302916526 +0200
@@ -26,7 +26,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 /*
 __FBSDID("$FreeBSD: release/10.0.0/sys/kern/subr_sbuf.c 255805 2013-09-22 23:47:56Z des $");
 */
--- tagutil-3.1/src/CMakeLists.txt.orig	2020-04-06 19:30:20.403844481 +0200
+++ tagutil-3.1/src/CMakeLists.txt	2020-04-06 19:30:55.434019063 +0200
@@ -34,7 +34,7 @@
 add_compile_options(-fstack-protector-strong -o aslr -fpie)
 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie")
 # Per build type flags.
-set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -O0 -g -fsanitize=undefined")
+set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -O0 -g")
 # CMAKE_BUILD_TYPE=GRIM: *very* strict compiler options
 set(CMAKE_C_FLAGS_GRIM "${CMAKE_C_FLAGS_DEBUG} -Wextra -pedantic -Wconversion -Wstrict-prototypes -Wcast-qual -Wcast-align -Wshadow -Wredundant-decls -Wundef -Wfloat-equal -Wmissing-include-dirs -Wswitch-default -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wold-style-definition -Wformat=2 -Winit-self -Wwrite-strings -Wmissing-prototypes")
 include(CheckCCompilerFlag)