mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 03:41:44 +00:00
e7badaa6cb
There's no need to maintain an old version. Removed all patches as they are all upstream. Import new ones from Arch, Debian, and OpenEmbedded. Signed-off-by: Rosen Penev <rosenp@gmail.com>
16 lines
351 B
Diff
16 lines
351 B
Diff
--- a/src/dbinc/mutex_int.h
|
|
+++ b/src/dbinc/mutex_int.h
|
|
@@ -850,7 +850,11 @@ typedef volatile unsigned char tsl_t;
|
|
* alignment locally.
|
|
*/
|
|
#ifndef MUTEX_ALIGN
|
|
-#define MUTEX_ALIGN sizeof(unsigned int)
|
|
+# if defined(__linux__) && defined(__sparc__)
|
|
+# define MUTEX_ALIGN 8
|
|
+# else
|
|
+# define MUTEX_ALIGN sizeof(unsigned int)
|
|
+# endif
|
|
#endif
|
|
|
|
/*
|