X-Git-Url: https://unix4lyfe.org/gitweb/darkstat-debian/blobdiff_plain/85d7d6e7b81dff84df8ddc87815ce77b8d82bc07..3c6b3682c70be84db86e70c191016913a9836c31:/debian/patches/FixHURDsFTBS.patch diff --git a/debian/patches/FixHURDsFTBS.patch b/debian/patches/FixHURDsFTBS.patch new file mode 100644 index 0000000..1a05c77 --- /dev/null +++ b/debian/patches/FixHURDsFTBS.patch @@ -0,0 +1,17 @@ +Description: Use the correct macro for OS X + The OS X fix use the macro __MACH__, this catch up on Hurd, so + better use __APPLE__ +Author: René Mayorga +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/now.c ++++ b/now.c +@@ -23,7 +23,7 @@ + #include + #include + +-#ifdef __MACH__ ++#ifdef __APPLE__ + /* Fake up clock_gettime() on OS X. */ + # include + # include