Advertisement
gusibsd

Untitled

Mar 6th, 2014
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. Index: Makefile
  2. ===================================================================
  3. --- Makefile (revision 19010)
  4. +++ Makefile (working copy)
  5. @@ -28,7 +28,7 @@
  6. USE_XZ= yes
  7. USE_GSTREAMER1= yes
  8. USE_XORG= xt xdamage xcomposite
  9. -USES= bison gettext gmake perl5 pkgconfig shebangfix
  10. +USES= bison compiler gettext gmake perl5 pkgconfig shebangfix
  11. USE_RUBY= yes
  12. RUBY_NO_RUN_DEPENDS=yes
  13. USE_GNOME= cairo gnomehier gtk20 gtk30 introspection:build \
  14. @@ -144,6 +144,10 @@
  15.  
  16. .include <bsd.port.pre.mk>
  17.  
  18. +.if ${OSVERSION} >= 1100009 && ${CC} == "cc"
  19. +EXTRA_PATCHES= ${FILESDIR}/extra-Source_JavaScriptCore_runtime_JSCell.h
  20. +.endif
  21. +
  22. .if ${PERL_LEVEL} >= 501400
  23. BUILD_DEPENDS+= p5-Switch>0:${PORTSDIR}/lang/p5-Switch
  24. .endif
  25. Index: files/extra-Source_JavaScriptCore_runtime_JSCell.h
  26. ===================================================================
  27. --- files/extra-Source_JavaScriptCore_runtime_JSCell.h (revision 0)
  28. +++ files/extra-Source_JavaScriptCore_runtime_JSCell.h (working copy)
  29. @@ -0,0 +1,12 @@
  30. +--- Source/JavaScriptCore/runtime/JSCell.h.orig 2014-03-06 00:47:38.620499335 +0000
  31. ++++ Source/JavaScriptCore/runtime/JSCell.h 2014-03-06 00:48:03.250498156 +0000
  32. +@@ -49,6 +49,9 @@
  33. + IncludeDontEnumProperties
  34. + };
  35. +
  36. ++template<typename T> void* allocateCell(Heap&);
  37. ++template<typename T> void* allocateCell(Heap&, size_t);
  38. ++
  39. + class JSCell {
  40. + friend class JSValue;
  41. + friend class MarkedBlock;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement