Advertisement
darkxst

Untitled

Jan 28th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.92 KB | None | 0 0
  1. From bc9be5a543f620949329c6431ca67578d068e322 Mon Sep 17 00:00:00 2001
  2. From: Tim Lunn <tim@feathertop.org>
  3. Date: Tue, 29 Jan 2013 10:54:19 +1100
  4. Subject: [PATCH] Update cflags to resolve undefined macro issues.
  5.  
  6. Spidermonkey includes -D__STDC_LIMIT_MACROS when building so that
  7. these macros are available. This needs to be included since some
  8. of these macros are now used in the headers.
  9.  
  10. https://bugzilla.mozilla.org/show_bug.cgi?id=835551
  11. ---
  12. js/src/mozjs188.pc.in | 2 +-
  13.  1 file changed, 1 insertion(+), 1 deletion(-)
  14.  
  15. diff --git a/js/src/mozjs188.pc.in b/js/src/mozjs188.pc.in
  16. index ce643ee..12a5451 100644
  17. --- a/js/src/mozjs188.pc.in
  18. +++ b/js/src/mozjs188.pc.in
  19. @@ -7,4 +7,4 @@ Description: The Mozilla library for JavaScript 1.8.8
  20.  Version: %MOZILLA_VERSION%
  21.  Requires: nspr >= 4.9.2
  22.  Libs: -L${libdir} -lmozjs188
  23. -Cflags: -I${includedir}/js
  24. +Cflags: -I${includedir}/js -D__STDC_LIMIT_MACROS
  25. --
  26. 1.8.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement