aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg-devel
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-06-19 16:21:48 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-06-19 16:21:48 +0000
commit5aae1082e8a770a0a19aae8c25b38fa001be1f3d (patch)
treea71742e4be9e2355133440e5c1b2fefa976ea7a2 /security/gnupg-devel
parenta2b1f8db9defbc8b9745fa20bc709324266a7cb4 (diff)
downloadports-5aae1082e8a770a0a19aae8c25b38fa001be1f3d.tar.gz
ports-5aae1082e8a770a0a19aae8c25b38fa001be1f3d.zip
Notes
Diffstat (limited to 'security/gnupg-devel')
-rw-r--r--security/gnupg-devel/files/patch-tools_gpgparsemail.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/gnupg-devel/files/patch-tools_gpgparsemail.c b/security/gnupg-devel/files/patch-tools_gpgparsemail.c
new file mode 100644
index 000000000000..327c7bef8354
--- /dev/null
+++ b/security/gnupg-devel/files/patch-tools_gpgparsemail.c
@@ -0,0 +1,29 @@
+--- tools/gpgparsemail.c.orig Mon Jun 19 18:18:11 2006
++++ tools/gpgparsemail.c Mon Jun 19 18:18:55 2006
+@@ -24,6 +24,9 @@
+ for the content of the line. Several options are available to
+ scrutinize the message. S/MIME and OpenPGP support is included. */
+
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
+
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -145,6 +148,7 @@
+ return p;
+ }
+
++#ifndef HAVE_STPCPY
+ static char *
+ stpcpy (char *a,const char *b)
+ {
+@@ -154,7 +158,7 @@
+
+ return (char*)a;
+ }
+-
++#endif
+
+ static int
+ run_gnupg (int smime, int sig_fd, int data_fd, int *close_list)