home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnurecod.zip / patches.os2 < prev    next >
Text File  |  1994-11-15  |  3KB  |  113 lines

  1. Only in new: config.h.os2
  2. diff -cbr orig/Makefile.os2 new/Makefile.os2
  3. *** orig/Makefile.os2    Thu Sep 15 20:51:50 1994
  4. --- new/Makefile.os2    Tue Nov 15 00:13:00 1994
  5. ***************
  6. *** 3,30 ****
  7.   # Francois Pinard <pinard@iro.umontreal.ca>, 1988.
  8.   
  9.   release:
  10. !     $(MAKE) -f Makefile.os2 all CC="gcc -Zomf -Zmtd -O -s" O=".obj"
  11.   debug:
  12.       $(MAKE) -f Makefile.os2 all CC="gcc -g" O=".o"
  13.   
  14.   DEFS = -DOS2 -DHAVE_CONFIG_H
  15. - LDEFS = 
  16.   
  17.   CFLAGS = -I. $(DEFS)
  18.   LDFLAGS = $(LDEFS)
  19.   LIBS = 
  20.   
  21. ! STEPOBJS = charset$O applemac$O atarist$O bangbang$O cdcnos$O \
  22. !     ebcdic$O flat$O ibmpc$O iconqnx$O lat1asci$O lat1ltex$O \
  23. !     lat1txte$O nextstep$O merged$O
  24. ! C_STEPS = charset.c applemac.c atarist.c bangbang.c cdcnos.c \
  25. !     ebcdic.c flat.c ibmpc.c iconqnx.c lat1asci.c lat1ltex.c \
  26. !     lat1txte.c nextstep.c
  27.   
  28.   L_STEPS = ascilat1.l ltexlat1.l txtelat1.l
  29.   
  30. ! LIBOBJS = xmalloc$O xstrdup$O getopt$O getopt1$O error$O argmatch$O flexlib$O
  31.   
  32.   OBJECTS = recode$O charname$O $(STEPOBJS) $(LIBOBJS)
  33.   
  34. --- 3,30 ----
  35.   # Francois Pinard <pinard@iro.umontreal.ca>, 1988.
  36.   
  37.   release:
  38. !     $(MAKE) -f Makefile.os2 all CC="gcc -Zomf -Zmtd -O -s" O=".obj" \
  39. !     LDEFS="-Zstack 512"
  40.   debug:
  41.       $(MAKE) -f Makefile.os2 all CC="gcc -g" O=".o"
  42.   
  43.   DEFS = -DOS2 -DHAVE_CONFIG_H
  44.   
  45.   CFLAGS = -I. $(DEFS)
  46.   LDFLAGS = $(LDEFS)
  47.   LIBS = 
  48.   
  49. ! STEPOBJS = charset$O charset1$O charset2$O applemac$O atarist$O bangbang$O \
  50. !     cdcnos$O ebcdic$O flat$O ibmpc$O iconqnx$O lat1asci$O \
  51. !     lat1html$O lat1ltex$O lat1txte$O next$O merged$O
  52. ! C_STEPS = charset1.c charset2.c applemac.c atarist.c bangbang.c \
  53. !     cdcnos.c ebcdic.c flat.c ibmpc.c iconqnx.c lat1asci.c \
  54. !     lat1html.c lat1ltex.c lat1txte.c next.c
  55.   
  56.   L_STEPS = ascilat1.l ltexlat1.l txtelat1.l
  57.   
  58. ! LIBOBJS = xmalloc$O xstrdup$O getopt$O getopt1$O error$O argmatch$O
  59.   
  60.   OBJECTS = recode$O charname$O $(STEPOBJS) $(LIBOBJS)
  61.   
  62. ***************
  63. *** 41,52 ****
  64.   recode.info: recode.texi
  65.       makeinfo recode.texi
  66.   
  67. ! initstep.h: charset.h $(C_STEPS) merged.c
  68. !     sed -n "s/\(module_[^ ]*\).*/  \1 ();/p" \
  69. !     charset.h $(C_STEPS) merged.c >initstep.h
  70.   
  71.   $(OBJECTS): config.h
  72.   recode$O charname$O $(STEPOBJS): recode.h
  73.   recode$O: initstep.h
  74.   charname$O: charname.h
  75. - charset$O: charset.h
  76. --- 41,54 ----
  77.   recode.info: recode.texi
  78.       makeinfo recode.texi
  79.   
  80. ! initstep.h: $(C_STEPS) merged.c
  81. !     sed -n "s/\(module_[^ ]*\).*/  \\1 ();/p" \
  82. !     $(C_STEPS) merged.c >initstep.h
  83. ! config.h: config.h.os2
  84. !     copy config.h.os2 config.h
  85.   
  86.   $(OBJECTS): config.h
  87.   recode$O charname$O $(STEPOBJS): recode.h
  88.   recode$O: initstep.h
  89.   charname$O: charname.h
  90. diff -cbr orig/recode.c new/recode.c
  91. *** orig/recode.c    Sun Nov 06 11:04:12 1994
  92. --- new/recode.c    Tue Nov 15 00:06:22 1994
  93. ***************
  94. *** 2325,2331 ****
  95.            decoding_charset_flag ? "--list" : "--help");
  96.     else
  97.       {
  98. !       printf ("GNU %s %s\n", PRODUCT, VERSION);
  99.         printf ("\
  100.   \n\
  101.   Usage: %s [OPTION]... [CHARSET]\n", program_name);
  102. --- 2325,2331 ----
  103.            decoding_charset_flag ? "--list" : "--help");
  104.     else
  105.       {
  106. !       printf ("\nGNU %s %s\n", PRODUCT, VERSION);
  107.         printf ("\
  108.   \n\
  109.   Usage: %s [OPTION]... [CHARSET]\n", program_name);
  110.