hack around FTBFS on sparc
This commit is contained in:
parent
3e38970a63
commit
9fdda5cf94
12
ModemManager-0.4-hack_sparc_werror.patch
Normal file
12
ModemManager-0.4-hack_sparc_werror.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up ModemManager-0.4/src/mm-log.c.format ModemManager-0.4/src/mm-log.c
|
||||||
|
--- ModemManager-0.4/src/mm-log.c.format 2011-01-24 14:31:25.000000000 -0600
|
||||||
|
+++ ModemManager-0.4/src/mm-log.c 2011-02-25 08:03:00.315754971 -0600
|
||||||
|
@@ -88,7 +88,7 @@ _mm_log (const char *loc,
|
||||||
|
usecs += 1000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
- snprintf (&tsbuf[0], sizeof (tsbuf), " [%06ld.%06ld]", secs, usecs);
|
||||||
|
+ snprintf (&tsbuf[0], sizeof (tsbuf), " [%06ld.%06ld]", secs, (long) usecs);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((log_level & LOGL_DEBUG) && (level == LOGL_DEBUG))
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Mobile broadband modem management service
|
Summary: Mobile broadband modem management service
|
||||||
Name: ModemManager
|
Name: ModemManager
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
Release: 7%{snapshot}%{?dist}
|
Release: 7%{snapshot}%{?dist}.1
|
||||||
#
|
#
|
||||||
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
# Source from git://anongit.freedesktop.org/ModemManager/ModemManager
|
||||||
# tarball built with:
|
# tarball built with:
|
||||||
@ -29,6 +29,10 @@ BuildRequires: automake autoconf intltool libtool
|
|||||||
# for xsltproc
|
# for xsltproc
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
|
|
||||||
|
# HACK patch to workaround FTBFS on sparc, type mismatch where
|
||||||
|
# suseconds_t is int -- Rex
|
||||||
|
Patch1: ModemManager-0.4-hack_sparc_werror.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The ModemManager service provides a consistent API to operate many different
|
The ModemManager service provides a consistent API to operate many different
|
||||||
modems, including mobile broadband (3G) devices.
|
modems, including mobile broadband (3G) devices.
|
||||||
@ -36,6 +40,10 @@ modems, including mobile broadband (3G) devices.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%ifarch %{sparc}
|
||||||
|
%patch1 -p1 -b .hack_sparc_werror.patch
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
@ -89,6 +97,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_datadir}/dbus-1/interfaces/*.xml
|
%{_datadir}/dbus-1/interfaces/*.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 25 2011 Rex Dieter <rdieter@fedoraproejct.org> 0.4-7.git20110201.1
|
||||||
|
- hack around FTBFS on sparc
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7.git20110201
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7.git20110201
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user