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:
parent
92d9c6e18d
commit
bb80c34131
@ -2,6 +2,7 @@ From 954bfb70f24578ef33b1f77cf1a3d64fc2f2f595 Mon Sep 17 00:00:00 2001
|
||||
From: Aleksa Sarai <cyphar@cyphar.com>
|
||||
Date: Mon, 20 Jun 2022 19:09:57 +1000
|
||||
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>
|
||||
---
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
Source3: rtorrent.1
|
||||
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
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
@ -49,8 +48,7 @@ background using screen. It supports fast-resume and session
|
||||
management.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
# It's full of type pun violations
|
||||
|
Loading…
Reference in New Issue
Block a user