diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-12-22 00:13:23 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-12-22 00:13:23 +0800 |
commit | 16e179b235ec38c7a2ae660c612400fa330af2d7 (patch) | |
tree | 298fbe8c8794eaefff1a9dc85b5e458f33c779f4 /x11/gnome-panel | |
parent | 305d8ab131ead6bf7b456f689be102174aced255 (diff) | |
download | freebsd-ports-gnome-16e179b235ec38c7a2ae660c612400fa330af2d7.tar.gz freebsd-ports-gnome-16e179b235ec38c7a2ae660c612400fa330af2d7.tar.zst freebsd-ports-gnome-16e179b235ec38c7a2ae660c612400fa330af2d7.zip |
Lock ~/.recently-used. The lack of locking sometimes caused the
"Places -> Recent Documents" menu to be empty.
Reference: http://bugzilla.gnome.org/show_bug.cgi?id=324710
Diffstat (limited to 'x11/gnome-panel')
-rw-r--r-- | x11/gnome-panel/Makefile | 1 | ||||
-rw-r--r-- | x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 0b16b0d85cde..3341f4311e6f 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -8,6 +8,7 @@ PORTNAME= gnomepanel PORTVERSION= 2.12.2 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-panel/2.12 diff --git a/x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c b/x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c new file mode 100644 index 000000000000..c74812db8450 --- /dev/null +++ b/x11/gnome-panel/files/patch-gnome-panel_egg-recent-model.c @@ -0,0 +1,20 @@ +--- gnome-panel/egg-recent-model.c.orig Wed Dec 21 16:58:46 2005 ++++ gnome-panel/egg-recent-model.c Wed Dec 21 16:59:03 2005 +@@ -942,7 +942,7 @@ + static gboolean + egg_recent_model_lock_file (FILE *file) + { +-#ifdef F_TLOCK ++#ifdef HAVE_LOCKF + int fd; + gint try = 5; + +@@ -980,7 +980,7 @@ + static gboolean + egg_recent_model_unlock_file (FILE *file) + { +-#ifdef F_TLOCK ++#ifdef HAVE_LOCKF + int fd; + + rewind (file); |