[packages/netatalk] Rel 4
arekm
arekm at pld-linux.org
Mon Nov 24 20:38:36 CET 2025
commit 406baca7c468ccce850fa0fde8a0e5263325a67c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Nov 24 20:38:32 2025 +0100
Rel 4
build.patch | 32 ++++++++++++++++++++++++++++++++
netatalk.spec | 4 +++-
2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/netatalk.spec b/netatalk.spec
index f7059b1..6178416 100644
--- a/netatalk.spec
+++ b/netatalk.spec
@@ -10,7 +10,7 @@ Summary: Netatalk AFP fileserver for Apple clients
Summary(pl.UTF-8): Netatalk - serwer plików AFP dla klientów Apple
Name: netatalk
Version: 3.1.13
-Release: 3
+Release: 4
Epoch: 2
License: GPL v2+ (with BSD parts)
Group: Daemons
@@ -20,6 +20,7 @@ Source1: %{name}.init
Source2: %{name}.pamd
Source3: %{name}.sysconfig
Source4: ICDumpSuffixMap
+Patch0: build.patch
URL: http://www.umich.edu/~rsug/netatalk/
BuildRequires: acl-devel
BuildRequires: attr-devel
@@ -129,6 +130,7 @@ Statyczna biblioteka Netatalk.
%prep
%setup -q
+%patch -P0 -p1
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
contrib/shell_utils/afpstats
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..ba2e487
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,32 @@
+--- netatalk-3.1.13/macros/largefile-check.m4~ 2014-12-11 12:26:32.000000000 +0100
++++ netatalk-3.1.13/macros/largefile-check.m4 2025-11-24 20:27:18.292210219 +0100
+@@ -60,7 +60,7 @@ if test "$enable_largefile" != no; then
+ AC_TRY_RUN([#include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/stat.h>
+-main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
++int main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
+ netatalk_cv_SIZEOF_OFF_T=yes,netatalk_cv_SIZEOF_OFF_T=no,netatalk_cv_SIZEOF_OFF_T=cross)])
+
+ AC_MSG_CHECKING([if large file support is available])
+--- netatalk-3.1.13/libatalk/adouble/ad_flush.c~ 2022-03-22 05:50:23.000000000 +0100
++++ netatalk-3.1.13/libatalk/adouble/ad_flush.c 2025-11-24 20:31:30.184880695 +0100
+@@ -39,6 +39,7 @@
+ #include <atalk/bstradd.h>
+ #include <atalk/errchk.h>
+ #include <atalk/util.h>
++#include <atalk/unix.h>
+
+ #include "ad_lock.h"
+
+--- netatalk-3.1.13/etc/afpd/afp_dsi.c~ 2022-03-21 16:56:11.000000000 +0100
++++ netatalk-3.1.13/etc/afpd/afp_dsi.c 2025-11-24 20:36:42.368844736 +0100
+@@ -460,7 +460,7 @@ void afp_over_dsi(AFPObj *obj)
+
+ AFPobj = obj;
+ obj->exit = afp_dsi_die;
+- obj->reply = (int (*)()) dsi_cmdreply;
++ obj->reply = (int (*)(void *, int)) dsi_cmdreply;
+ obj->attention = (int (*)(void *, AFPUserBytes)) dsi_attention;
+ dsi->tickle = 0;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netatalk.git/commitdiff/406baca7c468ccce850fa0fde8a0e5263325a67c
More information about the pld-cvs-commit
mailing list