opendx-4.4.4-concurrent-make-fix.patch 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. diff -Nuarp dx-4.4.4-orig/src/exec/dxmods/local.mk dx-4.4.4/src/exec/dxmods/local.mk
  2. --- dx-4.4.4-orig/src/exec/dxmods/local.mk 2008-09-11 22:31:38.000000000 +0200
  3. +++ dx-4.4.4/src/exec/dxmods/local.mk 2008-09-11 22:33:44.000000000 +0200
  4. @@ -14,15 +14,15 @@ user.c: dx.mdf
  5. dxcm.mdf: ${srcdir}/dxmdf.src
  6. -rm -f dxcm.mdf
  7. - cp ${srcdir}/dxmdf.src tmp.c
  8. - $(CPP) $(INCLUDES) $(MDF) $(DEFS) tmp.c > dxcm.mdf
  9. - -rm -f tmp.c
  10. + cp ${srcdir}/dxmdf.src tmp-dxcm.c
  11. + $(CPP) $(INCLUDES) $(MDF) $(DEFS) tmp-dxcm.c > dxcm.mdf
  12. + -rm -f tmp-dxcm.c
  13. dx.mdf: ${srcdir}/dxmdf.src
  14. echo MYINC: $(MYINC)
  15. -rm -f dx.mdf
  16. - cp ${srcdir}/dxmdf.src tmp.c
  17. - $(CPP) $(INCLUDES) $(MYINC) $(MDF) $(DEFS) -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c > dx.mdf
  18. + cp ${srcdir}/dxmdf.src tmp-dx.c
  19. + $(CPP) $(INCLUDES) $(MYINC) $(MDF) $(DEFS) -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp-dx.c > dx.mdf
  20. @echo '/^ *$$/{' > stripl.sed
  21. @echo 'N' >> stripl.sed
  22. @echo '/^ *\\n *$$/D' >> stripl.sed
  23. @@ -30,7 +30,7 @@ dx.mdf: ${srcdir}/dxmdf.src
  24. cat dx.mdf |sed '/^#/d' > tmp.mdf
  25. cat tmp.mdf |sed -f stripl.sed > dx.mdf
  26. @rm -f stripl.sed tmp.mdf
  27. - -rm -f tmp.c
  28. + -rm -f tmp-dx.c
  29. .y.h:
  30. $(YACC) $(YFLAGS) -d ${srcdir}/$*.y
  31. diff -Nuarp dx-4.4.4-orig/src/exec/dxmods/local.mk dx-4.4.4/src/exec/dxmods/local.mk
  32. --- dx-4.4.4-orig/src/exec/dxmods/local.mk.in 2008-09-11 22:31:38.000000000 +0200
  33. +++ dx-4.4.4/src/exec/dxmods/local.mk.in 2008-09-11 22:33:44.000000000 +0200
  34. @@ -14,15 +14,15 @@ user.c: dx.mdf
  35. dxcm.mdf: ${srcdir}/dxmdf.src
  36. -rm -f dxcm.mdf
  37. - cp ${srcdir}/dxmdf.src tmp.c
  38. - $(CPP) $(INCLUDES) $(MDF) $(DEFS) tmp.c > dxcm.mdf
  39. - -rm -f tmp.c
  40. + cp ${srcdir}/dxmdf.src tmp-dxcm.c
  41. + $(CPP) $(INCLUDES) $(MDF) $(DEFS) tmp-dxcm.c > dxcm.mdf
  42. + -rm -f tmp-dxcm.c
  43. dx.mdf: ${srcdir}/dxmdf.src
  44. echo MYINC: $(MYINC)
  45. -rm -f dx.mdf
  46. - cp ${srcdir}/dxmdf.src tmp.c
  47. - $(CPP) $(INCLUDES) $(MYINC) $(MDF) $(DEFS) -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp.c > dx.mdf
  48. + cp ${srcdir}/dxmdf.src tmp-dx.c
  49. + $(CPP) $(INCLUDES) $(MYINC) $(MDF) $(DEFS) -DCPLUSPLUS_UI -DEXECUTIVE_MODS tmp-dx.c > dx.mdf
  50. @echo '/^ *$$/{' > stripl.sed
  51. @echo 'N' >> stripl.sed
  52. @echo '/^ *\\n *$$/D' >> stripl.sed
  53. @@ -30,7 +30,7 @@ dx.mdf: ${srcdir}/dxmdf.src
  54. cat dx.mdf |sed '/^#/d' > tmp.mdf
  55. cat tmp.mdf |sed -f stripl.sed > dx.mdf
  56. @rm -f stripl.sed tmp.mdf
  57. - -rm -f tmp.c
  58. + -rm -f tmp-dx.c
  59. .y.h:
  60. $(YACC) $(YFLAGS) -d ${srcdir}/$*.y