pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/openoffice Removed the declaration of getpwent_r(...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3870d3865013
branches: trunk
changeset: 492420:3870d3865013
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Apr 12 01:10:45 2005 +0000
description:
Removed the declaration of getpwent_r(), which differs among different
operating systems. The function is never used in openoffice. Approved by
phone.
diffstat:
misc/openoffice/distinfo | 4 ++--
misc/openoffice/patches/patch-aw | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r fed485138833 -r 3870d3865013 misc/openoffice/distinfo
--- a/misc/openoffice/distinfo Tue Apr 12 01:07:44 2005 +0000
+++ b/misc/openoffice/distinfo Tue Apr 12 01:10:45 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2005/02/26 16:07:46 mrauch Exp $
+$NetBSD: distinfo,v 1.30 2005/04/12 01:10:45 rillig Exp $
SHA1 (openoffice-1.1.4/OOo_1.1.4_source.tar.gz) = 3161dbe53f6ec0b0d5a65790a2b1dd3d7331b430
RMD160 (openoffice-1.1.4/OOo_1.1.4_source.tar.gz) = 0e218792bb72106cd494532de373d0f40a5a9587
@@ -52,6 +52,6 @@
SHA1 (patch-at) = f38552d47fbbc1013b00a29b5c451607236b2b84
SHA1 (patch-au) = 662e14be36e28aacf0bb3961c194c69d39cef8a8
SHA1 (patch-av) = f6f0aa984f7d975c721d616b348a69cff6173ff8
-SHA1 (patch-aw) = 15a27595dbf7599943ff9847e4841b1b62e792a6
+SHA1 (patch-aw) = f0decfe7d1bac881ec83b09328a6b863a9bed7b1
SHA1 (patch-ax) = 4a918df6dfd058fd6abecfc4c9b85a21bfc18364
SHA1 (patch-ay) = f548c8c79d6ef9b1a0d1e521d295bf03cd8f8849
diff -r fed485138833 -r 3870d3865013 misc/openoffice/patches/patch-aw
--- a/misc/openoffice/patches/patch-aw Tue Apr 12 01:07:44 2005 +0000
+++ b/misc/openoffice/patches/patch-aw Tue Apr 12 01:10:45 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-aw,v 1.6 2005/01/03 22:51:47 agc Exp $
+$NetBSD: patch-aw,v 1.7 2005/04/12 01:10:45 rillig Exp $
-Patch from Rui-Xiang Guo for building on NetBSD-current
+Patch from Rui-Xiang Guo for building on NetBSD-current. The getpwent_r
+function is not used at all, so why provide a (wrong) prototype for it?
--- ../sal/osl/unx/system.h.orig 2004-11-19 09:23:53.000000000 +0800
+++ ../sal/osl/unx/system.h 2004-11-19 09:27:55.000000000 +0800
@@ -15,3 +16,11 @@
# define _POSIX_THREAD_SYSCALL_SOFT 1
# include <pthread.h>
# include <netdb.h>
+@@ -569,7 +572,6 @@ extern int sem_post(sem_t* sem);
+
+ #ifdef NO_PTHREAD_RTL
+ #if !defined FREEBSD || (__FreeBSD_version < 500112)
+-struct passwd *getpwent_r(struct passwd *pwd, char *buffer, int buflen);
+ extern struct spwd *getspnam_r(const char *name, struct spwd *result,
+ char *buffer, int buflen);
+
Home |
Main Index |
Thread Index |
Old Index