diff options
author | wiz <wiz@pkgsrc.org> | 2008-03-25 13:43:14 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-03-25 13:43:14 +0000 |
commit | a77048032d4b03fa202752abb0f61999212a0bd5 (patch) | |
tree | 32250c0fe678b5c57db58780ec3bf22d051a6447 /misc/openoffice/patches/patch-as | |
parent | 75ce01b6b70df45fe480df3b6c1780f57702fcf8 (diff) | |
download | pkgsrc-a77048032d4b03fa202752abb0f61999212a0bd5.tar.gz |
Remove openoffice (1.x branch) packages.
They have security problems and are not maintained.
Removal was announced on pkgsrc-users on March 13.
Diffstat (limited to 'misc/openoffice/patches/patch-as')
-rw-r--r-- | misc/openoffice/patches/patch-as | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/misc/openoffice/patches/patch-as b/misc/openoffice/patches/patch-as deleted file mode 100644 index 5380f43cecc..00000000000 --- a/misc/openoffice/patches/patch-as +++ /dev/null @@ -1,46 +0,0 @@ -$NetBSD: patch-as,v 1.5 2005/09/06 08:10:58 abs Exp $ - ---- ../sal/osl/unx/file.c.orig 2004-05-07 09:57:55.000000000 +0200 -+++ ../sal/osl/unx/file.c -@@ -1193,7 +1193,7 @@ oslFileError SAL_CALL osl_syncFile(oslFi - - #ifdef HAVE_STATFS_H - --#if defined(FREEBSD) || defined(NETBSD) || defined(MACOSX) -+#if defined(FREEBSD) || defined(MACOSX) - # define __OSL_STATFS_STRUCT struct statfs - # define __OSL_STATFS(dir, sfs) statfs((dir), (sfs)) - # define __OSL_STATFS_BLKSIZ(a) ((sal_uInt64)((a).f_bsize)) -@@ -1207,6 +1207,32 @@ oslFileError SAL_CALL osl_syncFile(oslFi - # define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (1) - #endif /* FREEBSD || NETBSD */ - -+#if defined(NETBSD) -+ -+#include <sys/param.h> -+ -+/* statvfs() replaced statfs() in 2.99.9 */ -+# if __NetBSD_Version__ >= 299000900 -+ /* 2.0D or later */ -+# define __OSL_STATFS_STRUCT struct statvfs -+# define __OSL_STATFS(dir, sfs) statvfs((dir), (sfs)) -+# define __OSL_STATFS_ISREMOTE(a) (((a).f_flag & ST_LOCAL) == 0) -+ -+# else -+ /* version before 2.0D */ -+# define __OSL_STATFS_STRUCT struct statfs -+# define __OSL_STATFS(dir, sfs) statfs((dir), (sfs)) -+# define __OSL_STATFS_ISREMOTE(a) (((a).f_type & MNT_LOCAL) == 0) -+ -+# endif /* >2.0D */ -+ -+# define __OSL_STATFS_BLKSIZ(a) ((sal_uInt64)((a).f_bsize)) -+# define __OSL_STATFS_TYPENAME(a) ((a).f_fstypename) -+ -+# define __OSL_STATFS_IS_CASE_SENSITIVE_FS(a) (strcmp((a).f_fstypename, "msdos") != 0 && strcmp((a).f_fstypename, "ntfs") != 0 && strcmp((a).f_fstypename, "smbfs") != 0) -+# define __OSL_STATFS_IS_CASE_PRESERVING_FS(a) (strcmp((a).f_fstypename, "msdos") != 0) -+#endif -+ - #if defined(LINUX) - # define __OSL_NFS_SUPER_MAGIC 0x6969 - # define __OSL_SMB_SUPER_MAGIC 0x517B |