about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-12-06 06:01:30 +0000
committerGitHub <noreply@github.com>2023-12-06 06:01:30 +0000
commit035a649a67c56b9d16be608e8bb87b9c215b33da (patch)
treecdb7f52fa90bd89fe14628303333ba524f1c49be /pkgs/stdenv
parent2622221e95392f62f81ae60c35504e338e9ac2cf (diff)
parentbf78e6a54601fc74d8d27fb918a420c84fb6f5b3 (diff)
downloadnixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar.gz
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar.bz2
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar.lz
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar.xz
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.tar.zst
nixlib-035a649a67c56b9d16be608e8bb87b9c215b33da.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/darwin/fixed-xnu-python3.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/pkgs/stdenv/darwin/fixed-xnu-python3.patch b/pkgs/stdenv/darwin/fixed-xnu-python3.patch
deleted file mode 100644
index 9f29376187f4..000000000000
--- a/pkgs/stdenv/darwin/fixed-xnu-python3.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/bsd/kern/makekdebugevents.py b/bsd/kern/makekdebugevents.py
-index 73b2db4..d354ba0 100755
---- a/bsd/kern/makekdebugevents.py
-+++ b/bsd/kern/makekdebugevents.py
-@@ -5,7 +5,7 @@
- # named kd_events[] or these mappings.
- # Required to generate a header file used by DEVELOPMENT and DEBUG kernels.
- #
-- 
-+
- import sys
- import re
- 
-@@ -21,18 +21,18 @@ code_table = []
- # scan file to generate internal table
- with open(trace_code_file, 'rt') as codes:
-     for line in codes:
--	m = id_name_pattern.match(line)
--	if m:
-+        m = id_name_pattern.match(line)
-+        if m:
-             code_table += [(int(m.group(1),base=16), m.group(2))]
- 
- # emit typedef:
--print "typedef struct {"
--print "        uint32_t   id;"
--print "        const char *name;"
--print "} kd_event_t;"
-+print("typedef struct {")
-+print("        uint32_t   id;")
-+print("        const char *name;")
-+print("} kd_event_t;")
- # emit structure declaration and sorted initialization:
--print "kd_event_t kd_events[] = {"
-+print("kd_event_t kd_events[] = {")
- for mapping in sorted(code_table, key=lambda x: x[0]):
--        print "        {0x%x, \"%s\"}," % mapping
--print "};"
-+        print("        {0x%x, \"%s\"}," % mapping)
-+print("};")
-