pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/elftoolchain
Module Name: pkgsrc
Committed By: agc
Date: Wed May 31 22:14:43 UTC 2017
Modified Files:
pkgsrc/devel/elftoolchain: Makefile distinfo
Added Files:
pkgsrc/devel/elftoolchain/patches: patch-libelftc___libelftc.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/elftoolchain/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/elftoolchain/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/elftoolchain/Makefile
diff -u pkgsrc/devel/elftoolchain/Makefile:1.12 pkgsrc/devel/elftoolchain/Makefile:1.13
--- pkgsrc/devel/elftoolchain/Makefile:1.12 Sat May 14 08:29:37 2016
+++ pkgsrc/devel/elftoolchain/Makefile Wed May 31 22:14:43 2017
@@ -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 @@ NOT_FOR_PLATFORM= Darwin-*-*
MAKE_JOBS_SAFE= no
USE_BSD_MAKEFILE= yes
-USE_TOOLS+= m4
+USE_TOOLS+= m4 lex
MAKE_ENV+= ${BSD_MAKE_ENV}
MAKE_FLAGS+= MKPROFILE=yes
Index: pkgsrc/devel/elftoolchain/distinfo
diff -u pkgsrc/devel/elftoolchain/distinfo:1.5 pkgsrc/devel/elftoolchain/distinfo:1.6
--- pkgsrc/devel/elftoolchain/distinfo:1.5 Tue Nov 3 03:27:24 2015
+++ pkgsrc/devel/elftoolchain/distinfo Wed May 31 22:14:43 2017
@@ -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-ar_util.c) = 7a70d796516f0b0
SHA1 (patch-libdwarf_Makefile) = bea37cf65de237146dc51a71aed04581bc6c1d95
SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec
SHA1 (patch-libelftc_Makefile) = a91f55e598482123a04dd5e50e5d992a8d866036
+SHA1 (patch-libelftc___libelftc.h) = d2ee73ee21d56a241aec04c43073e3e0dd164d6d
Added files:
Index: pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h
diff -u /dev/null pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h:1.1
--- /dev/null Wed May 31 22:14:43 2017
+++ pkgsrc/devel/elftoolchain/patches/patch-libelftc___libelftc.h Wed May 31 22:14:43 2017
@@ -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