packages (DEVEL): wxWidgets/wxWidgets-link.patch (NEW) - link with -lcairo ...

lisu lisu at pld-linux.org
Fri Feb 25 11:00:22 CET 2011


Author: lisu                         Date: Fri Feb 25 10:00:22 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- link with -lcairo to fix some unresolved symbols

---- Files affected:
packages/wxWidgets:
   wxWidgets-link.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wxWidgets/wxWidgets-link.patch
diff -u /dev/null packages/wxWidgets/wxWidgets-link.patch:1.1.2.1
--- /dev/null	Fri Feb 25 11:00:22 2011
+++ packages/wxWidgets/wxWidgets-link.patch	Fri Feb 25 11:00:17 2011
@@ -0,0 +1,14 @@
+--- wxWidgets-2.9.1/configure.in~	2011-02-25 10:15:34.175328030 +0100
++++ wxWidgets-2.9.1/configure.in	2011-02-25 10:56:37.046283458 +0100
+@@ -7478,7 +7478,10 @@
+         fi
+     elif test "$wxUSE_GTK" = 1; then
+         PKG_CHECK_MODULES(CAIRO, cairo,
+-            [wx_has_graphics=1],
++            [
++                wx_has_graphics=1
++                LIBS="$LIBS -lcairo"
++            ],
+             [AC_MSG_WARN([Cairo library not found])]
+         )
+     else
================================================================


More information about the pld-cvs-commit mailing list