[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/66: gnu: gcc-5.1: Add specific libvtv patch.
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
30/66: gnu: gcc-5.1: Add specific libvtv patch. |
Date: |
Thu, 21 May 2015 12:51:57 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 22512a93398cec8c23c64e15b7a175b40d4ce986
Author: Ludovic Courtès <address@hidden>
Date: Mon May 4 00:23:55 2015 +0200
gnu: gcc-5.1: Add specific libvtv patch.
* gnu/packages/patches/gcc-5.0-libvtv-runpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/gcc.scm (gcc-5.1)[source]: Use it.
---
gnu-system.am | 1 +
gnu/packages/gcc.scm | 4 +++-
gnu/packages/patches/gcc-5.0-libvtv-runpath.patch | 15 +++++++++++++++
3 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/gnu-system.am b/gnu-system.am
index 95eefdc..3223dc8 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -422,6 +422,7 @@ dist_patch_DATA =
\
gnu/packages/patches/gcc-arm-link-spec-fix.patch \
gnu/packages/patches/gcc-cross-environment-variables.patch \
gnu/packages/patches/gcc-libvtv-runpath.patch \
+ gnu/packages/patches/gcc-5.0-libvtv-runpath.patch \
gnu/packages/patches/geoclue-config.patch \
gnu/packages/patches/ghostscript-runpath.patch \
gnu/packages/patches/gitolite-openssh-6.8-compat.patch \
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 957917b..4512e54 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -343,7 +343,9 @@ Go. It also includes runtime support libraries for these
languages.")
(sha256
(base32
"1bd5vj4px3s8nlakbgrh38ynxq4s654m6nxz7lrj03mvkkwgvnmp"))
- (patches (origin-patches (package-source gcc-4.9)))))))
+ (patches (map search-patch
+ '("gcc-arm-link-spec-fix.patch"
+ "gcc-5.0-libvtv-runpath.patch")))))))
(define* (custom-gcc gcc name languages #:key (separate-lib-output? #t))
"Return a custom version of GCC that supports LANGUAGES."
diff --git a/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
b/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
new file mode 100644
index 0000000..9a9bc5c
--- /dev/null
+++ b/gnu/packages/patches/gcc-5.0-libvtv-runpath.patch
@@ -0,0 +1,15 @@
+GCC 4.9 and later have libvtv and, just like libstdc++ (see
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32354), it doesn't
+have $libdir in its RUNPATH, but it NEEDs libgcc_s. This patch
+fixes that.
+
+--- gcc-5.1.0/libvtv/Makefile.in 2014-10-30 09:28:58.000000000 +0100
++++ gcc-5.1.0/libvtv/Makefile.in 2015-04-30 09:51:04.161129705 +0200
+@@ -15,6 +15,7 @@
+
+ @SET_MAKE@
+
++libvtv_la_LDFLAGS = -Wl,-rpath=$(libdir)
+
+ VPATH = @srcdir@
+ pkgdatadir = $(datadir)/@PACKAGE@
- 20/66: gnu: Add dovecot., (continued)
- 20/66: gnu: Add dovecot., Manolis Fragkiskos Ragkousis, 2015/05/21
- 22/66: gnu: subversion: Update to 1.8.13., Manolis Fragkiskos Ragkousis, 2015/05/21
- 03/66: gnu: linux-libre: Update to 4.0.1., Manolis Fragkiskos Ragkousis, 2015/05/21
- 19/66: gnu: acpica: Update to 20150410., Manolis Fragkiskos Ragkousis, 2015/05/21
- 25/66: gnu: Add libe-book., Manolis Fragkiskos Ragkousis, 2015/05/21
- 23/66: gnu: rename (gnu packages socat) to (gnu packages networking)., Manolis Fragkiskos Ragkousis, 2015/05/21
- 26/66: doc: Replace reference to profile.sh with sh-symlink, Manolis Fragkiskos Ragkousis, 2015/05/21
- 27/66: gnu: Add totem-pl-parser., Manolis Fragkiskos Ragkousis, 2015/05/21
- 28/66: guix package: Move profile cleaning out of 'search-path-environment-variables'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 29/66: guix package: Introduce 'evaluate-search-paths'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 30/66: gnu: gcc-5.1: Add specific libvtv patch.,
Manolis Fragkiskos Ragkousis <=
- 24/66: gnu: Add zeromq., Manolis Fragkiskos Ragkousis, 2015/05/21
- 32/66: gnu: samtools: Install libbam.a library., Manolis Fragkiskos Ragkousis, 2015/05/21
- 38/66: doc: Fix dangling references in the 'sh-symlink' monad example., Manolis Fragkiskos Ragkousis, 2015/05/21
- 37/66: doc: Suggest 'groupadd --system'., Manolis Fragkiskos Ragkousis, 2015/05/21
- 34/66: gnu: Add taskwarrior., Manolis Fragkiskos Ragkousis, 2015/05/21
- 39/66: gnu: Add python-sympy., Manolis Fragkiskos Ragkousis, 2015/05/21
- 35/66: gnu: bamtools: Set rpath via LDFLAGS., Manolis Fragkiskos Ragkousis, 2015/05/21
- 33/66: gnu: Add samtools-0.1.19., Manolis Fragkiskos Ragkousis, 2015/05/21
- 31/66: gnu: samtools: Remove patch-makefile-curses phase., Manolis Fragkiskos Ragkousis, 2015/05/21
- 36/66: doc: Clarify installation from the binary tarball., Manolis Fragkiskos Ragkousis, 2015/05/21