freebsd-ports/graphics/digikam/files/patch-externc
Edwin Groothuis edc4795f1e Update Digikam, Digikamimageplugins to 0.7.4
These patches update graphics/digikam and
    graphics/digikamimageplugins to version 0.7.4.

    Two new ports are included: graphics/digikam-doc and
    graphics/digikamimageplugins-doc. The documentation for these
    ports is now split from the main program.

PR:		ports/85718
Submitted by:	Arjan van Leeuwen <avleeuwen@piwebs.com>
2005-10-04 22:13:15 +00:00

65 lines
1.1 KiB
Text

--- digikam/digikam/digikamfirstrun.cpp.orig Sun Sep 4 17:47:15 2005
+++ digikam/digikam/digikamfirstrun.cpp Sun Sep 4 17:48:44 2005
@@ -19,15 +19,6 @@
*
* ============================================================ */
-// C Ansi includes.
-
-extern "C"
-{
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-}
-
// C++ Includes.
#include <iostream>
@@ -64,6 +55,16 @@
#include "firstrunUI.h"
#include <iostream>
+
+// C Ansi includes.
+
+extern "C"
+{
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+}
+
using namespace std;
DigikamFirstRun::DigikamFirstRun( KConfig* config,
--- digikam/utilities/imageeditor/imlibinterface.cpp.orig Sun Sep 4 17:49:22 2005
+++ digikam/utilities/imageeditor/imlibinterface.cpp Sun Sep 4 17:50:00 2005
@@ -21,13 +21,6 @@
#define PI 3.14159265
-// Lib Tiff includes.
-
-extern "C"
-{
-#include <tiffio.h>
-}
-
// C++ includes.
#include <cmath>
@@ -59,6 +52,13 @@
#include "undomanager.h"
#include "undoaction.h"
#include "imlibinterface.h"
+
+// Lib Tiff includes.
+
+extern "C"
+{
+#include <tiffio.h>
+}
namespace Digikam
{