Accepting request 727332 from home:iznogood:factory

Fix build with new glibc (staging A)

OBS-URL: https://build.opensuse.org/request/show/727332
OBS-URL: https://build.opensuse.org/package/show/Base:System/blog?expand=0&rev=35
This commit is contained in:
Marcus Meissner 2019-09-09 12:36:32 +00:00 committed by Git OBS Bridge
parent eda398a727
commit 66fdbd7c0e
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From 9e1deae58be4391d611c41d89733b5f2678d3212 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Thu, 8 Aug 2019 15:53:04 +0200
Subject: [PATCH] Remove unused header <stropts.h>
---
blogd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/blogd.c b/blogd.c
index c1179ec..3635d4f 100644
--- a/blogd.c
+++ b/blogd.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
-#include <stropts.h>
#include <dirent.h>
#include <fcntl.h>
#include <termios.h>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 30 19:45:55 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Add blog-Remove-unused-header.patch: Fix build with new glibc
(gh#bitstreamout/showconsole#3).
-------------------------------------------------------------------
Sat Apr 20 12:09:49 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -25,6 +25,9 @@ Group: System/Base
Url: https://github.com/bitstreamout/showconsole
Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz
Source1: blog-rpmlintrc
# PATCH-FIX-UPSTREAM blog-Remove-unused-header.patch -- Fix build with new glibc
Patch0: blog-Remove-unused-header.patch
BuildRequires: suse-module-tools
Requires(post): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -73,6 +76,7 @@ the LSB startproc command.
%prep
%setup -q -n showconsole-%version
%patch0 -p1
%build
make %{?_smp_mflags} CC="%__cc" \