Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388141 - Please review Prefix changes for sys-apps/diffutils-3.2
Summary: Please review Prefix changes for sys-apps/diffutils-3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2011-10-22 18:57 UTC by Fabian Groffen
Modified: 2012-10-18 10:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2011-10-22 18:57:28 UTC
The following change is necessary for diffutils-3.2 to compile on Interix:

@@ -27,6 +27,12 @@
        # Disable automagic dependency over libsigsegv; see bug #312351.
        export ac_cv_libsigsegv=no
 
+       if [[ ${CHOST} == *-interix* ]]; then
+               # on interix wchar support is broken...
+               export ac_cv_header_wchar_h=no
+               export ac_cv_header_wctype_h=no
+       fi
+
        econf \
                --with-packager="Gentoo" \
                --with-packager-version="${PVR}" \

Please apply or approve the change.
Comment 1 SpanKY gentoo-dev 2011-10-25 06:12:51 UTC
shouldn't interix be exporting those globally in the profile then ?
Comment 2 Fabian Groffen gentoo-dev 2011-10-25 06:51:00 UTC
@mduft: would that break anything?  Are there more packages that would benefit from exporting this globally?
Comment 3 Markus Duft (RETIRED) gentoo-dev 2011-10-25 08:20:21 UTC
hm. at least it shouldn't do any harm. there are not many (one or two?) packages requiring this currently.
Comment 4 SpanKY gentoo-dev 2011-10-25 09:50:56 UTC
i don't have any info as to how it's broken, or what is breaking, but i would suspect you're disabling these headers for gnulib which is bundled with diffutils, which means this would affect all packages using gnulib ...
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2012-09-04 19:18:51 UTC
Should we drop interix to make it a trivial merge?
Comment 6 Christoph Junghans (RETIRED) gentoo-dev 2012-10-18 10:04:11 UTC
Prefix keywords were added a while ago, interix was dropped.