freebsd-ports/sysutils/medusa/files/patch-aa
Ade Lovett 48d56577d5 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.
2001-05-04 21:51:17 +00:00

39 lines
1.2 KiB
Text

--- libmedusa-internal/medusa-io-handler.c.orig Fri Oct 6 18:20:52 2000
+++ libmedusa-internal/medusa-io-handler.c Fri Nov 3 11:37:17 2000
@@ -254,2 +254,5 @@
written before returning the FILE * */
+#ifdef __FreeBSD__
+#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 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 <sys/statfs.h>
+#endif
#else
@@ -90,2 +92,5 @@
unlink (INDEX_PROGRESS_FILE_NAME);
+#ifdef __FreeBSD__
+#define O_SYNC 0
+#endif
}
--- 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 @@
{
+#ifdef __FreeBSD__
+#define O_SYNC 0
+#endif
return open (file_name, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR | O_SYNC);
--- libmedusa/medusa-service-private.c.orig Thu Sep 14 23:59:29 2000
+++ libmedusa/medusa-service-private.c Fri Nov 3 11:41:51 2000
@@ -32,5 +32,5 @@
#include <strings.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include <sys/un.h>