# HG changeset patch # User Michael Schloh von Bennewitz # Date 1346781274 -7200 # Node ID fd4ca8d3da2a6aa499bb0953370aa7ee121b74c0 # Parent 22841d168ea4e38ce05eeab89b2e6fce1bf78577 Commit a hack that only repairs Linux builds and leaves SVR5 builds flawed. This change forcibly (with a substitution) disables use of gettext(3). diff -r 22841d168ea4 -r fd4ca8d3da2a whois/whois.spec --- a/whois/whois.spec Tue Sep 04 19:52:27 2012 +0200 +++ b/whois/whois.spec Tue Sep 04 19:54:34 2012 +0200 @@ -32,7 +32,7 @@ Group: WHOIS License: GPL Version: 5.0.14 -Release: 20111226 +Release: 20120800 # list of sources Source0: http://ftp.debian.org/debian/pool/main/w/whois/whois_%{version}.tar.gz @@ -55,6 +55,8 @@ %setup -q %{l_shtool} subst \ -e 's;^OPTS[ ]*:*=.*$;OPTS=;' \ + -e 's;^\(install:.*\)install-pos;\1;' \ + -e 's;^\(all:.*\)pos;\1;' \ Makefile %build @@ -74,7 +76,7 @@ ;; esac - %{l_make} %{l_mflags} \ + %{l_make} %{l_mflags -O} \ CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ LDFLAGS="$ldflags"