Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 00:16:34 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        ports@geeksrus.net
Cc:        ports@freebsd.org
Subject:   devel/fam patches for 5.x
Message-ID:  <20020609071634.GZ88163@elvis.mu.org>

next in thread | raw e-mail | index | archive | help
Some missing headers and void return for main() upsets gcc 3.1,
shar contains patchfiles.

I will happily commit fixes if this is ok.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-Scheduler.c++
#	files/patch-test.c++
#
echo x - files/patch-Scheduler.c++
sed 's/^X//' >files/patch-Scheduler.c++ << 'END-of-files/patch-Scheduler.c++'
Xdiff -ur fam-oss-2.6.4/fam/Scheduler.c++ fam-oss-2.6.4-freebsd/fam/Scheduler.c++
X--- fam-oss-2.6.4/fam/Scheduler.c++	Fri May 19 21:46:32 2000
X+++ fam-oss-2.6.4-freebsd/fam/Scheduler.c++	Sun Jun  9 00:09:33 2002
X@@ -26,6 +26,7 @@
X #include <string.h>
X #include <errno.h>
X #include <unistd.h>
X+#include <stdlib.h>
X #include <sys/param.h>
X 
X #include "Log.h"
END-of-files/patch-Scheduler.c++
echo x - files/patch-test.c++
sed 's/^X//' >files/patch-test.c++ << 'END-of-files/patch-test.c++'
Xdiff -ur fam-oss-2.6.4/test/test.c++ fam-oss-2.6.4-freebsd/test/test.c++
X--- fam-oss-2.6.4/test/test.c++	Sun Jun  9 00:10:42 2002
X+++ fam-oss-2.6.4-freebsd/test/test.c++	Sun Jun  9 00:09:58 2002
X@@ -6,6 +6,7 @@
X #include <signal.h>
X #include <errno.h>
X #include <stdarg.h>
X+#include <stdlib.h>
X //#include <fcntl.h>
X #include "fam.h"
X //#include "Boolean.h"
X@@ -120,7 +121,7 @@
X //    return rv;
X //}
X 
X-void
X+int
X main(int argc, char **argv)
X {
X     /* Create fam test */
X@@ -279,6 +280,7 @@
X //fflush(stderr);
X //        }
X     }
X+    return (0);
X }
END-of-files/patch-test.c++
exit


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020609071634.GZ88163>