mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
d73fac6b10
Replace fetchgit with fetchFromGitHub now that it supports fetching submodules. Remove unnecessary postPatch to add <math.h> as termite already includes <cmath>. Add a patch to include <errno.h> on all platforms and remove the --as-needed flag from ld on macOS.
25 lines
565 B
Diff
25 lines
565 B
Diff
From 95c90f302c384f410dc92e64468ac7061b57fe2d Mon Sep 17 00:00:00 2001
|
|
From: Michael Hoang <enzime@users.noreply.github.com>
|
|
Date: Fri, 13 Jul 2018 19:03:09 +1000
|
|
Subject: [PATCH] Add errno.h header which isn't always included automatically.
|
|
|
|
---
|
|
termite.cc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/termite.cc b/termite.cc
|
|
index 160fe82..13e2572 100644
|
|
--- a/termite.cc
|
|
+++ b/termite.cc
|
|
@@ -21,6 +21,7 @@
|
|
#include <cstdlib>
|
|
#include <cstring>
|
|
#include <cmath>
|
|
+#include <errno.h>
|
|
#include <functional>
|
|
#include <limits>
|
|
#include <map>
|
|
--
|
|
2.17.1
|
|
|