[Bug 263101] devel/ncurses: patch-configure not needed anymore to remove unnecessary CFLAGS

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Apr 2022 20:30:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263101

            Bug ID: 263101
           Summary: devel/ncurses: patch-configure not needed anymore to
                    remove unnecessary CFLAGS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: daniel_eisele@gmx.de
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

The patch for the configure script (re)introduced in bug #234049 isn't needed
anymore because now the function CF_POSIX_VISIBLE (included from aclocal.m4)
prevents the problematic CFLAGS from being added.

I also tested this to be sure. The diff at the end shows no difference with or
without the patch:
# cd /usr/ports/devel/ncurses/
# make
[...]
# cp -r work work_patch
# make clean
===>  Cleaning for ncurses-6.3
# mv files/patch-configure .
# make
[...]
# cp -r work work_no_patch
# ls work_patch/stage/usr/local/libdata/pkgconfig/
form.pc         ncurses++.pc    ncursesw.pc     tinfo.pc
menu.pc         ncurses.pc      panel.pc
# diff -r work_patch/stage/usr/local/libdata/pkgconfig/
work_no_patch/stage/usr/local/libdata/pkgconfig/
#

-- 
You are receiving this mail because:
You are the assignee for the bug.