aboutsummaryrefslogtreecommitdiff
path: root/graphics/digikam-kde4
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2007-09-18 07:50:05 +0000
committerAlex Dupre <ale@FreeBSD.org>2007-09-18 07:50:05 +0000
commit96a96882a4768b3c09cc6492c40a8195e17ecba1 (patch)
tree0df8e4dc5ff207346486ab552ee2493a86032cb9 /graphics/digikam-kde4
parentac2ca25b11b03ab49fbcca31ac54b929ec5a61d2 (diff)
downloadports-96a96882a4768b3c09cc6492c40a8195e17ecba1.tar.gz
ports-96a96882a4768b3c09cc6492c40a8195e17ecba1.zip
Notes
Diffstat (limited to 'graphics/digikam-kde4')
-rw-r--r--graphics/digikam-kde4/Makefile5
-rw-r--r--graphics/digikam-kde4/files/patch-digikam_libs_lprof_lcmsprf.h10
-rw-r--r--graphics/digikam-kde4/files/patch-digikam_utilities_cameragui_gpcamera.cpp30
3 files changed, 43 insertions, 2 deletions
diff --git a/graphics/digikam-kde4/Makefile b/graphics/digikam-kde4/Makefile
index f8c85edc0e10..407067cae494 100644
--- a/graphics/digikam-kde4/Makefile
+++ b/graphics/digikam-kde4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= digikam
DISTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,9 +18,9 @@ COMMENT= Photo album manager for KDE with gphoto2 backend
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
kipi.1:${PORTSDIR}/graphics/libkipi \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
- kexiv2.2:${PORTSDIR}/graphics/libkexiv2 \
+ kexiv2.3:${PORTSDIR}/graphics/libkexiv2 \
lcms.1:${PORTSDIR}/graphics/lcms \
- kdcraw.1:${PORTSDIR}/graphics/libkdcraw \
+ kdcraw.2:${PORTSDIR}/graphics/libkdcraw \
png.5:${PORTSDIR}/graphics/png \
sqlite3.8:${PORTSDIR}/databases/sqlite3 \
jasper.4:${PORTSDIR}/graphics/jasper
diff --git a/graphics/digikam-kde4/files/patch-digikam_libs_lprof_lcmsprf.h b/graphics/digikam-kde4/files/patch-digikam_libs_lprof_lcmsprf.h
new file mode 100644
index 000000000000..4c890dae968b
--- /dev/null
+++ b/graphics/digikam-kde4/files/patch-digikam_libs_lprof_lcmsprf.h
@@ -0,0 +1,10 @@
+--- digikam/libs/lprof/lcmsprf.h.orig 2007-09-18 08:30:45.000000000 +0200
++++ digikam/libs/lprof/lcmsprf.h 2007-09-18 08:36:16.000000000 +0200
+@@ -59,6 +59,7 @@
+ #define max(a,b) ((a) > (b)?(a):(b))
+ #endif
+
++typedef int BOOL;
+
+ /* Matrix operations - arbitrary size ----------------------------------------------------- */
+
diff --git a/graphics/digikam-kde4/files/patch-digikam_utilities_cameragui_gpcamera.cpp b/graphics/digikam-kde4/files/patch-digikam_utilities_cameragui_gpcamera.cpp
new file mode 100644
index 000000000000..f941396355d3
--- /dev/null
+++ b/graphics/digikam-kde4/files/patch-digikam_utilities_cameragui_gpcamera.cpp
@@ -0,0 +1,30 @@
+--- digikam/utilities/cameragui/gpcamera.cpp.orig 2007-09-18 09:23:44.000000000 +0200
++++ digikam/utilities/cameragui/gpcamera.cpp 2007-09-18 09:24:48.000000000 +0200
+@@ -22,13 +22,6 @@
+ *
+ * ============================================================ */
+
+-// C Ansi includes.
+-
+-extern "C"
+-{
+-#include <gphoto2.h>
+-}
+-
+ // C++ includes.
+
+ #include <cstdio>
+@@ -47,6 +40,13 @@
+
+ #include <klocale.h>
+
++// C Ansi includes.
++
++extern "C"
++{
++#include <gphoto2.h>
++}
++
+ // Local includes.
+
+ #include "ddebug.h"