- Fix build with clang

- Support desktop-file-utils
- Port supports staging

PR:		ports/184832
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Pawel Pekala 2013-12-19 20:04:37 +00:00
parent d70827a7b0
commit aaafecb9c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336955
3 changed files with 12 additions and 8 deletions

View file

@ -3,19 +3,18 @@
PORTNAME= gimmage PORTNAME= gimmage
PORTVERSION= 0.2.3 PORTVERSION= 0.2.3
PORTREVISION= 9 PORTREVISION= 10
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= BERLIOS CENKES MASTER_SITES= BERLIOS CENKES
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Simple image viewer COMMENT= Simple image viewer
LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \ LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
libcurl.so:${PORTSDIR}/ftp/curl
USES= gettext pkgconfig USES= desktop-file-utils gettext pkgconfig
USE_GNOME= gtkmm24
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400 --- ./src/FileManager.cpp.orig 2007-07-20 23:42:55.000000000 +0400
+++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400 +++ ./src/FileManager.cpp 2007-07-20 23:43:03.000000000 +0400
@@ -23,6 +23,7 @@ @@ -23,12 +23,13 @@
#include "FileManager.h" #include "FileManager.h"
#include "defines.h" #include "defines.h"
@ -8,3 +8,9 @@
#include "../config.h" #include "../config.h"
extern "C" {
#include <libintl.h>
-// #include <unistd.h>
+#include <unistd.h>
#include <sys/stat.h>
}

View file

@ -6,5 +6,4 @@ has an in-application file browser that allows users to select and
drag images and directories into the image viewing area in order to drag images and directories into the image viewing area in order to
have them displayed. have them displayed.
Author: Bartek Kostrzewa
WWW: http://gimmage.berlios.de/ WWW: http://gimmage.berlios.de/