fvwm2/fvwm-rsvg.patch

47 lines
1.3 KiB
Diff
Raw Normal View History

2016-08-08 14:44:57 +02:00
---
configure | 1 -
configure.ac | 1 -
libs/Fsvg.h | 11 -----------
3 files changed, 13 deletions(-)
--- configure.ac
+++ configure.ac 2016-08-02 15:14:24.251904702 +0000
@@ -941,7 +941,6 @@ if test x"$with_rsvg" = xyes ; then
LIBS="$LIBS $rsvg_LIBS"
AC_TRY_RUN([
#include <librsvg/rsvg.h>
- #include <librsvg/rsvg-cairo.h>
int main() {
RsvgHandle *rsvg;
g_type_init();
2016-08-08 14:44:57 +02:00
--- configure
+++ configure 2016-08-02 15:14:24.255904627 +0000
@@ -9746,7 +9746,6 @@ else
/* end confdefs.h. */
#include <librsvg/rsvg.h>
- #include <librsvg/rsvg-cairo.h>
int main() {
RsvgHandle *rsvg;
g_type_init();
--- libs/Fsvg.h
2016-08-08 14:44:57 +02:00
+++ libs/Fsvg.h 2016-08-02 15:15:16.350925785 +0000
@@ -15,17 +15,6 @@
#if USE_SVG
# include <librsvg/rsvg.h>
2016-08-08 14:44:57 +02:00
-/* TA: (2013-05-07): If the version is >= 2.36.2 then we no longer include
- * the rsvg-cairo header. It is now only necessary with RSvg to include
- * <rsvg.h> and nothing else.
- */
-# if defined (LIBRSVG_CHECK_VERSION)
-# if LIBRSVG_CHECK_VERSION (2, 36, 1)
-# include <librsvg/rsvg-cairo.h>
-# endif
-# else
-# include <librsvg/rsvg-cairo.h>
-# endif
typedef RsvgDimensionData FRsvgDimensionData;
typedef RsvgHandle FRsvgHandle;
2016-08-08 14:44:57 +02:00
typedef cairo_surface_t Fcairo_surface_t;