summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-10-21 17:30:03 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-10-21 17:30:03 +0000
commitb37c348c41c56f1871fb10ba744034c552d15162 (patch)
treea89e6233c97dfe1cb2c371998f304cd0f70744e4 /net
parentCorrect patch name. Since this was a new patch no repocopy is done. (diff)
Fix detection of SYSV(we are not SYSV) so that things like printing
and DSO support works on -current once again. Noticed by: obrien Submitted by: jelmer@samba.org
Notes
Notes: svn path=/head/; revision=68523
Diffstat (limited to 'net')
-rw-r--r--net/samba/files/patch-sysv48
1 files changed, 48 insertions, 0 deletions
diff --git a/net/samba/files/patch-sysv b/net/samba/files/patch-sysv
new file mode 100644
index 000000000000..c23cae9579be
--- /dev/null
+++ b/net/samba/files/patch-sysv
@@ -0,0 +1,48 @@
+diff -urN source.old/acconfig.h source/acconfig.h
+--- source.old/acconfig.h Mon Oct 21 12:19:22 2002
++++ source/acconfig.h Mon Oct 21 12:22:00 2002
+@@ -27,6 +27,8 @@
+ #undef AIX
+ #undef BSD
+ #undef IRIX
++#undef UNIXWARE
++#undef SYSV
+ #undef IRIX6
+ #undef HPUX
+ #undef QNX
+diff -urN source.old/configure.in source/configure.in
+--- source.old/configure.in Mon Oct 21 12:19:22 2002
++++ source/configure.in Mon Oct 21 12:21:27 2002
+@@ -952,7 +952,7 @@
+ ;;
+ *next2*) AC_DEFINE(NEXT2);;
+ *dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]);;
+- *sysv4*)
++ *sysv4*) AC_DEFINE(SYSV)
+ case "$host" in
+ *-univel-*) if [ test "$GCC" != yes ]; then
+ AC_DEFINE(HAVE_MEMSET)
+@@ -963,7 +963,7 @@
+ *mips-sni-sysv4*) AC_DEFINE(RELIANTUNIX);;
+ esac
+ ;;
+- *sysv5*)
++ *sysv5*) AC_DEFINE(SYSV)
+ if [ test "$GCC" != yes ]; then
+ AC_DEFINE(HAVE_MEMSET)
+ fi
+diff -urN source.old/include/includes.h source/include/includes.h
+--- source.old/include/includes.h Mon Oct 21 12:19:22 2002
++++ source/include/includes.h Mon Oct 21 12:23:01 2002
+@@ -748,11 +748,6 @@
+ #define QSORT_CAST (int (*)(const void *, const void *))
+ #endif
+
+-/* this guess needs to be improved (tridge) */
+-#if (defined(STAT_STATVFS) || defined(STAT_STATVFS64)) && !defined(SYSV)
+-#define SYSV 1
+-#endif
+-
+ /*
+ * Veritas File System. Often in addition to native.
+ * Quotas different.