Revision: 6716
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6716&view=rev
Author:   gespinasse
Date:     2012-07-20 15:08:11 +0000 (Fri, 20 Jul 2012)
Log Message:
-----------
Workaround one part of the strict-aliasing warning

Comment that a pango upgrade require glib>=2.31

Compile with V=1

Simplify sort as info coreutils 'sort invocation' say it is possible to sort in 
place

Modified Paths:
--------------
    ipcop/trunk/lfs/pango

Modified: ipcop/trunk/lfs/pango
===================================================================
--- ipcop/trunk/lfs/pango       2012-07-20 14:56:00 UTC (rev 6715)
+++ ipcop/trunk/lfs/pango       2012-07-20 15:08:11 UTC (rev 6716)
@@ -32,6 +32,7 @@
 
 include Config
 
+# 1.30.1 require glib>=2.31
 PKG_NAME   = pango
 VER        = 1.28.4
 HOST_ARCH  = all
@@ -86,15 +87,17 @@
                                        --sysconfdir=/etc \
                                        --disable-static
 
-       cd $(DIR_APP) && make -j $(PARALLELISM)
+       # Workaround for half of strict-aliasing warnings
+       # No inspiration yet for the remaining except adding for the entire 
package?
+       cd $(DIR_APP) && sed -i.bak 's/PangoFT2_1_0_gir_CFLAGS.*/& 
-fno-strict-aliasing/' pango/Makefile
+       cd $(DIR_APP) && make -j $(PARALLELISM) V=1
 ifeq "$(RUNNING_TEST)" "yes"
        cd $(DIR_APP) && make -j 1 check &> 
$(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log
 endif
        cd $(DIR_APP) && make install
        
        # be sure the modules are in the same order everytime, so md5 does not 
vary
-       sort /etc/pango/pango.modules -o /etc/pango/pango.modules.new
-       mv -f /etc/pango/pango.modules.new /etc/pango/pango.modules
+       sort -o /etc/pango/pango.modules /etc/pango/pango.modules
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to