1 |
commit: 57ccd5f44dfedde8cbbff4637205d6d9c6667680 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 30 11:00:58 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 30 11:01:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ccd5f4 |
7 |
|
8 |
sys-cluster/singularity: Version Bump |
9 |
|
10 |
Fix for glibc-2.25 |
11 |
|
12 |
https://github.com/singularityware/singularity/pull/648 |
13 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=617082 |
14 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
15 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
16 |
|
17 |
sys-cluster/singularity/Manifest | 2 +- |
18 |
.../files/singularity-2.2.1-glibc-2.25.patch | 28 ++++++++++++++++++++++ |
19 |
sys-cluster/singularity/metadata.xml | 2 +- |
20 |
...ularity-2.2.ebuild => singularity-2.2.1.ebuild} | 6 ++++- |
21 |
4 files changed, 35 insertions(+), 3 deletions(-) |
22 |
|
23 |
diff --git a/sys-cluster/singularity/Manifest b/sys-cluster/singularity/Manifest |
24 |
index 19aacc06202..8ac63cfcb31 100644 |
25 |
--- a/sys-cluster/singularity/Manifest |
26 |
+++ b/sys-cluster/singularity/Manifest |
27 |
@@ -1 +1 @@ |
28 |
-DIST singularity-2.2.tar.gz 492273 SHA256 3dcb23300d6a5a248659880cbcd98a073bc4a49d19c279ba0460256ed480f3e9 SHA512 ae22a2a33dd7d013f4fd12e751d83aeaf3b0acfe98d79d4f827e1380703cc17e624b67afde1f8af6e5a762d493a8748d073570133207b82db8f8e3483055379b WHIRLPOOL d7f5eed1515599086082c3877648ef1bacfa5e88441cc5f20736a56065f8b4f60778b3c4f2fef035cb00339a8a4cd8cba05ae6e1dc76fde8eae16b07ecd34952 |
29 |
+DIST singularity-2.2.1.tar.gz 493368 SHA256 0e2a0b0cf6c8d4dc041365f715b2df157e0d8d89986e4eb111c61716df031c8a SHA512 b1195e98254957cd8d80b35b13d4f11060c5836f05ed450d242544fc30f8c298b837ba8986b1184288bc9a5ff2ebb5b1f56dc55a0686b540242b0042a152f902 WHIRLPOOL 3d3c5cb0928bd5beb683c4075c88453d076795c0e41ad30676f7169ccbd6d71a70ad64104833925913138f47b8fc318e90366af79259a05bad41bb0a42703b05 |
30 |
|
31 |
diff --git a/sys-cluster/singularity/files/singularity-2.2.1-glibc-2.25.patch b/sys-cluster/singularity/files/singularity-2.2.1-glibc-2.25.patch |
32 |
new file mode 100644 |
33 |
index 00000000000..e550811dc67 |
34 |
--- /dev/null |
35 |
+++ b/sys-cluster/singularity/files/singularity-2.2.1-glibc-2.25.patch |
36 |
@@ -0,0 +1,28 @@ |
37 |
+ src/lib/loop-control.c | 1 + |
38 |
+ src/lib/mount/dev/dev.c | 1 + |
39 |
+ 2 files changed, 2 insertions(+) |
40 |
+ |
41 |
+diff --git a/src/lib/loop-control.c b/src/lib/loop-control.c |
42 |
+index f9ab2d6f..4bfed843 100644 |
43 |
+--- a/src/lib/loop-control.c |
44 |
++++ b/src/lib/loop-control.c |
45 |
+@@ -26,6 +26,7 @@ |
46 |
+ #include <sys/file.h> |
47 |
+ #include <sys/stat.h> |
48 |
+ #include <sys/types.h> |
49 |
++#include <sys/sysmacros.h> |
50 |
+ #include <errno.h> |
51 |
+ #include <string.h> |
52 |
+ #include <fcntl.h> |
53 |
+diff --git a/src/lib/mount/dev/dev.c b/src/lib/mount/dev/dev.c |
54 |
+index 547157a4..c994c264 100644 |
55 |
+--- a/src/lib/mount/dev/dev.c |
56 |
++++ b/src/lib/mount/dev/dev.c |
57 |
+@@ -25,6 +25,7 @@ |
58 |
+ #include <sys/mount.h> |
59 |
+ #include <sys/stat.h> |
60 |
+ #include <sys/types.h> |
61 |
++#include <sys/sysmacros.h> |
62 |
+ #include <unistd.h> |
63 |
+ #include <stdlib.h> |
64 |
+ |
65 |
|
66 |
diff --git a/sys-cluster/singularity/metadata.xml b/sys-cluster/singularity/metadata.xml |
67 |
index e06fcd257fe..f4750025819 100644 |
68 |
--- a/sys-cluster/singularity/metadata.xml |
69 |
+++ b/sys-cluster/singularity/metadata.xml |
70 |
@@ -1,4 +1,4 @@ |
71 |
-<?xml version='1.0' encoding='UTF-8'?> |
72 |
+<?xml version="1.0" encoding="UTF-8"?> |
73 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
74 |
<pkgmetadata> |
75 |
<maintainer type="person"> |
76 |
|
77 |
diff --git a/sys-cluster/singularity/singularity-2.2.ebuild b/sys-cluster/singularity/singularity-2.2.1.ebuild |
78 |
similarity index 85% |
79 |
rename from sys-cluster/singularity/singularity-2.2.ebuild |
80 |
rename to sys-cluster/singularity/singularity-2.2.1.ebuild |
81 |
index 4ffbb268f80..0d679f703fe 100644 |
82 |
--- a/sys-cluster/singularity/singularity-2.2.ebuild |
83 |
+++ b/sys-cluster/singularity/singularity-2.2.1.ebuild |
84 |
@@ -1,4 +1,4 @@ |
85 |
-# Copyright 1999-2016 Gentoo Foundation |
86 |
+# Copyright 1999-2017 Gentoo Foundation |
87 |
# Distributed under the terms of the GNU General Public License v2 |
88 |
|
89 |
EAPI=6 |
90 |
@@ -14,6 +14,10 @@ LICENSE="cctbx-2.0" |
91 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
92 |
IUSE="examples" |
93 |
|
94 |
+PATCHES=( |
95 |
+ "${FILESDIR}"/${P}-glibc-2.25.patch |
96 |
+) |
97 |
+ |
98 |
src_configure() { |
99 |
econf --with-userns |
100 |
} |