[packages/libMachShims] Rel .2
arekm
arekm at pld-linux.org
Tue Mar 10 01:20:12 CET 2026
commit 0c26fb8ef9d3531d8fc37987fd0bb2244c370a0b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 10 01:20:07 2026 +0100
Rel .2
build-source-list.patch | 5 +++++
libMachShims.spec | 8 +++++++-
time-header-compat.patch | 12 ++++++++++++
use-env-cflags.patch | 5 +++++
4 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/libMachShims.spec b/libMachShims.spec
index 7498237..fa730b0 100644
--- a/libMachShims.spec
+++ b/libMachShims.spec
@@ -3,13 +3,16 @@ Summary(pl.UTF-8): Przejściówki do typów danych i funkcji systemu Mach
Name: libMachShims
Version: 0
%define subver svn20
-Release: 0.%{subver}.1
+Release: 0.%{subver}.2
License: Apache v2.0
Group: Libraries
# svn co svn://mark.heily.com/libMachShims
Source0: %{name}.tar.xz
# Source0-md5: 37e5d017c28e0487d24462c73550f351
Patch0: %{name}-headers.patch
+Patch1: build-source-list.patch
+Patch2: time-header-compat.patch
+Patch3: use-env-cflags.patch
URL: http://mark.heily.com/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,6 +49,9 @@ Statyczna biblioteka libMachShims.
%prep
%setup -q -n %{name}
%patch -P0 -p1
+%patch -P1 -p1
+%patch -P2 -p1
+%patch -P3 -p1
%build
# NOTE: not autoconf configure
diff --git a/build-source-list.patch b/build-source-list.patch
new file mode 100644
index 0000000..9ef9f57
--- /dev/null
+++ b/build-source-list.patch
@@ -0,0 +1,5 @@
+--- libMachShims/config.yaml.orig 2013-09-21 12:50:19.000000000 +0200
++++ libMachShims/config.yaml 2026-03-10 10:00:00.000000000 +0100
+@@ -9 +9 @@
+- sources: [ ]
++ sources: [ 'src/error.c' ]
diff --git a/time-header-compat.patch b/time-header-compat.patch
new file mode 100644
index 0000000..6d539ac
--- /dev/null
+++ b/time-header-compat.patch
@@ -0,0 +1,12 @@
+--- libMachShims/src/error.c.orig 2013-09-21 12:50:19.000000000 +0200
++++ libMachShims/src/error.c 2026-03-10 10:00:00.000000000 +0100
+@@ -19,7 +19,8 @@
+ * @APPLE_APACHE_LICENSE_HEADER_END@
+ */
+
+-#include <mach/mach_time.h>
++#include <stdint.h>
++#include <time.h>
+
+ uint64_t
+ mach_absolute_time(void)
diff --git a/use-env-cflags.patch b/use-env-cflags.patch
new file mode 100644
index 0000000..e37455c
--- /dev/null
+++ b/use-env-cflags.patch
@@ -0,0 +1,5 @@
+--- libMachShims/config.yaml.orig 2013-09-21 12:50:19.000000000 +0200
++++ libMachShims/config.yaml 2026-03-10 10:00:00.000000000 +0100
+@@ -7 +7 @@
+- cflags: '-Iinclude -D_GNU_SOURCE=1'
++ cflags: '$(CFLAGS) -Iinclude -D_GNU_SOURCE=1'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libMachShims.git/commitdiff/0c26fb8ef9d3531d8fc37987fd0bb2244c370a0b
More information about the pld-cvs-commit
mailing list