[MacPorts] #28318: p5-locale-gettext: fix for POSIX locale conflict

MacPorts noreply at macports.org
Mon Feb 7 18:22:44 PST 2011


#28318: p5-locale-gettext: fix for POSIX locale conflict
------------------------------+---------------------------------------------
 Reporter:  l2g@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:                                       
 Keywords:  haspatch          |        Port:  p5-locale-gettext                    
------------------------------+---------------------------------------------
 When running quilt's `refresh` command, I ran into some strange warning
 messages. To be brief, this turns out to be a known bug in Locale::gettext
 that has been reported to upstream
 ([http://rt.cpan.org/Public/Bug/Display.html?id=35680 CPAN RT #35806]). A
 fix was contributed by the Debian Project almost three(!) years ago, but
 it has yet to be incorporated by the author.

 The symptom is a string of "Prototype mismatch" warning messages similar
 to the following example:

 {{{
 Prototype mismatch: sub main::LC_ALL: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_NUMERIC: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_TIME: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_MONETARY: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_CTYPE: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_MESSAGES: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 Prototype mismatch: sub main::LC_COLLATE: none vs () at
 /opt/local/share/quilt/scripts/remove-trailing-ws line 21
 }}}

 I'm attaching a patch for this port's existing files, and I'm directly
 attaching two new files that are additional patches applied during the
 port's patch phase. I'd like some input on whether these changes look
 reasonable. If so, I can commit them.

-- 
Ticket URL: <https://trac.macports.org/ticket/28318>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list