mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 10:23:04 +00:00
fix GTK2 rpmbuild error
This commit is contained in:
parent
02ca428a92
commit
7f02ef849c
2 changed files with 15 additions and 1 deletions
11
rpm-5.3.8-rpmsq-ignored-signal-return-value.patch
Normal file
11
rpm-5.3.8-rpmsq-ignored-signal-return-value.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- rpm-5.3.12/rpmio/rpmsq.c.old 2009-03-07 16:38:10.000000000 +0300
|
||||
+++ rpm-5.3.12/rpmio/rpmsq.c 2011-08-07 11:06:23.363291460 +0400
|
||||
@@ -443,7 +443,7 @@
|
||||
int tblsignum = (signum >= 0 ? signum : -signum);
|
||||
struct sigaction sa;
|
||||
rpmsig tbl;
|
||||
- int ret = -1;
|
||||
+ int ret = (signum >= 0 ? 1 : 0);
|
||||
int xx;
|
||||
|
||||
xx = DO_LOCK ();
|
5
rpm.spec
5
rpm.spec
|
@ -52,7 +52,7 @@
|
|||
Summary: The RPM package management system
|
||||
Name: rpm
|
||||
Version: %{libver}.%{minorver}
|
||||
Release: %{?prereldate:0.%{prereldate}.}6
|
||||
Release: %{?prereldate:0.%{prereldate}.}7
|
||||
Epoch: 1
|
||||
Group: System/Configuration/Packaging
|
||||
URL: http://rpm5.org/
|
||||
|
@ -96,6 +96,9 @@ Patch23: rpm-5.3.12-fix-verify-segfault.patch
|
|||
Patch24: rpm-5.3.12-cve-2012-0815,0060,0061.patch
|
||||
Patch25: rpm-5.3.12.vendor.ROSA.patch
|
||||
|
||||
#Fix error in rpmbuild in GTK2-based terminals
|
||||
Patch26: rpm-5.3.8-rpmsq-ignored-signal-return-value.patch
|
||||
|
||||
License: LGPLv2.1+
|
||||
BuildRequires: autoconf >= 2.57 bzip2-devel automake >= 1.8 elfutils-devel
|
||||
BuildRequires: sed >= 4.0.3 beecrypt-devel ed gettext-devel byacc
|
||||
|
|
Loading…
Add table
Reference in a new issue