[ModemManager] Update to 0.5-beta4
Daniel Williams
dcbw at fedoraproject.org
Wed Jul 6 23:06:09 UTC 2011
commit 9e4daf8fa83470bad0f7838b52ccb7471727d3d0
Author: Dan Williams <dcbw at redhat.com>
Date: Wed Jul 6 18:09:17 2011 -0500
Update to 0.5-beta4
ModemManager.spec | 4 ++++
buildsys-hates-openpty.patch | 12 ++++++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/ModemManager.spec b/ModemManager.spec
index 48a2306..1a410c8 100644
--- a/ModemManager.spec
+++ b/ModemManager.spec
@@ -28,6 +28,8 @@ BuildRequires: automake autoconf intltool libtool
# for xsltproc
BuildRequires: libxslt
+Patch0: buildsys-hates-openpty.patch
+
# HACK patch to workaround FTBFS on sparc, type mismatch where
# suseconds_t is int -- Rex
Patch1: ModemManager-0.4-hack_sparc_werror.patch
@@ -38,10 +40,12 @@ modems, including mobile broadband (3G) devices.
%prep
%setup -q
+%patch0 -p1 -b .pty
%patch1 -p1 -b .hack_sparc_werror.patch
%build
+autoreconf -i
%configure \
--enable-more-warnings=yes \
--with-udev-base-dir=/lib/udev \
diff --git a/buildsys-hates-openpty.patch b/buildsys-hates-openpty.patch
new file mode 100644
index 0000000..39a4292
--- /dev/null
+++ b/buildsys-hates-openpty.patch
@@ -0,0 +1,12 @@
+diff -up ModemManager-0.4.998/src/tests/Makefile.am.foo ModemManager-0.4.998/src/tests/Makefile.am
+--- ModemManager-0.4.998/src/tests/Makefile.am.foo 2011-07-06 17:59:53.711343366 -0500
++++ ModemManager-0.4.998/src/tests/Makefile.am 2011-07-06 18:00:08.971152593 -0500
+@@ -45,7 +45,6 @@ if WITH_TESTS
+ check-local: test-modem-helpers
+ $(abs_builddir)/test-modem-helpers
+ $(abs_builddir)/test-charsets
+- $(abs_builddir)/test-qcdm-serial-port
+
+ endif
+
+
More information about the scm-commits
mailing list