openmotif-2.3.0-cross-compile.patch 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. --- a/lib/Xm/Makefile.in 2007-08-09 03:27:55.000000000 -0400
  2. +++ b/lib/Xm/Makefile.in 2008-02-27 10:45:45.000000000 -0500
  3. @@ -1130,7 +1130,7 @@ $(STRING_FILES): Makefile $(XMSTRING_LIS
  4. test -f XmStrDefs23.ht || $(LN_S) $(srcdir)/XmStrDefs23.ht XmStrDefs23.ht
  5. test -f XmStrDefsI.ht || $(LN_S) $(srcdir)/XmStrDefsI.ht XmStrDefsI.ht
  6. test -f XmStrDefs.ct || $(LN_S) $(srcdir)/XmStrDefs.ct XmStrDefs.ct
  7. - $(top_builddir)/config/util/makestrs -f $(XMSTRING_LIST) >XmStrDefs.c
  8. + $(top_builddir)/config/util/makestrs-host -f $(XMSTRING_LIST) >XmStrDefs.c
  9. @MessageCatalog_TRUE@$(CAT_FILES): Xm.msg
  10. @MessageCatalog_TRUE@ $(mkinstalldirs) $(top_builddir)/localized/C/msg
  11. --- a/lib/Xm/Makefile.am 2005-12-17 10:04:02.000000000 -0500
  12. +++ b/lib/Xm/Makefile.am 2008-02-27 10:40:01.000000000 -0500
  13. @@ -284,7 +284,7 @@ $(STRING_FILES): Makefile $(XMSTRING_LIS
  14. test -f XmStrDefs23.ht || $(LN_S) $(srcdir)/XmStrDefs23.ht XmStrDefs23.ht
  15. test -f XmStrDefsI.ht || $(LN_S) $(srcdir)/XmStrDefsI.ht XmStrDefsI.ht
  16. test -f XmStrDefs.ct || $(LN_S) $(srcdir)/XmStrDefs.ct XmStrDefs.ct
  17. - $(top_builddir)/config/util/makestrs -f $(XMSTRING_LIST) >XmStrDefs.c
  18. + $(top_builddir)/config/util/makestrs-host -f $(XMSTRING_LIST) >XmStrDefs.c
  19. if MessageCatalog
  20. --- a/tools/wml/Makefile.in 2008-02-27 11:24:14.000000000 -0500
  21. +++ b/tools/wml/Makefile.in 2008-02-27 11:32:33.000000000 -0500
  22. @@ -617,9 +617,9 @@ UilLexPars.c: Uil.c
  23. $(WMLTARGETS): wmluiltok wml UilLexPars.c $(TABLE)
  24. $(RM) $(WMLTARGETS) wml.report wml-uil.mm
  25. - ./wmluiltok <$(srcdir)/Uil.y >tokens.dat
  26. + ./wmluiltok-host <$(srcdir)/Uil.y >tokens.dat
  27. $(RM) wml-uil.mm
  28. - ./wml $(srcdir)/$(TABLE)
  29. + ./wml-host $(srcdir)/$(TABLE)
  30. $(RM) tokens.dat
  31. all: motif.wmd
  32. --- a/tools/wml/Makefile.am 2002-10-06 09:08:48.000000000 -0400
  33. +++ b/tools/wml/Makefile.am 2008-02-27 11:33:04.000000000 -0500
  34. @@ -50,9 +50,9 @@ UilLexPars.c: Uil.c
  35. $(WMLTARGETS): wmluiltok wml UilLexPars.c $(TABLE)
  36. $(RM) $(WMLTARGETS) wml.report wml-uil.mm
  37. - ./wmluiltok <$(srcdir)/Uil.y >tokens.dat
  38. + ./wmluiltok-host <$(srcdir)/Uil.y >tokens.dat
  39. $(RM) wml-uil.mm
  40. - ./wml $(srcdir)/$(TABLE)
  41. + ./wml-host $(srcdir)/$(TABLE)
  42. $(RM) tokens.dat
  43. all: motif.wmd
  44. --- a/demos/lib/Exm/wml/Makefile.am 2002-10-06 09:08:47.000000000 -0400
  45. +++ b/demos/lib/Exm/wml/Makefile.am 2008-02-27 13:29:08.000000000 -0500
  46. @@ -65,11 +65,11 @@ $(TARGETS): $(TABLE) $(WMLDIR)/motif.wml
  47. # $(YACC) -d $(YACCFLAGS) $(UILY)
  48. # $(MV) y.tab.c UilLexPars.c
  49. # $(MV) y.tab.h UilLexPars.h
  50. - $(top_builddir)/tools/wml/wmluiltok < $(UILY) > tokens.dat
  51. + $(top_builddir)/tools/wml/wmluiltok-host < $(UILY) > tokens.dat
  52. # $(RM) wml-uil.mm
  53. $(RM) Exm.h
  54. $(LN_S) $(srcdir)/$(TABLE) ./Exm.h
  55. - $(CPP) -I$(WMLDIR) Exm.h | $(top_builddir)/tools/wml/wml
  56. + $(CPP) -I$(WMLDIR) Exm.h | $(top_builddir)/tools/wml/wml-host
  57. $(RM) Exm.h
  58. # $(RM) tokens.dat
  59. #
  60. --- a/tools/wml/wmluiltok.c 2007-08-09 03:47:17.000000000 -0400
  61. +++ b/tools/wml/wmluiltok.c 2008-02-27 12:13:02.000000000 -0500
  62. @@ -1689,13 +1689,13 @@ void *ptr;
  63. free( ptr );
  64. }
  65. -#if YY_MAIN
  66. +//#if YY_MAIN
  67. int main()
  68. {
  69. yylex();
  70. return 0;
  71. }
  72. -#endif
  73. +//#endif
  74. #line 183 "wmluiltok.l"
  75. --- a/ltmain.sh 2006-07-13 03:12:13.000000000 -0400
  76. +++ b/ltmain.sh 2008-02-27 14:50:40.000000000 -0500
  77. @@ -5427,13 +5427,13 @@ else
  78. # Backslashes separate directories on plain windows
  79. *-*-mingw | *-*-os2*)
  80. $echo >> $output "\
  81. - exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
  82. + exec \"\$progdir\\\\\$program-host\" \${1+\"\$@\"}
  83. "
  84. ;;
  85. *)
  86. $echo >> $output "\
  87. - exec \"\$progdir/\$program\" \${1+\"\$@\"}
  88. + exec \"\$progdir/\$program-host\" \${1+\"\$@\"}
  89. "
  90. ;;
  91. esac