bugGNU patch - Bugs: bug #28612, patch 2.6.1 fails building...

 
 

bug #28612: patch 2.6.1 fails building quotearg.c

Submitted by:  Alan Hourihane <alanh>
Submitted on:  Fri 15 Jan 2010 03:58:07 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Apr 2010 04:48:23 PM UTC, comment #2:

Fixed in git and in the latest snapshots.

Andreas Gruenbacher <agruen>
Project Administrator
Fri 15 Jan 2010 06:41:49 PM UTC, comment #1:

I see the problem, but I'm not sure how to best fix it: patch needs to be converted to use automake, and import modules from gnulib as intended by the gnulib authors; maybe that should be done first instead of importing the wchar replacement code by hand.

Andreas Gruenbacher <agruen>
Project Administrator
Fri 15 Jan 2010 03:58:07 PM UTC, original submission:

Patch is failing with...

gl/lib/quotearg.c:34:20: error: wctype.h: No such file or directory
gl/lib/quotearg.c: In function 'quotearg_buffer_restyled':
gl/lib/quotearg.c:454: error: 'mbstate_t' undeclared (first use in this function)
gl/lib/quotearg.c:454: error: (Each undeclared identifier is reported only once
gl/lib/quotearg.c:454: error: for each function it appears in.)
gl/lib/quotearg.c:454: error: expected ';' before 'mbstate'
gl/lib/quotearg.c:455: error: 'mbstate' undeclared (first use in this function)
gl/lib/quotearg.c:465: warning: implicit declaration of function 'mbrtowc'
gl/lib/quotearg.c:503: warning: implicit declaration of function 'iswprint'
gl/lib/quotearg.c:508: warning: implicit declaration of function 'mbsinit'

Because patch should include the file wctype.h.in from gnulib and it's configuration code in configure.ac and possibly other code from gnulib to sort out issues with hosts not having wide character support.

Alan Hourihane <alanh>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agruen (Posted a comment)
  • -unavailable- added by alanh (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Apr 2010 04:48:23 PM UTCagruenStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1