mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
Resolve tons of warnings. Fix the type of literal string as char const * Fix Makefile's variables order and adding the license file Rework patches to make portlint happy Reviewed by: jhb Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D12525
12 lines
424 B
Text
12 lines
424 B
Text
--- libiberty/configure.orig 2017-09-12 12:10:11 UTC
|
|
+++ libiberty/configure
|
|
@@ -4398,8 +4398,7 @@
|
|
ac_libiberty_warn_cflags=
|
|
save_CFLAGS="$CFLAGS"
|
|
for real_option in -W -Wall -Wwrite-strings -Wc++-compat \
|
|
- -Wstrict-prototypes \
|
|
- -Wshadow=local; do
|
|
+ -Wstrict-prototypes ; do
|
|
# Do the check with the no- prefix removed since gcc silently
|
|
# accepts any -Wno-* option on purpose
|
|
case $real_option in
|