boost/bjam-alignment.patch
Dirk Mueller 159a577cd3 Accepting request 230967 from home:Andreas_Schwab:Factory
- Fix quoting while creating shared build instructions
- Properly configure library list
- bjam-alignment.patch: fix alignment check in bjam

OBS-URL: https://build.opensuse.org/request/show/230967
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=128
2014-04-25 10:12:15 +00:00

14 lines
484 B
Diff

Index: boost_1_54_0/tools/build/v2/engine/function.c
===================================================================
--- boost_1_54_0.orig/tools/build/v2/engine/function.c
+++ boost_1_54_0/tools/build/v2/engine/function.c
@@ -230,7 +230,7 @@ STACK * stack_global()
static void check_alignment( STACK * s )
{
- assert( (size_t)s->data % sizeof( LIST * ) == 0 );
+ assert( (size_t)s->data % __alignof__( LIST * ) == 0 );
}
void * stack_allocate( STACK * s, int size )