You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
anubis: update to 4.3, fix build
This commit is contained in:
committed by
Herby Gillot
parent
8f79a200e1
commit
1cadd5d8de
+14
-7
@@ -1,9 +1,13 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup legacysupport 1.1
|
||||
|
||||
# _strndup
|
||||
legacysupport.newest_darwin_requires_legacy 10
|
||||
|
||||
name anubis
|
||||
version 4.2
|
||||
version 4.3
|
||||
revision 0
|
||||
categories mail
|
||||
license GPL-3
|
||||
@@ -16,21 +20,24 @@ long_description \
|
||||
rules, based on a highly configurable regular expressions system. It \
|
||||
operates as a proxy server, independently from mail user agents.
|
||||
homepage https://www.gnu.org/software/anubis
|
||||
platforms darwin
|
||||
|
||||
master_sites gnu
|
||||
|
||||
checksums rmd160 169b7b360b59ea47359dc37bd7f3cd99998d8ed5 \
|
||||
sha256 5f3a2dd77c5ef52a593428c5b6d0042c1746eb8262c31bde9ee67455f8aad6d6 \
|
||||
size 1623768
|
||||
checksums rmd160 4a061b3f809fd0277f88560618b0a47b85d97a13 \
|
||||
sha256 ff0af3337c462218e5ee244c7ef90188af9efdf095bc05b6333401cf9882af2c \
|
||||
size 1248000
|
||||
|
||||
depends_lib port:gdbm \
|
||||
port:gettext \
|
||||
port:libgsasl \
|
||||
port:libiconv
|
||||
|
||||
patchfiles patch-lib__obstack.c \
|
||||
patch-src-gdbm.c.diff
|
||||
# anustart.c:282: warning: implicit declaration of function ‘sigemptyset’
|
||||
patchfiles-append \
|
||||
patch-anustart.c.diff
|
||||
# mta.c:516: error: ‘u_char’ undeclared (first use in this function)
|
||||
patchfiles-append \
|
||||
patch-mta.c.diff
|
||||
|
||||
configure.args --infodir=${prefix}/share/info \
|
||||
--mandir=${prefix}/share/man \
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- tests/anustart.c.orig 2024-01-06 00:03:10.000000000 +0800
|
||||
+++ tests/anustart.c 2024-09-24 18:32:25.000000000 +0800
|
||||
@@ -64,6 +64,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
+#include <signal.h>
|
||||
|
||||
char const *progname;
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
--- lib/obstack.c.orig Tue Jan 4 19:24:07 2005
|
||||
+++ lib/obstack.c Tue Jan 4 19:24:27 2005
|
||||
@@ -103,12 +103,7 @@
|
||||
|
||||
/* Exit value used when `print_and_abort' is used. */
|
||||
# include <stdlib.h>
|
||||
-# ifdef _LIBC
|
||||
int obstack_exit_failure = EXIT_FAILURE;
|
||||
-# else
|
||||
-# include "exitfail.h"
|
||||
-# define obstack_exit_failure exit_failure
|
||||
-# endif
|
||||
|
||||
# ifdef _LIBC
|
||||
# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)
|
||||
@@ -0,0 +1,10 @@
|
||||
--- tests/mta.c.orig 2024-01-06 00:03:11.000000000 +0800
|
||||
+++ tests/mta.c 2024-09-24 18:34:35.000000000 +0800
|
||||
@@ -65,6 +65,7 @@
|
||||
#include <pwd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
--- src/gdbm.c.orig 2014-05-22 00:39:58.000000000 -0500
|
||||
+++ src/gdbm.c 2019-02-12 18:11:39.000000000 -0600
|
||||
@@ -208,11 +208,11 @@
|
||||
return rc;
|
||||
}
|
||||
|
||||
-const char *
|
||||
+/* const char *
|
||||
gdbm_db_strerror (void *d, int rc)
|
||||
{
|
||||
return gdbm_strerror (rc);
|
||||
-}
|
||||
+} */
|
||||
|
||||
void
|
||||
gdbm_db_init (void)
|
||||
Reference in New Issue
Block a user