Hello community, here is the log from the commit of package kismet for openSUSE:Factory checked in at Tue Jun 9 12:26:34 CEST 2009. -------- --- kismet/kismet.changes 2009-01-05 17:07:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/kismet/kismet.changes 2009-06-09 11:21:10.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 9 11:20:53 CEST 2009 - coolo@novell.com + +- fix build with glibc 2.10 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- kismet-2008-05-R1-glibc210.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kismet.spec ++++++ --- /var/tmp/diff_new_pack.A17234/_old 2009-06-09 12:26:10.000000000 +0200 +++ /var/tmp/diff_new_pack.A17234/_new 2009-06-09 12:26:10.000000000 +0200 @@ -22,7 +22,7 @@ BuildRequires: ImageMagick-devel gcc-c++ gmp-devel libpcap-devel wget wireshark-devel BuildRequires: libexpat-devel ncurses-devel Version: 2008_05_R1 -Release: 26 +Release: 27 %define realver 2008-05-R1 Requires: wget wireless-tools AutoReqProv: on @@ -36,6 +36,7 @@ Patch2: %{name}-%{realver}-makefile.diff Patch3: %{name}-%{realver}-crash.diff Patch4: %{name}-%{realver}-nonvoid.diff +Patch5: %{name}-%{realver}-glibc210.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,6 +63,7 @@ %patch2 %patch3 %patch4 +%patch5 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -Wall -fstack-protector -fno-strict-aliasing `ncurses5-config --cflags`" @@ -90,6 +92,8 @@ %{_bindir}/* %changelog +* Tue Jun 09 2009 coolo@novell.com +- fix build with glibc 2.10 * Mon Jan 05 2009 mseben@suse.cz - added libexpat-devel to BuildRequires (needed to build gpsmap) [bnc#462695] ++++++ kismet-2008-05-R1-glibc210.diff ++++++ Index: kismet-2008-05-R1/macaddr.h =================================================================== --- kismet-2008-05-R1.orig/macaddr.h +++ kismet-2008-05-R1/macaddr.h @@ -73,7 +73,7 @@ typedef struct mac_addr { longmac |= (uint64_t) bs_in[5] << ((MAC_LEN - 5 - 1) * 8); // If it has a mask component, get that - char *in_mask = strchr(in, '/'); + const char *in_mask = strchr(in, '/'); if (in_mask != NULL) { longmask = 0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org