[packages/libmal] Rel 7
arekm
arekm at pld-linux.org
Sun Mar 15 02:15:17 CET 2026
commit baa7ebaef5df9b4386a535e85179f99ae8cc73d7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 02:14:58 2026 +0100
Rel 7
libmal-c99.patch | 12 ++++++++++++
libmal.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/libmal.spec b/libmal.spec
index 55d5215..607efec 100644
--- a/libmal.spec
+++ b/libmal.spec
@@ -2,12 +2,13 @@ Summary: A library with the functions for malsync distribution
Summary(pl.UTF-8): Biblioteka funkcji dla dystrybucji malsync
Name: libmal
Version: 0.44
-Release: 6
+Release: 7
License: MPL
Group: Libraries
Source0: http://jasonday.home.att.net/code/%{name}/%{name}-%{version}.tar.gz
# Source0-md5: 826f2334c8eb24f5e170f208581fdffb
Patch0: %{name}-lib64.patch
+Patch1: %{name}-c99.patch
URL: http://jasonday.home.att.net/code/libmal/
BuildRequires: autoconf
BuildRequires: automake
@@ -53,6 +54,7 @@ Statyczna biblioteka libmal.
%prep
%setup -q
%patch -P0
+%patch -P1
%build
%{__libtoolize}
diff --git a/libmal-c99.patch b/libmal-c99.patch
new file mode 100644
index 0000000..981f3f7
--- /dev/null
+++ b/libmal-c99.patch
@@ -0,0 +1,12 @@
+--- configure.in.orig 2003-03-22 19:37:22.000000000 +0100
++++ configure.in 2024-01-01 00:00:00.000000000 +0100
+@@ -105,7 +105,8 @@
+ LIBS="$LIBS $PILOT_LIBS"
+
+ dnl *** check for pi-version.h
+-AC_TRY_COMPILE([#include <pi-version.h>], [
++AC_TRY_COMPILE([#include <stdlib.h>
++#include <pi-version.h>], [
+ exit(0);
+ ], ,
+ AC_MSG_ERROR([pilot-link header pi-version.h not found])
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmal.git/commitdiff/baa7ebaef5df9b4386a535e85179f99ae8cc73d7
More information about the pld-cvs-commit
mailing list