Revision: 23817
          http://sourceforge.net/p/gar/code/23817
Author:   rmottola
Date:     2014-06-21 13:20:23 +0000 (Sat, 21 Jun 2014)
Log Message:
-----------
gnustep-base/trunk: add configure patch for word alignment

Modified Paths:
--------------
    csw/mgar/pkg/gnustep-base/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/gnustep-base/trunk/files/0001-configure-tweak-align.patch

Modified: csw/mgar/pkg/gnustep-base/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnustep-base/trunk/Makefile    2014-06-18 19:14:17 UTC (rev 
23816)
+++ csw/mgar/pkg/gnustep-base/trunk/Makefile    2014-06-21 13:20:23 UTC (rev 
23817)
@@ -16,6 +16,8 @@
 MASTER_SITES = ftp://ftp.gnustep.org/pub/gnustep/core/
 DISTFILES  = $(DISTNAME).tar.gz
 
+PATCHFILES += 0001-configure-tweak-align.patch
+
 #we absolutely need GCC for Objective-C support. The only alternative in the 
future would be clang
 GARCOMPILER = GNU
 
@@ -41,11 +43,11 @@
        @$(MAKECOOKIE)
 
 build-sourcegs:
-       . $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd 
$(WORKSRC) && /usr/bin/env -i $(BUILD_ENV) && $(MAKE)
+       . $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd 
$(WORKSRC) && /usr/bin/env -i $(BUILD_ENV) ; $(MAKE)
        @$(MAKECOOKIE)
 
 install-sourcegs:
-       . $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd 
$(WORKSRC) && /usr/bin/env -i $(INSTALL_ENV) && $(MAKE) install 
DESTDIR=$(DESTDIR)
+       . $(BUILD_PREFIX)/GNUstep/System/Library/Makefiles/GNUstep.sh && cd 
$(WORKSRC) && /usr/bin/env -i $(INSTALL_ENV) ; $(MAKE) install 
        @$(MAKECOOKIE)
 
 test-none :

Added: csw/mgar/pkg/gnustep-base/trunk/files/0001-configure-tweak-align.patch
===================================================================
--- csw/mgar/pkg/gnustep-base/trunk/files/0001-configure-tweak-align.patch      
                        (rev 0)
+++ csw/mgar/pkg/gnustep-base/trunk/files/0001-configure-tweak-align.patch      
2014-06-21 13:20:23 UTC (rev 23817)
@@ -0,0 +1,19 @@
+--- src.orig/configure 2014/02/02 08:57:42     37670
++++ src/configure      2014/06/20 08:59:35     37954
+@@ -9341,6 +9341,8 @@
+ #--------------------------------------------------------------------
+ # Check if short and int values need to be word aligned
+ #--------------------------------------------------------------------
++saved_CFLAGS="$CFLAGS"
++CFLAGS="$CFLAGS -O0"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking short/int needs to be word 
aligned" >&5
+ $as_echo_n "checking short/int needs to be word aligned... " >&6; }
+ if test "$cross_compiling" = yes; then
+@@ -21282,6 +21284,7 @@
+ fi
+ 
+ 
++CFLAGS="$saved_CFLAGS"
+ 
+ cat >>confdefs.h <<_ACEOF
+ #define NEED_WORD_ALIGNMENT $NEED_WORD_ALIGNMENT

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

Reply via email to