Hello community, here is the log from the commit of package whois for openSUSE:Factory checked in at 2014-12-09 09:14:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/whois (Old) and /work/SRC/openSUSE:Factory/.whois.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "whois" Changes: -------- --- /work/SRC/openSUSE:Factory/whois/whois.changes 2014-11-14 09:19:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.whois.new/whois.changes 2014-12-09 09:13:49.000000000 +0100 @@ -1,0 +2,7 @@ +Sat Dec 6 18:25:49 UTC 2014 - [email protected] + +- whois-nobsdsource.patch: get rid of warnings about + BSD_SOURCE deprecatation , just define GNU_SOURCE + globally instead of any other C library feature macro. + +------------------------------------------------------------------- New: ---- whois-nobsdsource.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ whois.spec ++++++ --- /var/tmp/diff_new_pack.9TCaXU/_old 2014-12-09 09:13:50.000000000 +0100 +++ /var/tmp/diff_new_pack.9TCaXU/_new 2014-12-09 09:13:50.000000000 +0100 @@ -44,6 +44,7 @@ %if 0%{?suse_version} <= 1140 BuildRequires: libxcrypt-devel %endif +Patch: whois-nobsdsource.patch %description This package provides a commandline client for the WHOIS (RFC 3912) @@ -61,6 +62,7 @@ echo "`grep -A1 "Checksums-Sha256" %{SOURCE3} | grep %{name}_%{version}.tar.xz | cut -d\ -f2` %{SOURCE0}" | sha256sum -c %setup -q +%patch -p1 %build make all mkpasswd HAVE_LIBIDN=1 HAVE_ICONV=1 %{?_smp_mflags} \ ++++++ whois-nobsdsource.patch ++++++ --- whois-5.2.2.orig/mkpasswd.c +++ whois-5.2.2/mkpasswd.c @@ -17,9 +17,6 @@ */ /* for crypt, snprintf and strcasecmp */ -#define _XOPEN_SOURCE 500 -#define _BSD_SOURCE 1 -#define __EXTENSIONS__ 1 /* System library */ #include <stdio.h> --- whois-5.2.2.orig/whois.c +++ whois-5.2.2/whois.c @@ -7,9 +7,6 @@ * (at your option) any later version. */ -/* for AI_IDN */ -#define _GNU_SOURCE - /* System library */ #include <stdio.h> #include <stdlib.h> --- whois-5.2.2.orig/Makefile +++ whois-5.2.2/Makefile @@ -53,7 +53,7 @@ endif mkpasswd_LDADD += -lcrypt endif -CPPFLAGS += $(DEFS) $(INCLUDES) +CPPFLAGS += -D_GNU_SOURCE $(DEFS) $(INCLUDES) ############################################################################## all: Makefile.depend whois mkpasswd pos -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
