pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/kdepim3 This package has copied several files fro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dadbe7245b53
branches: trunk
changeset: 483186:dadbe7245b53
user: shannonjr <shannonjr%pkgsrc.org@localhost>
date: Mon Nov 08 23:53:20 2004 +0000
description:
This package has copied several files from gpgme verbatim
that have been patched recently to correctly use getenv_r,
ttyname_r and strerror_r. This update applies the same
changes to the copied files.
diffstat:
misc/kdepim3/Makefile | 4 +++-
misc/kdepim3/distinfo | 6 +++++-
misc/kdepim3/patches/patch-ba | 24 ++++++++++++++++++++++++
misc/kdepim3/patches/patch-bb | 43 +++++++++++++++++++++++++++++++++++++++++++
misc/kdepim3/patches/patch-bc | 24 ++++++++++++++++++++++++
misc/kdepim3/patches/patch-bd | 13 +++++++++++++
6 files changed, 112 insertions(+), 2 deletions(-)
diffs (153 lines):
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/Makefile
--- a/misc/kdepim3/Makefile Mon Nov 08 22:29:19 2004 +0000
+++ b/misc/kdepim3/Makefile Mon Nov 08 23:53:20 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2004/10/13 12:29:05 markd Exp $
+# $NetBSD: Makefile,v 1.34 2004/11/08 23:53:20 shannonjr Exp $
DISTNAME= kdepim-${_KDE_VERSION}
+PKGREVISION= 1
CATEGORIES= misc
COMMENT= Personal Information Management tools for the KDE desktop
@@ -34,4 +35,5 @@
.include "../../security/gpgme/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
+.include "../../devel/librfuncs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/distinfo
--- a/misc/kdepim3/distinfo Mon Nov 08 22:29:19 2004 +0000
+++ b/misc/kdepim3/distinfo Mon Nov 08 23:53:20 2004 +0000
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.23 2004/10/13 12:29:05 markd Exp $
+$NetBSD: distinfo,v 1.24 2004/11/08 23:53:20 shannonjr Exp $
SHA1 (kdepim-3.3.1.tar.bz2) = b9928e5bceda7f871d02d861a589fdc133649565
Size (kdepim-3.3.1.tar.bz2) = 10007944 bytes
SHA1 (patch-aa) = d9eef6f9f0301cc19897e84d632ccb3127761a4f
SHA1 (patch-ab) = 47280379fa8c570720dd1801f5da2e5c93685423
+SHA1 (patch-ba) = f524c671e3089a73c78cb0e5a8b6e19c0ddf360c
+SHA1 (patch-bb) = 9667cce7382544a40f91b7f62f594cfc52953661
+SHA1 (patch-bc) = fc1d54789656b670345fcfaa67d0f9b8e90ffbf4
+SHA1 (patch-bd) = 1d8b147e2fdf78132bfcb4b002bff7dd5c74bd99
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/patches/patch-ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepim3/patches/patch-ba Mon Nov 08 23:53:20 2004 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ba,v 1.1 2004/11/08 23:53:20 shannonjr Exp $
+
+--- libkdenetwork/libgpgme-copy/gpgme/error.c.orig 2004-02-10 14:11:07.000000000 -0700
++++ libkdenetwork/libgpgme-copy/gpgme/error.c
+@@ -21,6 +21,10 @@
+ #include <config.h>
+ #endif
+
++#if HAVE_RFUNCS_H
++#include <rfuncs.h>
++#endif
++
+ #include <gpgme.h>
+
+ /* Return a pointer to a string containing a description of the error
+@@ -42,7 +46,7 @@ gpgme_strerror (gpgme_error_t err)
+ int
+ gpgme_strerror_r (gpg_error_t err, char *buf, size_t buflen)
+ {
+- return gpg_strerror_r (err, buf, buflen);
++ return strerror_r (err, buf, buflen);
+ }
+
+
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/patches/patch-bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepim3/patches/patch-bb Mon Nov 08 23:53:20 2004 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-bb,v 1.1 2004/11/08 23:53:20 shannonjr Exp $
+
+--- libkdenetwork/libgpgme-copy/gpgme/get-env.c.orig 2004-02-10 14:11:07.000000000 -0700
++++ libkdenetwork/libgpgme-copy/gpgme/get-env.c
+@@ -21,6 +21,9 @@
+ #include <config.h>
+ #endif
+ #include <stdlib.h>
++#if HAVE_RFUNCS_H
++#include <rfuncs.h>
++#endif
+ #include <errno.h>
+ #include <string.h>
+
+@@ -52,7 +55,26 @@ _gpgme_getenv (const char *name, char **
+
+ #else
+
+-/* FIXME: Implement this when we have the specification for it. */
+-#error Use of getenv_r not implemented.
++/* Retrieve the environment variable NAME and return a copy of it in a
++ malloc()'ed buffer in *VALUE. If the environment variable is not
++ set, return NULL in *VALUE. */
++gpgme_error_t
++_gpgme_getenv (const char *name, char **value)
++{
++ char env_value[256];
++ int err;
++ if (err = getenv_r (name, env_value, 256))
++ *value = NULL;
++ else
++ {
++ *value = strdup (env_value);
++ if (!*value)
++ err = ENOMEM;
++ }
++ if (err != 0 && err != ENOENT)
++ return gpg_error_from_errno (err);
++ else
++ return (0);
++}
+
+ #endif
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/patches/patch-bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepim3/patches/patch-bc Mon Nov 08 23:53:20 2004 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-bc,v 1.1 2004/11/08 23:53:20 shannonjr Exp $
+
+--- libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c.orig 2004-06-25 02:57:52.000000000 -0600
++++ libkdenetwork/libgpgme-copy/gpgme/engine-gpgsm.c
+@@ -27,6 +27,9 @@
+ #include <sys/types.h>
+ #include <assert.h>
+ #include <unistd.h>
++#if HAVE_RFUNCS_H
++#include <rfuncs.h>
++#endif
+ #include <locale.h>
+ #include <fcntl.h> /* FIXME */
+ #include <errno.h>
+@@ -448,7 +451,8 @@ gpgsm_new (void **engine, const char *lc
+
+ if (isatty (1))
+ {
+- if (ttyname_r (1, dft_ttyname, sizeof (dft_ttyname)))
++ /* ttyname_r() return numeric status */
++ if (err = ttyname_r (1, dft_ttyname, sizeof (dft_ttyname)))
+ {
+ err = gpg_error_from_errno (errno);
+ goto leave;
diff -r 9879f593d7e0 -r dadbe7245b53 misc/kdepim3/patches/patch-bd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdepim3/patches/patch-bd Mon Nov 08 23:53:20 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bd,v 1.1 2004/11/08 23:53:20 shannonjr Exp $
+
+--- configure.orig 2004-10-04 02:21:15.000000000 -0600
++++ configure
+@@ -31936,7 +31936,7 @@ fi
+
+
+
+-for ac_header in fcntl.h sys/sysctl.h sys/param.h sys/time.h sys/types.h unistd.h
++for ac_header in fcntl.h sys/sysctl.h sys/param.h sys/time.h sys/types.h unistd.h rfuncs.h
+ do
+ as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if eval "test \"\${$as_ac_Header+set}\" = set"; then
Home |
Main Index |
Thread Index |
Old Index