Fix several implicit declarations.
Move to REVISION and new DEPENDS. Regen WANTLIB.
This commit is contained in:
parent
49f68bd49e
commit
f3c097f76c
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2009/12/21 20:46:02 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
|
||||
COMMENT= fast and lightweight file manager
|
||||
|
||||
DISTNAME= pcmanfm-0.3.5.10
|
||||
PKGNAME= ${DISTNAME}p4
|
||||
REVISION= 5
|
||||
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://pcmanfm.sourceforge.net/
|
||||
@ -23,10 +24,12 @@ WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
||||
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
||||
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pixman-1 png pthread z pthread-stubs xcb
|
||||
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 fam
|
||||
WANTLIB += xcb-render xcb-render-util startup-notification-1
|
||||
|
||||
LIB_DEPENDS= gdk-x11-2.0.>=1000,gdk_pixbuf-2.0.>=1000,gtk-x11-2.0.>=1000::x11/gtk+2 \
|
||||
fam.>=1::sysutils/gamin \
|
||||
startup-notification-1.>=1::devel/startup-notification
|
||||
LIB_DEPENDS= ::x11/gtk+2 \
|
||||
::sysutils/gamin \
|
||||
::devel/startup-notification
|
||||
RUN_DEPENDS= :gnome-icon-theme-*:x11/gnome/icon-theme \
|
||||
:desktop-file-utils-*:devel/desktop-file-utils \
|
||||
:shared-mime-info->=0.21:misc/shared-mime-info \
|
||||
|
15
x11/pcmanfm/patches/patch-src_mime-type_mime-action_c
Normal file
15
x11/pcmanfm/patches/patch-src_mime-type_mime-action_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_mime-type_mime-action_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/mime-type/mime-action.c.orig Wed Feb 13 05:57:18 2008
|
||||
+++ src/mime-type/mime-action.c Fri Jul 16 15:10:42 2010
|
||||
@@ -27,6 +27,11 @@
|
||||
#include "glib-utils.h"
|
||||
#include <string.h>
|
||||
|
||||
+#include <sys/types.h>
|
||||
+#include <unistd.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <fcntl.h>
|
||||
+
|
||||
gboolean save_to_file( const char* path, const char* data, gssize len )
|
||||
{
|
||||
int fd = creat( path, 0644 );
|
11
x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c
Normal file
11
x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_mime-type_mime-cache_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/mime-type/mime-cache.c.orig Fri Jul 16 15:03:52 2010
|
||||
+++ src/mime-type/mime-cache.c Fri Jul 16 15:04:08 2010
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_MMAP
|
||||
#include <sys/mman.h>
|
11
x11/pcmanfm/patches/patch-src_mime-type_mime-type_c
Normal file
11
x11/pcmanfm/patches/patch-src_mime-type_mime-type_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_mime-type_mime-type_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/mime-type/mime-type.c.orig Fri Jul 16 15:02:43 2010
|
||||
+++ src/mime-type/mime-type.c Fri Jul 16 15:03:08 2010
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
/*
|
||||
* FIXME:
|
12
x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c
Normal file
12
x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_ptk_ptk-path-entry_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/ptk/ptk-path-entry.c.orig Fri Jul 16 15:04:23 2010
|
||||
+++ src/ptk/ptk-path-entry.c Fri Jul 16 15:04:49 2010
|
||||
@@ -13,6 +13,8 @@
|
||||
#include "ptk-path-entry.h"
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
/*
|
||||
static GQuark use_hand_cursor = (GQuark)"hand_cursor";
|
||||
#define is_hand_cursor_used( entry ) (g_object_get_qdata(entry, use_hand_cursor))
|
11
x11/pcmanfm/patches/patch-src_settings_c
Normal file
11
x11/pcmanfm/patches/patch-src_settings_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_settings_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/settings.c.orig Fri Jul 16 15:05:28 2010
|
||||
+++ src/settings.c Fri Jul 16 15:05:49 2010
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "settings.h"
|
||||
+#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
11
x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c
Normal file
11
x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_vfs_vfs-thumbnail-loader_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
|
||||
--- src/vfs/vfs-thumbnail-loader.c.orig Fri Jul 16 15:05:06 2010
|
||||
+++ src/vfs/vfs-thumbnail-loader.c Fri Jul 16 15:05:16 2010
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "vfs-thumbnail-loader.h"
|
||||
#include "glib-mem.h" /* for g_slice API */
|
||||
#include "glib-utils.h" /* for g_mkdir_with_parents() */
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
Reference in New Issue
Block a user