Accepting request 423266 from home:mnhauke:branches:Application:Geo
- Update gpsd.keyring (old key 8421F11C got superseeded by 8C6C738D) - Added "-std=gnu++98" to the compile-flags otherwise compilation will break on systems with >= gcc6 - ifdef "Requires: pps-tools-devel" since it's only available on recent os-versions - Update to version 3.16 * Test rebuilds for mid-2015 leapsecond bump. * Regression tests will run even if "python" in Python 3. * Build correctly on systems where -ltinfo is split from -lncurses. * Avoid some rare overflow conditions in PPS code. * Fix bugs in JSON sat-view parsing due to the JSON parser stuffing ints into shorts. * Various small fixes to AIS interpretation. * Prevent a memory leak in long-running gpsmon instances. * Fix Savannah bug #45270: serial driver does not work properly on pipes. * Fix Savannah bug #44648: GPSD won't build if CCFLAGS contains options that are only compatible with the cros1s-compiler. * Fix Savannah bug #45342: SConstruct generates wrong *.pc files. * Fix Savannah bug #46495: gpsd_poll may crash due to unitialized pointer (probably due to buggy FD_ISSET on host system). * Fix Savannah bug #46648: gpsd crashes and buffer overflow is reported when terminated. * Fix Savannah bug #46802: AIVDM to CSV is broken in some weird cases. * Fix Savannah bug #46804: JSON satellite view parsing is somewhat broken. 1 OBS-URL: https://build.opensuse.org/request/show/423266 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/gpsd?expand=0&rev=99
This commit is contained in:
committed by
Git OBS Bridge
parent
cb92f22c14
commit
0b3eca57fc
12
gpsd.spec
12
gpsd.spec
@@ -20,7 +20,7 @@
|
||||
%define libQgps libQgpsmm22
|
||||
%define _udevdir %(pkg-config --variable udevdir udev)
|
||||
Name: gpsd
|
||||
Version: 3.15
|
||||
Version: 3.16
|
||||
Release: 0
|
||||
Summary: Service daemon for mediating access to a GPS
|
||||
License: BSD-3-Clause
|
||||
@@ -45,7 +45,9 @@ BuildRequires: libcap-devel
|
||||
BuildRequires: libqt4-devel >= 4.5.3
|
||||
BuildRequires: libusb-1_0-devel
|
||||
BuildRequires: ncurses-devel
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
BuildRequires: pps-tools-devel
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: scons >= 2.0.1
|
||||
BuildRequires: update-desktop-files
|
||||
@@ -146,13 +148,13 @@ can run on a serial terminal or terminal emulator.
|
||||
sed -i 's|env.Prepend.*RPATH.*|pass #\0|' SConstruct
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
export CFLAGS="%{optflags} -fvisibility-inlines-hidden -std=gnu++98"
|
||||
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden -std=gnu++98"
|
||||
scons prefix=%{_prefix} libdir=%{_libdir} strip=False
|
||||
|
||||
%install
|
||||
export CFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
||||
export CFLAGS="%{optflags} -fvisibility-inlines-hidden -std=gnu++98"
|
||||
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden -std=gnu++98"
|
||||
DESTDIR=%{buildroot} scons prefix=%{_prefix} libdir=%{_libdir} strip=False install
|
||||
install -d -m 755 %{buildroot}%{_udevdir}
|
||||
install -d -m 755 %{buildroot}%{_udevdir}/rules.d
|
||||
|
Reference in New Issue
Block a user