summaryrefslogtreecommitdiff
path: root/pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch')
-rw-r--r--pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch b/pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch
deleted file mode 100644
index 93130cf7..00000000
--- a/pkg/msmtp/patch/0001-Remove-unnecessary-check-for-sizeof-long-long.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 40238cc120312dc1e70ac35e8c993d959c70438b Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Fri, 13 May 2016 23:01:44 -0700
-Subject: [PATCH] Remove unnecessary check for sizeof(long long)
-
-The C standard guarantees that its maximum value is at least 2^63 - 1.
----
- configure.ac | 1 -
- src/conf.c | 4 ----
- 2 files changed, 5 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 6b214b6..a2c4ef2 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -50,7 +50,6 @@ AC_CHECK_HEADERS([sysexits.h netdb.h arpa/inet.h sys/socket.h sys/wait.h netinet
- AC_CHECK_FUNCS([fmemopen fseeko fseeko64 getpass link signal strndup syslog vasprintf])
- AC_SEARCH_LIBS([nanosleep], [rt posix4])
- AC_SEARCH_LIBS([socket], [socket])
--AC_CHECK_SIZEOF([long long])
-
- dnl Unfortunately AC_SEARCH_LIBS([res_query], [resolv]) does not work because we
- dnl apparently need to include the appropriate header files, so we use a double
-diff --git a/src/conf.c b/src/conf.c
-index aedbd18..c92c088 100644
---- a/src/conf.c
-+++ b/src/conf.c
-@@ -36,10 +36,6 @@
- #include <ctype.h>
- #include <errno.h>
-
--#if (SIZEOF_LONG_LONG * CHAR_BIT) < 64
--# error "long long has fewer than 64 bits"
--#endif
--
- #include "gettext.h"
- #define _(string) gettext(string)
-
---
-2.27.0
-