source: trunk/dports/tex/pTeX/files/archive/getline-lion.diff @ 76865

Last change on this file since 76865 was 76865, checked in by takanori@…, 9 years ago

pTeX:

  • upgrade dvipdfmx to the snapshot 20110311
  • misc fixes / improvements
File size: 1.1 KB
  • tetex-src-3.0/texk/web2c/cpascal.h

    old new  
    272272/* version.c */
    273273extern string versionstring;
    274274
     275/* Apparently POSIX 2008 has getline and glibc 2.9.90 exports it.
     276   tangle, weave, et al. use that symbol; try to define it away so
     277   something that a standard won't usurp.  */
     278#ifdef getline
     279#undef getline
     280#endif
     281#define getline web2c_getline
     282
    275283#endif /* not CPASCAL_H */
  • tetex-src-3.0/texk/dvipsk/afm2tfm.c

    old new  
    4242#endif
    4343#endif /* KPATHSEA */
    4444
     45/* Apparently POSIX 2008 has getline and glibc 2.9.90 exports it.
     46   tangle, weave, et al. use that symbol; try to define it away so
     47   something that a standard won't usurp.  */
     48#ifdef getline
     49#undef getline
     50#endif
     51#define getline web2c_getline
     52
    4553/* JLH: added these to make the code easier to read and remove some
    4654   ascii<->ebcdic dependencies */
    4755#define ASCII_A 65
Note: See TracBrowser for help on using the repository browser.