[packages/libevocosm] Rel 4

arekm arekm at pld-linux.org
Tue Mar 10 15:36:09 CET 2026


commit 2e43e35ab41c12c71672115c741a333b7c5a1f52
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 10 15:36:04 2026 +0100

    Rel 4

 libevocosm.spec              |  4 +++-
 missing-unistd-include.patch | 12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libevocosm.spec b/libevocosm.spec
index 5195ac3..e1560cd 100644
--- a/libevocosm.spec
+++ b/libevocosm.spec
@@ -1,12 +1,13 @@
 Summary:	A C++ Framework for Evolutionary Computing
 Name:		libevocosm
 Version:	3.3.1
-Release:	3
+Release:	4
 License:	GPL
 Group:		Libraries
 URL:		http://www.coyotegulch.com/products/libcoyotl/index.html
 Source0:	http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz
 # Source0-md5:	9975e9375aaf6a9365f62ceca58518ea
+Patch0:		missing-unistd-include.patch
 BuildRequires:	libbrahe-devel
 BuildRequires:	libcoyotl-devel = 3.1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,6 +34,7 @@ libevocosm static libraries.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %configure
diff --git a/missing-unistd-include.patch b/missing-unistd-include.patch
new file mode 100644
index 0000000..6701545
--- /dev/null
+++ b/missing-unistd-include.patch
@@ -0,0 +1,12 @@
+--- libevocosm-3.3.1/libevocosm/evocommon.h.orig	2008-04-09 16:45:17.000000000 +0200
++++ libevocosm-3.3.1/libevocosm/evocommon.h	2026-03-10 13:48:00.000000000 +0100
+@@ -47,6 +47,9 @@
+ #include <iostream>
+ #include <iomanip>
+ 
++#if !defined(_MSC_VER)
++#include <unistd.h>
++#endif
+ // Windows
+ #if defined(_MSC_VER)
+ #include "windows.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libevocosm.git/commitdiff/2e43e35ab41c12c71672115c741a333b7c5a1f52



More information about the pld-cvs-commit mailing list