public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Ambroz <rebus@seznam.cz>
To: git-commits@fedoraproject.org
Subject: [rpms/afpfs-ng] epel10: fix #1507944 long options
Date: Fri, 06 Nov 2026 15:37:12 GMT	[thread overview]
Message-ID: <179397943273.1.13000514385170596774.rpms-afpfs-ng-e11a7718b1eb@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-06 15:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179397943273.1.13000514385170596774.rpms-afpfs-ng-e11a7718b1eb@fedoraproject.org \
    --to=rebus@seznam.cz \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox