public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/afpfs-ng] epel10: fix #1507944 long options
@ 2026-11-06 15:37 Michal Ambroz
  0 siblings, 0 replies; only message in thread
From: Michal Ambroz @ 2026-11-06 15:37 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/afpfs-ng
Branch : epel10
Commit : e11a7718b1eb4a72f1262a509d6b00b7fd9e2953
Author : Michal Ambroz <rebus@seznam.cz>
Date   : 2021-03-12T03:43:11+00:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/afpfs-ng/c/e11a7718b1eb4a72f1262a509d6b00b7fd9e2953?branch=epel10

Log:
fix #1507944 long options

---
diff --git a/afpfs-ng-0.8.1-longoptions.patch b/afpfs-ng-0.8.1-longoptions.patch
new file mode 100644
index 0000000..883f095
--- /dev/null
+++ b/afpfs-ng-0.8.1-longoptions.patch
@@ -0,0 +1,11 @@
+diff -ru afpfs-ng-0.8.1.orig/cmdline/cmdline_main.c afpfs-ng-0.8.1.new/cmdline/cmdline_main.c
+--- afpfs-ng-0.8.1.orig/cmdline/cmdline_main.c	2008-02-19 01:54:53.000000000 +0000
++++ afpfs-ng-0.8.1.new/cmdline/cmdline_main.c	2021-03-12 03:28:59.315715841 +0000
+@@ -387,6 +387,7 @@
+ 
+ 	struct option long_options[] = {
+ 		{"recursive",1,0,'r'},
++	        {NULL,0,NULL,0}
+ 	};
+ 	char * url = argv[1];
+ 

diff --git a/afpfs-ng.spec b/afpfs-ng.spec
index 0730ce8..0aa244f 100644
--- a/afpfs-ng.spec
+++ b/afpfs-ng.spec
@@ -5,7 +5,7 @@
 
 Name:           afpfs-ng
 Version:        0.8.1
-Release:        33%{?dist}
+Release:        34%{?dist}
 Summary:        Apple Filing Protocol client
 
 License:        GPL+
@@ -15,6 +15,7 @@ Patch0:         afpfs-ng-0.8.1-overflows.patch
 Patch1:         afpfs-ng-0.8.1-pointer.patch
 # Sent by e-mail to Alex deVries <alexthepuffin@gmail.com>
 Patch2:         afpfs-ng-0.8.1-formatsec.patch
+Patch3:         afpfs-ng-0.8.1-longoptions.patch
 
 %{?!_without_fuse:BuildRequires: fuse-devel}
 BuildRequires:  gcc
@@ -51,6 +52,7 @@ Library for dynamic linking and header files of afpfs-ng.
 %patch0 -p1 -b .overflows
 %patch1 -p1 -b .pointer
 %patch2 -p1 -b .formatsec
+%patch3 -p1 -b .longoptions
 
 
 %build
@@ -103,6 +105,9 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
 
 
 %changelog
+* Fri Mar 12 2021 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-340
+- fix issue 1507944
+
 * Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-33
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-06 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 15:37 [rpms/afpfs-ng] epel10: fix #1507944 long options Michal Ambroz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox