asymptote-gc-fix.patch 248 B

12345678910111213
  1. --- main.cc.orig 2019-10-14 20:22:59.936629138 +0900
  2. +++ main.cc 2019-10-14 20:23:51.800403048 +0900
  3. @@ -214,3 +214,10 @@
  4. #endif
  5. asymain(&args);
  6. }
  7. +
  8. +#ifdef USEGC
  9. +GC_API void GC_CALL GC_throw_bad_alloc() {
  10. + std::bad_alloc();
  11. +}
  12. +#endif
  13. +