diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2014-07-16 18:00:19 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-03 16:34:16 +0700 |
commit | e28787e9e05fc37a6b194ebf62ad5bc647190596 (patch) | |
tree | ad51d84194c2656f61b59428b08fc6b11940e02d /libraries/agg/patches/0009-Add-a-static-identity-transformation.patch | |
parent | 6fd855630e6d1862995a200f5a07d9ade9190286 (diff) | |
download | slackbuilds-e28787e9e05fc37a6b194ebf62ad5bc647190596.tar.gz |
libraries/agg: Added patches from fedora.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/agg/patches/0009-Add-a-static-identity-transformation.patch')
-rw-r--r-- | libraries/agg/patches/0009-Add-a-static-identity-transformation.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libraries/agg/patches/0009-Add-a-static-identity-transformation.patch b/libraries/agg/patches/0009-Add-a-static-identity-transformation.patch new file mode 100644 index 0000000000..01555cb3af --- /dev/null +++ b/libraries/agg/patches/0009-Add-a-static-identity-transformation.patch @@ -0,0 +1,37 @@ +From be9ed90897bc43b4547a3a1f8046827caaf13b4c Mon Sep 17 00:00:00 2001 +From: Tom Hughes <tom@compton.nu> +Date: Sun, 19 May 2013 16:15:36 +0100 +Subject: [PATCH 09/15] Add a static identity transformation + +--- + include/agg_trans_affine.h | 1 + + src/agg_trans_affine.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/include/agg_trans_affine.h b/include/agg_trans_affine.h +index 2f602a0..67fe5ca 100644 +--- a/include/agg_trans_affine.h ++++ b/include/agg_trans_affine.h +@@ -92,6 +92,7 @@ namespace agg + //---------------------------------------------------------------------- + struct trans_affine + { ++ static const trans_affine identity; + double sx, shy, shx, sy, tx, ty; + + //------------------------------------------ Construction +diff --git a/src/agg_trans_affine.cpp b/src/agg_trans_affine.cpp +index aca18c2..b3d9bc0 100644 +--- a/src/agg_trans_affine.cpp ++++ b/src/agg_trans_affine.cpp +@@ -28,6 +28,7 @@ + + namespace agg + { ++ const trans_affine trans_affine::identity; + + //------------------------------------------------------------------------ + const trans_affine& trans_affine::parl_to_parl(const double* src, +-- +1.8.1.4 + |