toaruos/toolchain/patches/pixman-0.26.2.patch

36 lines
1.3 KiB
Diff

diff -rupN original/config.sub new/config.sub
--- original/config.sub 2012-03-08 15:09:13.000000000 -0500
+++ new/config.sub 2012-05-17 11:40:42.308339450 -0400
@@ -1338,6 +1338,7 @@ case $os in
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
+ | -toaru* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
diff -rupN original/pixman/pixman-utils.c new/pixman/pixman-utils.c
--- original/pixman/pixman-utils.c 2012-06-29 11:25:17.000000000 -0700
+++ new/pixman/pixman-utils.c 2012-09-16 01:35:44.000000000 -0700
@@ -41,7 +41,10 @@
} cache [N_CACHED_FAST_PATHS];
} cache_t;
-PIXMAN_DEFINE_THREAD_LOCAL (cache_t, fast_path_cache);
+//PIXMAN_DEFINE_THREAD_LOCAL (cache_t, fast_path_cache);
+//
+
+cache_t fast_path_cache;
pixman_bool_t
_pixman_lookup_composite_function (pixman_implementation_t *toplevel,
@@ -60,7 +63,7 @@
int i;
/* Check cache for fast paths */
- cache = PIXMAN_GET_THREAD_LOCAL (fast_path_cache);
+ cache = &fast_path_cache; //PIXMAN_GET_THREAD_LOCAL (fast_path_cache);
for (i = 0; i < N_CACHED_FAST_PATHS; ++i)
{