Compare commits

1 Commits
main ... 1.1

3 changed files with 0 additions and 33 deletions

View File

@@ -1,24 +0,0 @@
Index: libESMTP-1.1.0/smtp-api.c
===================================================================
--- libESMTP-1.1.0.orig/smtp-api.c
+++ libESMTP-1.1.0/smtp-api.c
@@ -22,6 +22,7 @@
#include <config.h>
+#define _GNU_SOURCE
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
Index: libESMTP-1.1.0/smtp-tls.c
===================================================================
--- libESMTP-1.1.0.orig/smtp-tls.c
+++ libESMTP-1.1.0/smtp-tls.c
@@ -47,6 +47,7 @@
/* This stuff doesn't belong here */
/* vvvvvvvvvvv */
+#define _GNU_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

View File

@@ -1,10 +1,3 @@
-------------------------------------------------------------------
Wed Jul 10 14:41:09 UTC 2024 - Martin Jambor <mjambor@suse.com>
- Added libesmtp-c99.patch which adds a required feature macro
definition so that strlcpy function is properly declared in the
standard header file. [boo#1225800]
-------------------------------------------------------------------
Tue Dec 27 10:32:59 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>

View File

@@ -27,8 +27,6 @@ Group: Development/Libraries/C and C++
URL: https://libesmtp.github.io/
Source0: https://github.com/libesmtp/libESMTP/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: add_ntlm.patch
#PATCH-FIX-UPSTREAM libesmtp-c99.patch boo#1225800 mjambor@suse.cz
Patch1: libesmtp-c99.patch
BuildRequires: libtool
BuildRequires: meson >= 0.50.0
BuildRequires: openssl-devel >= 1.1.0