From 591ac343bd6942898e53cc7f7aef6b6c63b28a77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 19 Aug 2010 06:14:58 +0000 Subject: [PATCH] - fix for make 3.82 Changed files: glibc-newmake.patch -> 1.1 glibc.spec -> 1.879 --- glibc-newmake.patch | 28 ++++++++++++++++++++++++++++ glibc.spec | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 glibc-newmake.patch diff --git a/glibc-newmake.patch b/glibc-newmake.patch new file mode 100644 index 0000000..56b0675 --- /dev/null +++ b/glibc-newmake.patch @@ -0,0 +1,28 @@ +Submitted By: Matt Burgess +Date: 2010-07-26 +Initial Package Version: 2.11.2 +Upstream Status: Not submitted +Origin: Denis Onischenko + (http://www.mail-archive.com/help-make@gnu.org/msg08847.html) +Description: Fixes an incompatibility with Make-3.82. + +diff -Naur glibc-2.11.2.orig/manual/Makefile glibc-2.11.2/manual/Makefile +--- glibc-2.11.2.orig/manual/Makefile 2010-05-19 20:38:20.000000000 +0000 ++++ glibc-2.11.2/manual/Makefile 2010-07-26 06:51:27.049899308 +0000 +@@ -232,9 +232,13 @@ + .PHONY: stubs + stubs: $(objpfx)stubs + endif +-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%: +- $(make-target-directory) +- touch $@ ++$(objpfx)stubs ../po/manual.pot: ++ $(make-target-directory) ++ touch $@ ++ ++$(objpfx)stamp%: ++ $(make-target-directory) ++ touch $@ + + # Make the target directory if it doesn't exist, using the `mkinstalldirs' + # script that does `mkdir -p' even if `mkdir' doesn't support that flag. diff --git a/glibc.spec b/glibc.spec index a4a01dc..c32d95b 100644 --- a/glibc.spec +++ b/glibc.spec @@ -76,6 +76,7 @@ Patch26: %{name}-posix-sh.patch Patch27: %{name}-i686.patch Patch29: %{name}-arm-alignment-fix.patch Patch30: %{name}-static-glro-init.patch +Patch31: %{name}-newmake.patch URL: http://www.gnu.org/software/libc/ %{?with_selinux:BuildRequires: audit-libs-devel} BuildRequires: autoconf @@ -922,6 +923,7 @@ mv %{name}-ports-%{ports_version} ports %patch27 -p1 %patch29 -p1 %patch30 -p1 +%patch31 -p1 # cleanup backups after patching find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f -- 2.44.0