pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cmake cmake: revise netbsd-6 build fix patch as ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/91fa45344605
branches: trunk
changeset: 361784:91fa45344605
user: maya <maya%pkgsrc.org@localhost>
date: Wed Apr 26 18:19:31 2017 +0000
description:
cmake: revise netbsd-6 build fix patch as suggested by Brad King
TagRunPath = 0 may cause client code such as cmSystemTools::RemoveRPath
to misbehave.
Define DT_RUNPATH to the expected value (29) instead.
bump pkgrevision
diffstat:
devel/cmake/Makefile.version | 3 ++-
devel/cmake/distinfo | 4 ++--
devel/cmake/patches/patch-Source_cmELF.cxx | 23 +++++++++++------------
3 files changed, 15 insertions(+), 15 deletions(-)
diffs (63 lines):
diff -r 9d68f920783f -r 91fa45344605 devel/cmake/Makefile.version
--- a/devel/cmake/Makefile.version Wed Apr 26 14:55:10 2017 +0000
+++ b/devel/cmake/Makefile.version Wed Apr 26 18:19:31 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile.version,v 1.7 2017/04/11 20:18:54 adam Exp $
+# $NetBSD: Makefile.version,v 1.8 2017/04/26 18:19:31 maya Exp $
#
# used by devel/cmake/Makefile
# used by devel/cmake-fedora/Makefile
CMAKE_VERSION= 3.8.0
CMAKE_API= ${CMAKE_VERSION:R}
+PKGREVISION= 1
diff -r 9d68f920783f -r 91fa45344605 devel/cmake/distinfo
--- a/devel/cmake/distinfo Wed Apr 26 14:55:10 2017 +0000
+++ b/devel/cmake/distinfo Wed Apr 26 18:19:31 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.98 2017/04/24 22:48:48 maya Exp $
+$NetBSD: distinfo,v 1.99 2017/04/26 18:19:31 maya Exp $
SHA1 (cmake-3.8.0.tar.gz) = 660ec06a46b46dc5d675371a2256ec739f8bb8b7
RMD160 (cmake-3.8.0.tar.gz) = 30dacd3b01f98fbd47721b201e48e8fe776082da
@@ -8,7 +8,7 @@
SHA1 (patch-Modules_FindCurses.cmake) = 09fcd7adfbc2dfc2cd8af4e047d870a5243d77dc
SHA1 (patch-Modules_FindX11.cmake) = 124a2d51155cb4455e8b829dc74598cbd50a4e1c
SHA1 (patch-Source_CursesDialog_ccmake.cxx) = 1685973706bd2041422e5f8da12634c6c0695714
-SHA1 (patch-Source_cmELF.cxx) = e1629ff181c5757fad098ee1534680bf7e24cb64
+SHA1 (patch-Source_cmELF.cxx) = 180212c2f4225fd1163fe00639f70f55cac2cad6
SHA1 (patch-Utilities_KWIML_CMakeLists.txt) = e4bdf9fc58757e87bf7e3e3e195839eededbc796
SHA1 (patch-aa) = bab24334e025b7c1bf7caa2e69d6a439cc421ea9
SHA1 (patch-ab) = d1b39bdcd654f2a4fc63463cd20de656cce3cf8f
diff -r 9d68f920783f -r 91fa45344605 devel/cmake/patches/patch-Source_cmELF.cxx
--- a/devel/cmake/patches/patch-Source_cmELF.cxx Wed Apr 26 14:55:10 2017 +0000
+++ b/devel/cmake/patches/patch-Source_cmELF.cxx Wed Apr 26 18:19:31 2017 +0000
@@ -1,18 +1,17 @@
-$NetBSD: patch-Source_cmELF.cxx,v 1.6 2017/04/24 22:48:48 maya Exp $
+$NetBSD: patch-Source_cmELF.cxx,v 1.7 2017/04/26 18:19:31 maya Exp $
-Don't use DT_RUNPATH if it's not defined (netbsd-6)
+cmELF: Provide DT_RUNPATH definition fallback (netbsd-6)
+https://gitlab.kitware.com/cmake/cmake/merge_requests/764
--- Source/cmELF.cxx.orig 2017-04-10 15:23:07.000000000 +0000
+++ Source/cmELF.cxx
-@@ -675,7 +675,11 @@ cmELF::StringEntry const* cmELFInternalI
- // External class implementation.
-
- const long cmELF::TagRPath = DT_RPATH;
-+#ifdef DT_RUNPATH
- const long cmELF::TagRunPath = DT_RUNPATH;
-+#else
-+const long cmELF::TagRunPath = 0;
+@@ -44,6 +44,9 @@ typedef struct Elf32_Rela Elf32_Rela;
+ #ifdef _SCO_DS
+ #include <link.h> // For DT_SONAME etc.
+ #endif
++#ifndef DT_RUNPATH
++#define DT_RUNPATH 29
+#endif
- #ifdef DT_MIPS_RLD_MAP_REL
- const long cmELF::TagMipsRldMapRel = DT_MIPS_RLD_MAP_REL;
+ // Low-level byte swapping implementation.
+ template <size_t s>
Home |
Main Index |
Thread Index |
Old Index