summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-28 13:06:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-28 13:26:12 +0100
commit4e716ed8da37c97742a65cc17d8446640f37b4dc (patch)
tree6ce52363a9858cce86ad2dec50ed7a0dc7599a15 /media-gfx/autopano-sift-C/files
parentgames-strategy/freesynd: Drop 0.7.1-r1 (diff)
downloadgentoo-4e716ed8da37c97742a65cc17d8446640f37b4dc.tar.gz
gentoo-4e716ed8da37c97742a65cc17d8446640f37b4dc.tar.bz2
gentoo-4e716ed8da37c97742a65cc17d8446640f37b4dc.zip
media-gfx/autopano-sift-C: Switch to cmake.eclass, fix build
Thanks-to: Mr.Chauv <mr.chauv@mailbox.org> Closes: https://bugs.gentoo.org/759514 Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/autopano-sift-C/files')
-rw-r--r--media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-include-order.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-include-order.patch b/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-include-order.patch
new file mode 100644
index 000000000000..becab6d4aeb1
--- /dev/null
+++ b/media-gfx/autopano-sift-C/files/autopano-sift-C-2.5.1-include-order.patch
@@ -0,0 +1,24 @@
+Subject: [PATCH] adjust to include order deoendency
+
+---
+ autopano-sift-C-2.5.1/KeypointXML.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/autopano-sift-C-2.5.1/KeypointXML.c b/autopano-sift-C-2.5.1/KeypointXML.c
+index 9da70a8..30c35e1 100644
+--- a/KeypointXML.c
++++ b/KeypointXML.c
+@@ -13,10 +13,9 @@
+ * (C) Copyright 2004 -- Sebastian Nowozin (nowozin@cs.tu-berlin.de)
+ */
+
+-#include "AutoPanoSift.h"
+-
+ #include <libxml/xmlreader.h>
+ #include <libxml/xmlwriter.h>
++#include "AutoPanoSift.h"
+
+ KeypointXMLList* KeypointXMLReader_ReadComplete (char* filename)
+ {
+--
+2.26.2