SHA256
1
0
forked from pool/rtorrent

put upstream reference together with the patch

OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=9
This commit is contained in:
Jan Engelhardt 2022-06-22 08:28:55 +00:00 committed by Git OBS Bridge
parent 92d9c6e18d
commit bb80c34131
2 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,7 @@ From 954bfb70f24578ef33b1f77cf1a3d64fc2f2f595 Mon Sep 17 00:00:00 2001
From: Aleksa Sarai <cyphar@cyphar.com> From: Aleksa Sarai <cyphar@cyphar.com>
Date: Mon, 20 Jun 2022 19:09:57 +1000 Date: Mon, 20 Jun 2022 19:09:57 +1000
Subject: [PATCH] utils: lockfile: avoid stack overflow for lockfile buffer Subject: [PATCH] utils: lockfile: avoid stack overflow for lockfile buffer
References: https://github.com/rakshasa/rtorrent/pull/1169
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
--- ---

View File

@ -1,7 +1,7 @@
# #
# spec file for package rtorrent # spec file for package rtorrent
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -29,7 +29,6 @@ Source2: rtorrent.desktop
# This manpage copied from the 0.9.2 tarball as it was missing in later versions # This manpage copied from the 0.9.2 tarball as it was missing in later versions
Source3: rtorrent.1 Source3: rtorrent.1
Source4: rtorrent.service Source4: rtorrent.service
# FIX-UPSTREAM: Backport of <https://github.com/rakshasa/rtorrent/pull/1169>.
Patch1: 0001-utils-lockfile-avoid-stack-overflow-for-lockfile-buf.patch Patch1: 0001-utils-lockfile-avoid-stack-overflow-for-lockfile-buf.patch
BuildRequires: automake BuildRequires: automake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -49,8 +48,7 @@ background using screen. It supports fast-resume and session
management. management.
%prep %prep
%setup -q %autosetup -p1
%patch1 -p1
%build %build
# It's full of type pun violations # It's full of type pun violations