summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-16 08:57:38 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:58 +0000
commit1943f45fd0b62de0bb2e2d1065f70c3860e55691 (patch)
treea5964a546cad23121a5d3f5222b0a454653d8674 /dev-haskell/unix-compat/files
parentdev-haskell/chasingbottoms: bump up to 1.3.1.2 (diff)
downloadgentoo-1943f45fd0b62de0bb2e2d1065f70c3860e55691.tar.gz
gentoo-1943f45fd0b62de0bb2e2d1065f70c3860e55691.tar.bz2
gentoo-1943f45fd0b62de0bb2e2d1065f70c3860e55691.zip
dev-haskell/unix-compat: added missing patch
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/unix-compat/files')
-rw-r--r--dev-haskell/unix-compat/files/unix-compat-0.4.2.0-majmin.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-haskell/unix-compat/files/unix-compat-0.4.2.0-majmin.patch b/dev-haskell/unix-compat/files/unix-compat-0.4.2.0-majmin.patch
new file mode 100644
index 000000000000..1a07b6883ad2
--- /dev/null
+++ b/dev-haskell/unix-compat/files/unix-compat-0.4.2.0-majmin.patch
@@ -0,0 +1,9 @@
+diff --git a/cbits/HsUnixCompat.c b/cbits/HsUnixCompat.c
+index 1f7f189..5de35f5 100644
+--- a/cbits/HsUnixCompat.c
++++ b/cbits/HsUnixCompat.c
+@@ -6,2 +6,4 @@
+
++#include <sys/sysmacros.h> /* TODO: glibc()-specific macro */
++
+ unsigned int unix_major(dev_t dev)