[gettext] stdio.in.h is also in libgettextpo

Jens Petersen petersen at fedoraproject.org
Fri Jul 27 15:28:56 UTC 2012


commit 42f60e11015924b1d7e67ac43af2622f69b66440
Author: Jens Petersen <petersen at redhat.com>
Date:   Sat Jul 28 00:28:46 2012 +0900

    stdio.in.h is also in libgettextpo

 gettext.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gettext.spec b/gettext.spec
index 92bd4a2..065e30a 100644
--- a/gettext.spec
+++ b/gettext.spec
@@ -140,11 +140,11 @@ Emacs.
 %patch2 -p1 -b .crash
 
 # patch gnulib for deprecated gets()
-cd gettext-runtime
-%patch3 -p0 -b .gets
-cd ../gettext-tools
-%patch3 -p0 -b .gets
-cd ..
+for i in $(find -name stdio.in.h); do
+cd $(dirname $i)
+%patch3 -p1 -b .gets
+cd -
+done
 
 
 %build


More information about the scm-commits mailing list