tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kmod: fixing darwin.patch
Abdelhakim Qbaich
4 years ago
ea93044e
605ccef4
+9
-6
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
kmod
darwin.patch
+9
-6
pkgs/os-specific/linux/kmod/darwin.patch
···
69
index 4fc5405..b5a2702 100644
70
--- a/shared/macro.h
71
+++ b/shared/macro.h
72
-
@@ -71,3 +71,7 @@
73
-
#endif
74
-
75
-
#define UNIQ __COUNTER__
76
-
+
77
-
+ #if !defined(__linux__)
78
+#define program_invocation_short_name getprogname()
79
+#endif
0
0
0
0
80
diff --git a/shared/missing.h b/shared/missing.h
81
index 4c0d136..ad8ec0f 100644
82
--- a/shared/missing.h
···
69
index 4fc5405..b5a2702 100644
70
--- a/shared/macro.h
71
+++ b/shared/macro.h
72
+
@@ -53,6 +53,10 @@
73
+
#define CONCATENATE(x, y) XCONCATENATE(x, y)
74
+
#define UNIQ(x) CONCATENATE(x, __COUNTER__)
75
+
76
+
+#if !defined(__linux__)
0
77
+#define program_invocation_short_name getprogname()
78
+#endif
79
+
+
80
+
/* Temporaries for importing index handling */
81
+
#define NOFAIL(x) (x)
82
+
#define fatal(x...) do { } while (0)
83
diff --git a/shared/missing.h b/shared/missing.h
84
index 4c0d136..ad8ec0f 100644
85
--- a/shared/missing.h