summaryrefslogtreecommitdiff
path: root/Ports/cmake/patches/ReadMe.md
blob: 8b2b218a5c83333965d7094c6295a0a3f68c1892 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Patches for cmake on SerenityOS

## `0001-cmnghttp2-check-for-HAVE_SIZEOF_SSIZE_T-and-not-HAVE.patch`

cmnghttp2: check for HAVE_SIZEOF_SSIZE_T and not HAVE_SSIZE_T

The `check_size_type(ssize_t SIZEOF_SSIZE_T` call in cmcurl (referenced
by the comment above, which also references some other variables that
no longer seem to be used) defines HAVE_SIZEOF_SSIZE_T and not
HAVE_SSIZE_T.
The HAVE_SSIZE_T variable *does* get defined, but via the
`CHECK_SIZE_TYPE(ssize_t SSIZE_T)` call in cmlibarchive, which gets
configured *after* cmnghttp2, and so the first configure leads to an
invalid cmnghttp2/config.h file.

- [ ] Local?
- [X] Should be merged to upstream?
- [ ] Resolves issues(s) with our side of things
- [ ] Hack

## `0002-kwsys-Don-t-use-siginfo.patch`

kwsys: Don't use siginfo

We don't support SIGINFO. This patch removes uses of SIGINFO.

- [X] Local?
- [ ] Should be merged to upstream?
- [X] Resolves issue(s) with our side of things
- [ ] Hack

## `0003-bin-bash.patch`

/bin/bash

This patch swaps out /bin/sh for /bin/bash in two scripts that need it.

- [X] Local?
- [ ] Should be merged to upstream?
- [ ] Resolves issue(s) with our side of things
- [ ] Hack

## `0004-Platform-SerenityOS.patch`

Platform/SerenityOS

This patch adds the SerenityOS platform config file to CMake.

- [ ] Local?
- [X] Should be merged to upstream? If we want to have cmake support serenity out of the box.
- [ ] Resolves issue(s) with our side of things
- [ ] Hack

## `0005-cmcurl-Include-unistd.patch`

cmcurl: Include unistd

Everyone gets this wrong. most platforms are very lax with these includes, but we're not one of them.

- [X] Local?
- [ ] Should be merged to upstream?
- [ ] Resolves issue(s) with our side of things
- [ ] Hack

## `0006-cmcurl-Use-struct-stat-and-include-sys-stat.h.patch`

cmcurl: Use struct stat and include sys/stat.h

For unknown reasons, curl_setup_once.h does not include sys/stat.h. this patch includes sys/stat.h.

- [ ] Local?
- [ ] Should be merged to upstream?
- [X] Resolves issue(s) with our side of things
- [X] Hack

## `0007-CMake-Disable-tests.patch`

CMake: Disable tests

We don't care about building tests for now, and it makes the compilation much faster.

- [ ] Local?
- [ ] Should be merged to upstream?
- [ ] Resolves issue(s) with our side of things
- [ ] Hack