From d928200809b11974205cc2ebc7e01aa53e9095f4 Mon Sep 17 00:00:00 2001 From: ade Date: Fri, 4 May 2001 21:51:17 +0000 Subject: The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a whole bunch of GNOME applications under one convenient building mechanism. Applications include: mozilla, galeon, gabber, pan, gnumeric, sodipodi, atomix, balsa, bombermaze, dia, eog, gedit, gimp, glimmer, gnomeicu, gob, gtm, gnucash and abiword. --- sysutils/medusa/files/patch-aa | 16 +++++++++++----- sysutils/medusa/files/patch-af | 12 +++++++++--- sysutils/medusa/files/patch-ah | 28 ++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 sysutils/medusa/files/patch-ah (limited to 'sysutils/medusa/files') diff --git a/sysutils/medusa/files/patch-aa b/sysutils/medusa/files/patch-aa index 3e1c22c..e7173e2 100644 --- a/sysutils/medusa/files/patch-aa +++ b/sysutils/medusa/files/patch-aa @@ -6,14 +6,20 @@ +#define O_SYNC 0 +#endif file_descriptor = open (file_name, O_RDWR | O_CREAT | O_SYNC, S_IRUSR | S_IWUSR); ---- libmedusa/medusa-index-progress.c.orig Mon Oct 16 16:46:51 2000 -+++ libmedusa/medusa-index-progress.c Fri Nov 3 11:38:01 2000 -@@ -90,2 +90,5 @@ - g_return_val_if_fail (disk_information_was_found, NULL); +--- libmedusa/medusa-index-progress.c.orig Thu Feb 22 06:58:11 2001 ++++ libmedusa/medusa-index-progress.c Fri Mar 2 13:40:31 2001 +@@ -56,3 +56,5 @@ + #elif HAVE_STATFS ++#ifndef __FreeBSD__ + # include ++#endif + #else +@@ -90,2 +92,5 @@ + unlink (INDEX_PROGRESS_FILE_NAME); +#ifdef __FreeBSD__ +#define O_SYNC 0 +#endif - output_fd = open (INDEX_PROGRESS_FILE_NAME, O_RDWR | O_CREAT | O_EXCL | O_SYNC); + } --- libmedusa/medusa-unindexed-search.c.orig Wed Sep 20 14:03:58 2000 +++ libmedusa/medusa-unindexed-search.c Fri Nov 3 11:38:30 2000 @@ -1068,2 +1068,5 @@ diff --git a/sysutils/medusa/files/patch-af b/sysutils/medusa/files/patch-af index 5b9286b..4179bfc 100644 --- a/sysutils/medusa/files/patch-af +++ b/sysutils/medusa/files/patch-af @@ -8,8 +8,8 @@ -#include #include ---- indexer/medusa-file-index-daemon.c.orig Wed Jan 17 21:55:16 2001 -+++ indexer/medusa-file-index-daemon.c Mon Jan 29 13:42:35 2001 +--- indexer/medusa-file-index-daemon.c.orig Thu Feb 22 06:58:10 2001 ++++ indexer/medusa-file-index-daemon.c Fri Mar 2 13:46:16 2001 @@ -44,3 +44,8 @@ #include +#ifdef __FreeBSD__ @@ -18,4 +18,10 @@ +#else #include +#endif - #include + +@@ -49,3 +54,5 @@ + #elif defined(HAVE_STATFS) ++#ifndef __FreeBSD__ + #include ++#endif + #endif /* HAVE_STATVFS */ diff --git a/sysutils/medusa/files/patch-ah b/sysutils/medusa/files/patch-ah new file mode 100644 index 0000000..4ccf7ff --- /dev/null +++ b/sysutils/medusa/files/patch-ah @@ -0,0 +1,28 @@ +--- search-service/medusa-file-search-daemon.c.orig Wed Feb 21 01:33:37 2001 ++++ search-service/medusa-file-search-daemon.c Fri Mar 2 16:11:21 2001 +@@ -204,2 +204,17 @@ + ++#ifdef __FreeBSD__ ++#include ++ ++static void ++grim_reaper(int signo) ++{ ++ pid_t pid; ++ int stat; ++ ++ while ((pid = waitpid(-1, &stat, WNOHANG)) > 0) ++ ; ++ return; ++} ++#endif ++ + int main (int argc, char *argv[]) +@@ -273,3 +288,7 @@ + in the Unix Environment", page 280) */ ++#ifdef __FreeBSD__ ++ signal (SIGCHLD, grim_reaper); ++#else + signal (SIGCLD, SIG_IGN); ++#endif + -- cgit v1.1