From 87819351be91b7279b5bf81d41973d4f2b7d3d82 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sat, 5 Nov 2011 22:50:36 +0100 Subject: [PATCH] gprof: silence buildworld errors It seems that every binutils library and application redefines PACKAGE_BUG REPORT, and the gprof version clashes with the libbfd version, so it was disabled to avoid redefinition warnings during buildworld. --- gnu/usr.bin/binutils221/gprof/gconfig.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/binutils221/gprof/gconfig.h b/gnu/usr.bin/binutils221/gprof/gconfig.h index a9f090ffd1..dc00bad763 100644 --- a/gnu/usr.bin/binutils221/gprof/gconfig.h +++ b/gnu/usr.bin/binutils221/gprof/gconfig.h @@ -51,8 +51,11 @@ /* Name of package */ #define PACKAGE "gprof" -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" +/* Define to the address where bug reports for this package should be sent. + * This definition redefines the libbfd config.h version, so it's disabled + * to silent the error messages seeing during buildworld. + * #define PACKAGE_BUGREPORT "" + */ /* Define to the full name of this package. */ #define PACKAGE_NAME "" -- 2.41.0