Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2015 14:53:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197920] [patch] shells/pdksh : fails to build on gcc5 due to cpp, here is fix
Message-ID:  <bug-197920-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197920

            Bug ID: 197920
           Summary: [patch] shells/pdksh : fails to build on gcc5 due to
                    cpp, here is fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: marino@FreeBSD.org
          Assignee: rodrigo@FreeBSD.org
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)

Created attachment 153315
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153315&action=edit
pdksh patch to use tradcpp in siglist.sh script

The pdksh port will fail to build with gcc5 because of a behavioral change in
the cpp program that it comes with.  However, the default replacement, tradcpp,
will cause the configure to fail.  The fix is not pretty, it is to use GCC cpp
everything except the siglist.sh script.

The error is as follows:
--- siglist.out ---
./siglist.sh "cpp  -DHAVE_CONFIG_H -I. -I." < ./siglist.in > tmpsiglist.out
--- siglist.out ---
*** [siglist.out] Error code 1

The attached patch will force siglist.sh to use tradcpp instead which allows
for the program to successfully build on gcc5.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer rodrigo@FreeBSD.org

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197920-13>