diff options
author | arved <arved@FreeBSD.org> | 2003-09-30 01:28:35 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-09-30 01:28:35 +0800 |
commit | db1a5639b94594d75bda134399a2166feaf678c2 (patch) | |
tree | a6814f770223e2adedda28dd2a451e2e3127fe66 /mail/py-milter | |
parent | fe805b5359b35fd392f9ef409b5bdb6648ae89ba (diff) | |
download | freebsd-ports-gnome-db1a5639b94594d75bda134399a2166feaf678c2.tar.gz freebsd-ports-gnome-db1a5639b94594d75bda134399a2166feaf678c2.tar.zst freebsd-ports-gnome-db1a5639b94594d75bda134399a2166feaf678c2.zip |
Add a patch to fix build problems on -CURRENT.
Submitted by: maintainer
Diffstat (limited to 'mail/py-milter')
-rw-r--r-- | mail/py-milter/files/patch-ab | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/py-milter/files/patch-ab b/mail/py-milter/files/patch-ab new file mode 100644 index 000000000000..c8d868bf8b41 --- /dev/null +++ b/mail/py-milter/files/patch-ab @@ -0,0 +1,28 @@ +--- miltermodule.c.orig Tue Jun 24 21:57:04 2003 ++++ miltermodule.c Wed Sep 24 15:30:04 2003 +@@ -110,6 +110,7 @@ + + #include <pthread.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <Python.h> + #include <libmilter/mfapi.h> + +@@ -503,7 +504,7 @@ + static PyObject * + makeip6addr(struct sockaddr_in6 *addr) { + char buf[100]; /* must be at least INET6_ADDRSTRLEN + 1 */ +- char * s; ++ const char * s; + s = inet_ntop(AF_INET6, &addr->sin6_addr, buf, sizeof(buf)); + if( s ) + return PyString_FromString(buf); +@@ -987,7 +988,7 @@ + static char milter_quarantine__doc__[] = + "quarantine(string) -> None\n\ + Place the message in quarantine. A string with a description of the reason\n\ +-is the only argument. ++is the only argument.\ + "; + + static PyObject * |