diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-10-22 01:30:03 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-10-22 01:30:03 +0800 |
commit | db3700017ee929daa6c68f8ddd9f86a872c85a6b (patch) | |
tree | 670bde6a5cc45aceb8b770c1a771f4fcb4c72f7d /net/samba | |
parent | 223ff87fa9c4e7bac5470db80fed36e66afdf43e (diff) | |
download | freebsd-ports-gnome-db3700017ee929daa6c68f8ddd9f86a872c85a6b.tar.gz freebsd-ports-gnome-db3700017ee929daa6c68f8ddd9f86a872c85a6b.tar.zst freebsd-ports-gnome-db3700017ee929daa6c68f8ddd9f86a872c85a6b.zip |
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
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/files/patch-sysv | 48 |
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. |