diff options
author | crees <crees@FreeBSD.org> | 2012-04-14 23:49:42 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-04-14 23:49:42 +0800 |
commit | f588b4e15681c8bcd846989698d61150216dad94 (patch) | |
tree | 5e021917facbb196fe90f2c5e4a0303560c0a227 /mail/dma/files | |
parent | 19abd1696c84f909915b07e8e5e5c7d358b40837 (diff) | |
download | freebsd-ports-gnome-f588b4e15681c8bcd846989698d61150216dad94.tar.gz freebsd-ports-gnome-f588b4e15681c8bcd846989698d61150216dad94.tar.zst freebsd-ports-gnome-f588b4e15681c8bcd846989698d61150216dad94.zip |
Fix a couple of issues:
- Make compile with old and new openssl
- Do not try to call git to get the version number
- Fix compile on FreeBSD 8.1
- Change maintainer email address
PR: ports/165775
Submitted by: bz
Diffstat (limited to 'mail/dma/files')
-rw-r--r-- | mail/dma/files/patch-alias_scan.l | 15 | ||||
-rw-r--r-- | mail/dma/files/patch-crypto.c | 11 | ||||
-rw-r--r-- | mail/dma/files/patch-get-version.sh | 12 |
3 files changed, 34 insertions, 4 deletions
diff --git a/mail/dma/files/patch-alias_scan.l b/mail/dma/files/patch-alias_scan.l new file mode 100644 index 000000000000..748bd034e771 --- /dev/null +++ b/mail/dma/files/patch-alias_scan.l @@ -0,0 +1,15 @@ +! +! Work around bug in FreeBSD 8.1 due to missing fix for: +! bin/139319: [patch] flex(1): fix prototypes, esp. when YY_NO_INPUT is defined +! +--- aliases_scan.l.orig 2012-01-03 13:54:05.000000000 +0000 ++++ aliases_scan.l 2012-04-13 18:23:41.000000000 +0000 +@@ -3,8 +3,6 @@ + #include <string.h> + #include "aliases_parse.h" + +-#define YY_NO_INPUT +- + int yylex(void); + %} + diff --git a/mail/dma/files/patch-crypto.c b/mail/dma/files/patch-crypto.c index b4fe877a54cd..2d0e229f5547 100644 --- a/mail/dma/files/patch-crypto.c +++ b/mail/dma/files/patch-crypto.c @@ -1,11 +1,14 @@ ---- ./crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 -+++ ./crypto.c 2012-01-24 22:57:41.000000000 +0000 -@@ -80,7 +80,7 @@ +--- crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 ++++ crypto.c 2012-03-06 23:50:42.000000000 +0000 +@@ -80,7 +80,11 @@ int smtp_init_crypto(int fd, int feature) { SSL_CTX *ctx = NULL; -- const SSL_METHOD *meth = NULL; ++#if (OPENSSL_VERSION_NUMBER >= 0x00909000L) + const SSL_METHOD *meth = NULL; ++#else + SSL_METHOD *meth = NULL; ++#endif X509 *cert; int error; diff --git a/mail/dma/files/patch-get-version.sh b/mail/dma/files/patch-get-version.sh new file mode 100644 index 000000000000..858b013be099 --- /dev/null +++ b/mail/dma/files/patch-get-version.sh @@ -0,0 +1,12 @@ +--- get-version.sh.orig 2012-03-08 17:37:54.000000000 +0000 ++++ get-version.sh 2012-03-08 17:38:41.000000000 +0000 +@@ -1,9 +1,7 @@ + #!/bin/sh + +-gitver=$(git describe 2>/dev/null | tr - .) + filever=$(cat VERSION) + +-version=${gitver} + : ${version:=$filever} + + echo "$version" |