From f3c097f76ca65e31091fcacdd78b1358cbf9cd4c Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Fri, 16 Jul 2010 13:15:19 +0000 Subject: [PATCH] Fix several implicit declarations. Move to REVISION and new DEPENDS. Regen WANTLIB. --- x11/pcmanfm/Makefile | 13 ++++++++----- .../patches/patch-src_mime-type_mime-action_c | 15 +++++++++++++++ .../patches/patch-src_mime-type_mime-cache_c | 11 +++++++++++ .../patches/patch-src_mime-type_mime-type_c | 11 +++++++++++ .../patches/patch-src_ptk_ptk-path-entry_c | 12 ++++++++++++ x11/pcmanfm/patches/patch-src_settings_c | 11 +++++++++++ .../patches/patch-src_vfs_vfs-thumbnail-loader_c | 11 +++++++++++ 7 files changed, 79 insertions(+), 5 deletions(-) create mode 100644 x11/pcmanfm/patches/patch-src_mime-type_mime-action_c create mode 100644 x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c create mode 100644 x11/pcmanfm/patches/patch-src_mime-type_mime-type_c create mode 100644 x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c create mode 100644 x11/pcmanfm/patches/patch-src_settings_c create mode 100644 x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c diff --git a/x11/pcmanfm/Makefile b/x11/pcmanfm/Makefile index 26b5a16cb00..734e03421f9 100644 --- a/x11/pcmanfm/Makefile +++ b/x11/pcmanfm/Makefile @@ -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 \ diff --git a/x11/pcmanfm/patches/patch-src_mime-type_mime-action_c b/x11/pcmanfm/patches/patch-src_mime-type_mime-action_c new file mode 100644 index 00000000000..afe866fb060 --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_mime-type_mime-action_c @@ -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 + ++#include ++#include ++#include ++#include ++ + gboolean save_to_file( const char* path, const char* data, gssize len ) + { + int fd = creat( path, 0644 ); diff --git a/x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c b/x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c new file mode 100644 index 00000000000..54a4bf2ecfc --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_mime-type_mime-cache_c @@ -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 + #include + #include ++#include + + #ifdef HAVE_MMAP + #include diff --git a/x11/pcmanfm/patches/patch-src_mime-type_mime-type_c b/x11/pcmanfm/patches/patch-src_mime-type_mime-type_c new file mode 100644 index 00000000000..6e5343a3b5b --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_mime-type_mime-type_c @@ -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 + #include + #include ++#include + + /* + * FIXME: diff --git a/x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c b/x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c new file mode 100644 index 00000000000..b365d3c46b1 --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_ptk_ptk-path-entry_c @@ -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 + ++#include ++ + /* + static GQuark use_hand_cursor = (GQuark)"hand_cursor"; + #define is_hand_cursor_used( entry ) (g_object_get_qdata(entry, use_hand_cursor)) diff --git a/x11/pcmanfm/patches/patch-src_settings_c b/x11/pcmanfm/patches/patch-src_settings_c new file mode 100644 index 00000000000..69e084d081f --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_settings_c @@ -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 + #include + #include + #include diff --git a/x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c b/x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c new file mode 100644 index 00000000000..772851c1966 --- /dev/null +++ b/x11/pcmanfm/patches/patch-src_vfs_vfs-thumbnail-loader_c @@ -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 + #include + #include +