aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-greylist/files
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2013-03-20 16:12:04 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2013-03-20 16:12:04 +0000
commit30cfeb0928314f54593703e8e787dd0522242530 (patch)
tree11e513a78dd3b6c4bc61488fc7329064c57c33b9 /mail/milter-greylist/files
parentff7194c8a98c9a0a06b87bb91077aa7094c38d3b (diff)
downloadports-30cfeb0928314f54593703e8e787dd0522242530.tar.gz
ports-30cfeb0928314f54593703e8e787dd0522242530.zip
Notes
Diffstat (limited to 'mail/milter-greylist/files')
-rw-r--r--mail/milter-greylist/files/patch-configure10
-rw-r--r--mail/milter-greylist/files/patch-sync.c17
2 files changed, 23 insertions, 4 deletions
diff --git a/mail/milter-greylist/files/patch-configure b/mail/milter-greylist/files/patch-configure
index 300a175910e6..0632147b1c3f 100644
--- a/mail/milter-greylist/files/patch-configure
+++ b/mail/milter-greylist/files/patch-configure
@@ -1,9 +1,11 @@
---- configure.orig 2010-07-12 08:27:51.000000000 +0400
-+++ configure 2010-08-05 05:18:10.000000000 +0400
-@@ -4978,7 +4978,7 @@
+Index: configure
+diff -u configure.orig configure
+--- configure.orig 2013-03-07 22:26:11.000000000 +0900
++++ configure 2013-03-14 15:35:15.476674058 +0900
+@@ -5899,7 +5899,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
- if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
+ if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
- LIBS="$LIBS -lpthread"
+ true; #LIBS="$LIBS -lpthread"
else
diff --git a/mail/milter-greylist/files/patch-sync.c b/mail/milter-greylist/files/patch-sync.c
new file mode 100644
index 000000000000..52917a93d391
--- /dev/null
+++ b/mail/milter-greylist/files/patch-sync.c
@@ -0,0 +1,17 @@
+Index: sync.c
+diff -u -p sync.c.orig sync.c
+--- sync.c.orig 2010-04-17 12:19:02.000000000 +0900
++++ sync.c 2013-03-14 14:57:39.284674283 +0900
+@@ -478,7 +478,11 @@ peer_connect(peer) /* peer list is read-
+ #ifdef AF_INET6
+ case AF_INET6:
+ SA6(res->ai_addr)->sin6_port = service;
+- laddrstr = "::";
++ if (conf.c_syncsrcaddr != NULL) {
++ laddrstr = conf.c_syncsrcaddr;
++ } else {
++ laddrstr = "::";
++ }
+ break;
+ #endif
+ default: