diff options
author | Yoshio MITA <mita@FreeBSD.org> | 2001-10-10 11:45:08 +0000 |
---|---|---|
committer | Yoshio MITA <mita@FreeBSD.org> | 2001-10-10 11:45:08 +0000 |
commit | b4a37e672d764f4644549f1cf4dbb645115a463b (patch) | |
tree | c3255c3676be85f33491c44c879c042f887ef332 /net/generic-nqs/files | |
parent | Add flog 1.3, a small STDIN-to-file logger with support for log (diff) |
Applied proposed two PRs.
PR: ports/29616, ports/30963
Approved by: the maintainer
Notes
Notes:
svn path=/head/; revision=48648
Diffstat (limited to 'net/generic-nqs/files')
-rw-r--r-- | net/generic-nqs/files/i386-unknown-freebsd2.2.6 | 2 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ab | 20 | ||||
-rw-r--r-- | net/generic-nqs/files/patch-ag | 31 |
3 files changed, 32 insertions, 21 deletions
diff --git a/net/generic-nqs/files/i386-unknown-freebsd2.2.6 b/net/generic-nqs/files/i386-unknown-freebsd2.2.6 index e3f2c5735b2c..eea91e812c5a 100644 --- a/net/generic-nqs/files/i386-unknown-freebsd2.2.6 +++ b/net/generic-nqs/files/i386-unknown-freebsd2.2.6 @@ -3,7 +3,7 @@ # PLATFORM DESCRIPTION FILE C_COMPILER "cc" -C_COMPILER_FLAGS_OPTIMISE "-O2" +C_COMPILER_FLAGS_OPTIMISE "XX_CFLAGS_XX" C_COMPILER_FLAGS_DEBUG "" C_COMPILER_FLAGS_COMMON "" C_COMPILER_FLAGS_INCLUDE "" diff --git a/net/generic-nqs/files/patch-ab b/net/generic-nqs/files/patch-ab index d79fc57ceb94..e69de29bb2d1 100644 --- a/net/generic-nqs/files/patch-ab +++ b/net/generic-nqs/files/patch-ab @@ -1,20 +0,0 @@ ---- SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh.orig Sat Nov 13 19:32:02 1999 -+++ SETUPDir/GSetup-Scripts/GPort-Scripts/1020-Is-gcc.sh Sat Nov 13 19:32:36 1999 -@@ -72,7 +72,7 @@ - F_ECHO_LN "egcs" - - F_DEFINE_STRING GPORT_CC_FLAGS_DEBUG "-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" -- F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O6 -fno-strength-reduce" -+ F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O2" - F_DEFINE_STRING GPORT_CC_FLAGS_COMMON "-Wall" - elif [ "$GPORT_HAS_GCC" = 1 ]; then - F_TEST_TYPE BLANK -@@ -80,7 +80,7 @@ - F_ECHO_LN "gcc" - - F_DEFINE_STRING GPORT_CC_FLAGS_DEBUG "-Wpointer-arith -Wbad-function-cast -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" -- F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O6 -fno-strength-reduce" -+ F_DEFINE_STRING GPORT_CC_FLAGS_OPTIMISE "-O2" - F_DEFINE_STRING GPORT_CC_FLAGS_COMMON "-Wall" - fi - } diff --git a/net/generic-nqs/files/patch-ag b/net/generic-nqs/files/patch-ag new file mode 100644 index 000000000000..1962c329f5e2 --- /dev/null +++ b/net/generic-nqs/files/patch-ag @@ -0,0 +1,31 @@ +--- Source-Tree/loaddaemon/all-systems/loaddaemon.c.orig Thu Aug 2 01:18:37 2001 ++++ Source-Tree/loaddaemon/all-systems/loaddaemon.c Fri Aug 3 16:59:53 2001 +@@ -539,6 +539,20 @@ + } + #endif /* HPUX */ + #if IS_DECOSF | IS_BSD ++#if BSD4_4 ++static ++void calcloadavg(double load[3]) ++{ ++ double avenrun[3]; ++ int i; ++ if (getloadavg(avenrun, sizeof(avenrun) / sizeof(avenrun[0]))) { ++ printf("getloadavg goofed\n"); ++ } ++ for (i = 0; i < 3; i++) { ++ load[i] = avenrun[i]; ++ } ++} ++#else + struct nlist nl[] = { + #define unixpath "/vmunix" + { "_avenrun" }, +@@ -570,6 +584,7 @@ + for (i = 0; i < 3; i++) + load[i] = ((double) avenrun[i]) / (double) 1024.; + } ++#endif /* BSD4_4 */ + #endif /* DECOSF or Sun (BSD43) */ + + #if IS_SOLARIS |