Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/pgi/files/, dev-lang/pgi/
Date: Mon, 03 Jun 2013 23:33:40
Message-Id: 1370130658.ef384cac819c5b160afaae5e98f8bc0a0634c37a.ottxor@gentoo
1 commit: ef384cac819c5b160afaae5e98f8bc0a0634c37a
2 Author: Andreas Schäfer <gentryx <AT> gmx <DOT> de>
3 AuthorDate: Sat Jun 1 23:50:58 2013 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 1 23:50:58 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ef384cac
7
8 added fix for recent glibc with PGI
9
10 ---
11 dev-lang/pgi/files/glibc.patch | 31 +++++++++++++++++++++++++++++++
12 dev-lang/pgi/pgi-13.5.ebuild | 2 ++
13 2 files changed, 33 insertions(+)
14
15 diff --git a/dev-lang/pgi/files/glibc.patch b/dev-lang/pgi/files/glibc.patch
16 new file mode 100644
17 index 0000000..434f12c
18 --- /dev/null
19 +++ b/dev-lang/pgi/files/glibc.patch
20 @@ -0,0 +1,31 @@
21 +diff -ru opt/pgi/linux86/13.5/include/bits/types.h opt/pgi-b/linux86/13.5/include/bits/types.h
22 +--- opt/pgi/linux86/13.5/include/bits/types.h 2013-05-07 21:45:39.000000000 +0200
23 ++++ opt/pgi-b/linux86/13.5/include/bits/types.h 2013-06-02 01:24:19.000000000 +0200
24 +@@ -136,6 +136,7 @@
25 + #include <bits/typesizes.h> /* Defines __*_T_TYPE macros. */
26 +
27 +
28 ++__STD_TYPE __SQUAD_TYPE __syscall_slong_t;
29 + __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */
30 + __STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */
31 + __STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */
32 +diff -ru opt/pgi/linux86-64/13.5/include/bits/types.h opt/pgi-b/linux86-64/13.5/include/bits/types.h
33 +--- opt/pgi/linux86-64/13.5/include/bits/types.h 2013-05-07 21:45:39.000000000 +0200
34 ++++ opt/pgi-b/linux86-64/13.5/include/bits/types.h 2013-06-02 01:23:51.000000000 +0200
35 +@@ -135,7 +135,7 @@
36 + #endif
37 + #include <bits/typesizes.h> /* Defines __*_T_TYPE macros. */
38 +
39 +-
40 ++__STD_TYPE __SQUAD_TYPE __syscall_slong_t;
41 + __STD_TYPE __DEV_T_TYPE __dev_t; /* Type of device numbers. */
42 + __STD_TYPE __UID_T_TYPE __uid_t; /* Type of user identifications. */
43 + __STD_TYPE __GID_T_TYPE __gid_t; /* Type of group identifications. */
44 +@@ -156,7 +156,6 @@
45 + __STD_TYPE __SUSECONDS_T_TYPE __suseconds_t; /* Signed count of microseconds. */
46 +
47 + __STD_TYPE __DADDR_T_TYPE __daddr_t; /* The type of a disk address. */
48 +-__STD_TYPE __SWBLK_T_TYPE __swblk_t; /* Type of a swap block maybe? */
49 + __STD_TYPE __KEY_T_TYPE __key_t; /* Type of an IPC key. */
50 +
51 + /* Clock ID used in clock and timer functions. */
52
53 diff --git a/dev-lang/pgi/pgi-13.5.ebuild b/dev-lang/pgi/pgi-13.5.ebuild
54 index 8468e96..354b996 100644
55 --- a/dev-lang/pgi/pgi-13.5.ebuild
56 +++ b/dev-lang/pgi/pgi-13.5.ebuild
57 @@ -51,6 +51,7 @@ pkg_nofetch() {
58
59 src_prepare() {
60 epatch "${FILESDIR}/terminal.patch"
61 + echo "andi ${FILESDIR}"
62 }
63
64 src_install() {
65 @@ -97,4 +98,5 @@ y
66 ./install <<EOF
67 ${command}
68 EOF
69 + patch -p0 <"${FILESDIR}/glibc.patch"
70 }