pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/elftoolchain 1. add lex as a tool, problem shown...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f80265f97e3
branches: trunk
changeset: 363079:6f80265f97e3
user: agc <agc%pkgsrc.org@localhost>
date: Wed May 31 22:14:43 2017 +0000
description:
1. add lex as a tool, problem shown up by ubuntu LTS bulk build
2. Add a patch to cast a floating point number before using it to resize
buffers, unbreaks the build on NetBSD.
diffstat:
devel/elftoolchain/Makefile | 4 ++--
devel/elftoolchain/distinfo | 3 ++-
devel/elftoolchain/patches/patch-libelftc___libelftc.h | 15 +++++++++++++++
3 files changed, 19 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 66a16d6e68eb -r 6f80265f97e3 devel/elftoolchain/Makefile
--- a/devel/elftoolchain/Makefile Wed May 31 21:30:15 2017 +0000
+++ b/devel/elftoolchain/Makefile Wed May 31 22:14:43 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2016/05/14 08:29:37 bsiegert Exp $
+# $NetBSD: Makefile,v 1.13 2017/05/31 22:14:43 agc Exp $
DISTNAME= elftoolchain-0.5.1
PKGREVISION= 1
@@ -18,7 +18,7 @@
MAKE_JOBS_SAFE= no
USE_BSD_MAKEFILE= yes
-USE_TOOLS+= m4
+USE_TOOLS+= m4 lex
MAKE_ENV+= ${BSD_MAKE_ENV}
MAKE_FLAGS+= MKPROFILE=yes
diff -r 66a16d6e68eb -r 6f80265f97e3 devel/elftoolchain/distinfo
--- a/devel/elftoolchain/distinfo Wed May 31 21:30:15 2017 +0000
+++ b/devel/elftoolchain/distinfo Wed May 31 22:14:43 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 03:27:24 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/05/31 22:14:43 agc Exp $
SHA1 (elftoolchain-0.5.1.tar.bz2) = 333cfce857ca220177d0a5d111d40afca1eea0c7
RMD160 (elftoolchain-0.5.1.tar.bz2) = 4be0adf8349c764474810e23cfb022c655002d77
@@ -24,3 +24,4 @@
SHA1 (patch-libdwarf_Makefile) = bea37cf65de237146dc51a71aed04581bc6c1d95
SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec
SHA1 (patch-libelftc_Makefile) = a91f55e598482123a04dd5e50e5d992a8d866036
+SHA1 (patch-libelftc___libelftc.h) = d2ee73ee21d56a241aec04c43073e3e0dd164d6d
diff -r 66a16d6e68eb -r 6f80265f97e3 devel/elftoolchain/patches/patch-libelftc___libelftc.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/elftoolchain/patches/patch-libelftc___libelftc.h Wed May 31 22:14:43 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-libelftc___libelftc.h,v 1.1 2017/05/31 22:14:43 agc Exp $
+
+avoid error - cast float value to size_t before using it
+
+--- libelftc/_libelftc.h 2017/05/31 22:09:00 1.1
++++ libelftc/_libelftc.h 2017/05/31 22:09:18
+@@ -55,7 +55,7 @@
+ char **container;
+ };
+
+-#define BUFFER_GROWFACTOR 1.618
++#define BUFFER_GROWFACTOR (size_t)1.618
+ #define VECTOR_DEF_CAPACITY 8
+ #define ELFTC_ISDIGIT(C) (isdigit((C) & 0xFF))
+
Home |
Main Index |
Thread Index |
Old Index