From 697ced45f08c8f1ec8032fd573fb08808ab9937e3f925687529140bf738d47aa Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 16 Jan 2015 16:57:08 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=197 --- bash.changes | 5 +++++ bash.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bash.changes b/bash.changes index 216bd1d..25a2b77 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 16 16:53:44 UTC 2015 - werner@suse.de + +- Remove -DMUST_UNBLOCK_CHLD(=1) as this breaks waitchild(2) on linux + ------------------------------------------------------------------- Fri Jan 9 13:11:03 UTC 2015 - werner@suse.de diff --git a/bash.spec b/bash.spec index 34a3570..d0afec7 100644 --- a/bash.spec +++ b/bash.spec @@ -422,17 +422,19 @@ pushd ../readline-%{rl_vers}%{extend} EOF CFLAGS="$RPM_OPT_FLAGS $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g" LDFLAGS="" + # + # Never ever put -DMUST_UNBLOCK_CHLD herein as this breaks bash + # cflags -Wuninitialized CFLAGS cflags -Wextra CFLAGS cflags -Wno-unprototyped-calls CFLAGS cflags -Wno-switch-enum CFLAGS cflags -Wno-unused-variable CFLAGS cflags -Wno-unused-parameter CFLAGS - cflags -Wno-parentheses CFLAGS + cflags -Wno-parentheses CFLAGS cflags -ftree-loop-linear CFLAGS cflags -pipe CFLAGS cflags -DBNC382214=0 CFLAGS - cflags -DMUST_UNBLOCK_CHLD=1 CFLAGS cflags -DIMPORT_FUNCTIONS_DEF=0 CFLAGS cflags -Wl,--as-needed LDFLAGS cflags -Wl,-O2 LDFLAGS