update agg patch
authorChris Butler <chrisb@debian.org>
Mon, 18 Mar 2013 22:31:07 +0000 (22:31 +0000)
committerChris Butler <chrisb@debian.org>
Mon, 18 Mar 2013 22:31:07 +0000 (22:31 +0000)
debian/patches/0003-Use-packaged-libagg.patch

index 28acca3..4bcf607 100644 (file)
@@ -45,3 +45,14 @@ Policy requirement; makes security/bugfix updates easier.
  # Find SDL_mixer
  IF(CORSIX_TH_USE_SDL_MIXER)
    FIND_PACKAGE(SDL_mixer REQUIRED)
+--- a/CorsixTH/Src/th_gfx_sdl.cpp
++++ b/CorsixTH/Src/th_gfx_sdl.cpp
+@@ -38,7 +38,7 @@
+ #include "agg_span_allocator.h"
+ #include "agg_rasterizer_scanline_aa.h"
+ #include "agg_conv_stroke.h"
+-#include "agg_vcgen_stroke.cpp"
++#include "agg_vcgen_stroke.h"
+ #include <new>
+ #ifndef max
+ #define max(a, b) ((a) > (b) ? (a) : (b))