Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388141

Summary: Please review Prefix changes for sys-apps/diffutils-3.2
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 315803    

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.