Add patch to fix STL assets with gcc 8
This commit is contained in:
parent
fff2b55b8f
commit
6ff4d3242e
|
@ -0,0 +1,38 @@
|
|||
--- ./sbuild/sbuild-util.cc.orig 2018-05-05 12:39:09.706894741 -0400
|
||||
+++ ./sbuild/sbuild-util.cc 2018-05-05 12:41:46.963886076 -0400
|
||||
@@ -631,7 +631,7 @@ sbuild::passwd::query_uid (uid_t uid)
|
||||
::passwd *pwd_result;
|
||||
|
||||
while ((error = getpwuid_r(uid, this,
|
||||
- &buffer[0], buffer.capacity(),
|
||||
+ buffer.data(), buffer.capacity(),
|
||||
&pwd_result)))
|
||||
{
|
||||
size <<= 1;
|
||||
@@ -654,7 +654,7 @@ sbuild::passwd::query_name (const char *
|
||||
::passwd *pwd_result;
|
||||
|
||||
while ((error = getpwnam_r(name, this,
|
||||
- &buffer[0], buffer.capacity(),
|
||||
+ buffer.data(), buffer.capacity(),
|
||||
&pwd_result)))
|
||||
{
|
||||
size <<= 1;
|
||||
@@ -740,7 +740,7 @@ sbuild::group::query_gid (gid_t gid)
|
||||
::group *grp_result;
|
||||
|
||||
while ((error = getgrgid_r(gid, this,
|
||||
- &buffer[0], buffer.capacity(),
|
||||
+ buffer.data(), buffer.capacity(),
|
||||
&grp_result)))
|
||||
{
|
||||
size <<= 1;
|
||||
@@ -763,7 +763,7 @@ sbuild::group::query_name (const char *n
|
||||
::group *grp_result;
|
||||
|
||||
while ((error = getgrnam_r(name, this,
|
||||
- &buffer[0], buffer.capacity(),
|
||||
+ buffer.data(), buffer.capacity(),
|
||||
&grp_result)))
|
||||
{
|
||||
size <<= 1;
|
|
@ -1,6 +1,6 @@
|
|||
Name: schroot
|
||||
Version: 1.6.10
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Execute commands in a chroot environment
|
||||
Group: Development/Tools
|
||||
License: GPLv3+
|
||||
|
@ -11,6 +11,7 @@ Source2: schroot.default
|
|||
Patch0: schroot-pam.patch
|
||||
Patch1: schroot-default-config-path.patch
|
||||
#Patch2: schroot-test-sbuild-util-path.patch
|
||||
Patch3: schroot-gcc8-assert-fix.patch
|
||||
|
||||
#Debian patches
|
||||
Patch10: Add-support-for-more-compression-formats.patch
|
||||
|
@ -77,6 +78,7 @@ more functionality.
|
|||
|
||||
%patch0 -p0
|
||||
%patch1 -p0
|
||||
%patch3 -p1 -b .gcc8
|
||||
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
@ -196,6 +198,9 @@ popd
|
|||
%{_sysconfdir}/default/schroot
|
||||
|
||||
%changelog
|
||||
* Wed May 09 2018 Sérgio Basto <sergio@serjux.com> - 1.6.10-2
|
||||
- Add patch to fix STL assets with gcc 8
|
||||
|
||||
* Wed May 02 2018 Sérgio Basto <sergio@serjux.com> - 1.6.10-1
|
||||
- Update to 1.6.10
|
||||
- Add from Debian package, BRs, patches and config files
|
||||
|
|
Loading…
Reference in New Issue