components/desktop/thunderbird/patches/thunderbird31-503-append-ffssi2-symbol.patch
equal
deleted
inserted
replaced
|
1 SPARC architecture specific patch. Probably cannot send upstream. |
|
2 |
|
3 --- comm-esr31/mozilla/js/src/ctypes/libffi/src/closures.c.orig 2015-05-07 22:39:07.816379536 +0530 |
|
4 +++ comm-esr31/mozilla/js/src/ctypes/libffi/src/closures.c 2015-05-07 22:39:42.088095728 +0530 |
|
5 @@ -608,3 +608,12 @@ ffi_closure_free (void *ptr) |
|
6 |
|
7 # endif /* ! FFI_MMAP_EXEC_WRIT */ |
|
8 #endif /* FFI_CLOSURES */ |
|
9 + |
|
10 +#ifdef __sparc |
|
11 +#include <strings.h> |
|
12 +int |
|
13 +__ffssi2 (int x) |
|
14 +{ |
|
15 +ffs (x); |
|
16 +} |
|
17 +#endif |