[Lunar-commits] <moonbase-other> cairo: make it compile with qt 4.8 and --as-needed

v4hn me at v4hn.de
Wed Aug 1 21:24:38 CEST 2012


commit aa8df625b3279f397c20056f1d85a66cf7907d10
Author: v4hn <me at v4hn.de>
Date: Wed, 01 Aug 2012 12:24:38 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/aa8df625b3279f397c20056f1d85a66cf7907d10

cairo: make it compile with qt 4.8 and --as-needed
---
  graphics/cairo/BUILD                                         +4/-0     
  graphics/cairo/DETAILS                                       +3/-0     
  2 files changed, 7 insertions (+), 0 deletions (-)

--- a/graphics/cairo/BUILD
+++ b/graphics/cairo/BUILD
@@ -1,6 +1,8 @@
 (
 
   patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+  # see https://bugs.freedesktop.org/show_bug.cgi?id=29092
+  patch_it $SOURCE_CACHE/$SOURCE3 1  &&
 
   OPTS+=" --disable-static"  &&
 
@@ -17,6 +19,8 @@
     sedit 's/SUBDIRS = src doc util/SUBDIRS = src util/g' Makefile.in
   fi  &&
 
+  # LIBS is needed for cairo-sphinx and others with --as-needed
+  LIBS="-lstdc++" \
   default_build
 
 ) > $C_FIFO 2>&1
--- a/graphics/cairo/DETAILS
+++ b/graphics/cairo/DETAILS
@@ -2,10 +2,13 @@
          VERSION=1.12.2
           SOURCE=$MODULE-$VERSION.tar.xz
          SOURCE2=$MODULE-1.10.0-gradients.patch.bz2
+         SOURCE3=$MODULE-1.12.2-qt-4.8.patch.bz2
       SOURCE_URL=http://cairographics.org/releases
      SOURCE2_URL=$PATCH_URL
+     SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:bc2ee50690575f16dab33af42a2e6cdc6451e3f9
      SOURCE2_VFY=sha1:5035313c72fbb7a2134a26a3985e5a54cfe3c2ae
+     SOURCE3_VFY=sha1:0052e17643c7a4c881782f38757354202e3c1cab
         WEB_SITE=http://cairographics.org
          ENTERED=20040506
          UPDATED=20120731




More information about the Lunar-commits mailing list