patch-gtk2_ardour_tempo_lines_h 517 B

12345678910111213141516
  1. $OpenBSD: patch-gtk2_ardour_tempo_lines_h,v 1.1 2017/05/25 09:02:05 espie Exp $
  2. allocator *has to match*
  3. Index: gtk2_ardour/tempo_lines.h
  4. --- gtk2_ardour/tempo_lines.h.orig
  5. +++ gtk2_ardour/tempo_lines.h
  6. @@ -45,7 +45,7 @@ class TempoLines { (public)
  7. void hide();
  8. private:
  9. -#ifdef GTKOSX
  10. +#if defined(GTKOSX) || defined(__clang__)
  11. typedef std::map<double, ArdourCanvas::SimpleLine*, std::less<double> > Lines;
  12. #else
  13. typedef std::map<double, ArdourCanvas::SimpleLine*, std::less<double>, MapAllocator> Lines;