[packages/eps] Rel 4

arekm arekm at pld-linux.org
Thu May 21 15:31:24 CEST 2026


commit c0314e4e463ef7df6169812440c8572123f55760
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 21 15:31:08 2026 +0200

    Rel 4

 eps-c99-inline.patch | 33 +++++++++++++++++++++++++++++++++
 eps.spec             |  4 +++-
 2 files changed, 36 insertions(+), 1 deletion(-)
---
diff --git a/eps.spec b/eps.spec
index d1829d3..351b89a 100644
--- a/eps.spec
+++ b/eps.spec
@@ -2,11 +2,12 @@ Summary:	Email Processing System
 Summary(pl.UTF-8):	System przetwarzania e-maili
 Name:		eps
 Version:	1.7
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://www.inter7.com/eps/%{name}-%{version}.tar.gz
 # Source0-md5:	55385a89db651207c4f8a3c49bd1f8e6
+Patch0:		%{name}-c99-inline.patch
 URL:		http://www.inter7.com/?page=eps
 BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,6 +51,7 @@ Statyczna biblioteka EPS.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %{__make} libeps.a \
diff --git a/eps-c99-inline.patch b/eps-c99-inline.patch
new file mode 100644
index 0000000..2445192
--- /dev/null
+++ b/eps-c99-inline.patch
@@ -0,0 +1,33 @@
+--- eps-1.7/rfc2822.h.orig	2008-03-03 00:00:00.000000000 +0100
++++ eps-1.7/rfc2822.h	2026-05-21 00:00:00.000000000 +0200
+@@ -3,8 +3,8 @@
+
+ #define MAX_LINE_LENGTH 1000
+
+-inline int rfc2822_is_wsp(unsigned char);
+-inline int rfc2822_is_sep(unsigned char);
++int rfc2822_is_wsp(unsigned char);
++int rfc2822_is_sep(unsigned char);
+ unsigned char *rfc2822_remove_comments(unsigned char *);
+ unsigned char *rfc2822_next_token(unsigned char *, unsigned char, unsigned char *);
+ unsigned char *rfc2822_convert_literals(unsigned char *);
+--- eps-1.7/rfc2822.c.orig	2008-03-03 00:00:00.000000000 +0100
++++ eps-1.7/rfc2822.c	2026-05-21 00:00:00.000000000 +0200
+@@ -3,7 +3,7 @@
+ #include <stdlib.h>
+ #include "eps.h"
+
+-inline int rfc2822_is_wsp(unsigned char c)
++int rfc2822_is_wsp(unsigned char c)
+ {
+   if ((c == ' ') || (c == '\t'))
+      return 1;
+@@ -11,7 +11,7 @@
+   return 0;
+ }
+
+-inline int rfc2822_is_sep(unsigned char c)
++int rfc2822_is_sep(unsigned char c)
+ {
+   if ((c == ' ') || (c == '\t') || (c == ';') ||
+       (c == ','))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eps.git/commitdiff/c0314e4e463ef7df6169812440c8572123f55760



More information about the pld-cvs-commit mailing list