Accepting request 1186629 from server:mail
OBS-URL: https://build.opensuse.org/request/show/1186629 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libesmtp?expand=0&rev=24
This commit is contained in:
commit
0a57113c64
24
libesmtp-c99.patch
Normal file
24
libesmtp-c99.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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>
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Dec 27 10:32:59 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://libesmtp.github.io/
|
URL: https://libesmtp.github.io/
|
||||||
Source0: https://github.com/libesmtp/libESMTP/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libesmtp/libESMTP/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Patch0: add_ntlm.patch
|
Patch0: add_ntlm.patch
|
||||||
|
#PATCH-FIX-UPSTREAM libesmtp-c99.patch boo#1225800 mjambor@suse.cz
|
||||||
|
Patch1: libesmtp-c99.patch
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: meson >= 0.50.0
|
BuildRequires: meson >= 0.50.0
|
||||||
BuildRequires: openssl-devel >= 1.1.0
|
BuildRequires: openssl-devel >= 1.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user