Reorder includes to fix build after libgphoto2 update to 2.4.1.

This commit is contained in:
wiz 2008-05-02 10:22:45 +00:00
parent f202d1476c
commit 5ef1570ff5
2 changed files with 34 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.21 2008/01/14 23:19:52 wiz Exp $
$NetBSD: distinfo,v 1.22 2008/05/02 10:22:45 wiz Exp $
SHA1 (digikam-0.9.3.tar.bz2) = 5cea651e498ff8adffeb72cdf59a3364c9aac0cc
RMD160 (digikam-0.9.3.tar.bz2) = 006d535aa56f174de0153e07f66d4aea62fea89d
Size (digikam-0.9.3.tar.bz2) = 10911417 bytes
SHA1 (patch-aa) = 1820d0ec9e1523b0253e7a70d398911fb34bdbcc

View file

@ -0,0 +1,32 @@
$NetBSD: patch-aa,v 1.9 2008/05/02 10:22:45 wiz Exp $
--- digikam/utilities/cameragui/gpcamera.cpp.orig 2007-12-22 17:19:47.000000000 +0000
+++ digikam/utilities/cameragui/gpcamera.cpp
@@ -22,13 +22,6 @@
*
* ============================================================ */
-// C Ansi includes.
-
-extern "C"
-{
-#include <gphoto2.h>
-}
-
// C++ includes.
#include <cstdio>
@@ -47,6 +40,13 @@ extern "C"
#include <klocale.h>
+// C Ansi includes.
+
+extern "C"
+{
+#include <gphoto2.h>
+}
+
// Local includes.
#include "ddebug.h"