[packages/compface] Rel 5

arekm arekm at pld-linux.org
Wed May 20 23:33:20 CEST 2026


commit 906fd301d38452d7767f87dd4bced9b4b4f2e3cc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 23:33:04 2026 +0200

    Rel 5

 compface-unistd.patch | 22 ++++++++++++++++++++++
 compface.spec         |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/compface.spec b/compface.spec
index fafe97d..486efe5 100644
--- a/compface.spec
+++ b/compface.spec
@@ -4,12 +4,13 @@ Summary:	Image from/to X-Face conversion utilities
 Summary(pl.UTF-8):	Narzędzia do konwersji obrazu z/do formatu X-Face
 Name:		compface
 Version:	1.5.2
-Release:	4
+Release:	5
 Epoch:		1
 License:	MIT
 Group:		Applications/Graphics
 Source0:	http://ftp.xemacs.org/pub/xemacs/aux/%{name}-%{version}.tar.gz
 # Source0-md5:	62f4f79c0861ad292ba3cf77b4c48319
+Patch0:		%{name}-unistd.patch
 URL:		http://freshmeat.sourceforge.net/projects/compface
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -47,6 +48,7 @@ dyskusyjne.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %{__libtoolize}
diff --git a/compface-unistd.patch b/compface-unistd.patch
new file mode 100644
index 0000000..eb0eb5c
--- /dev/null
+++ b/compface-unistd.patch
@@ -0,0 +1,22 @@
+diff -urN compface-1.5.2.orig/cmain.c compface-1.5.2/cmain.c
+--- compface-1.5.2.orig/cmain.c	2005-10-04 14:28:47.000000000 +0200
++++ compface-1.5.2/cmain.c	2026-05-20 22:17:04.289550406 +0200
+@@ -20,6 +20,7 @@
+ #endif
+ 
+ #include "compface.h"
++#include <unistd.h>
+ 
+ /* the buffer is longer than needed to handle sparse input formats */
+ #define FACEBUFLEN 2048
+diff -urN compface-1.5.2.orig/uncmain.c compface-1.5.2/uncmain.c
+--- compface-1.5.2.orig/uncmain.c	2005-10-04 14:28:47.000000000 +0200
++++ compface-1.5.2/uncmain.c	2026-05-20 22:17:04.291233652 +0200
+@@ -20,6 +20,7 @@
+ #endif
+ 
+ #include "compface.h"
++#include <unistd.h>
+ 
+ /* the buffer is longer than needed to handle sparse input formats */
+ #define FACEBUFLEN 2048
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/compface.git/commitdiff/906fd301d38452d7767f87dd4bced9b4b4f2e3cc



More information about the pld-cvs-commit mailing list