[Pkg-voip-commits] [kamailio] 01/02: upstream patch for mips FTBFS ( Closes: #804749 )

Victor Seva Lopez maniac-guest at moszumanska.debian.org
Wed Nov 11 10:10:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

maniac-guest pushed a commit to branch master
in repository kamailio.

commit c615681c4450df75aa2184331bc640e725777816
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Wed Nov 11 09:20:21 2015 +0100

    upstream patch for mips FTBFS ( Closes: #804749 )
---
 debian/patches/series                              |  1 +
 ...fs-gcc-5.2-option-mfp32-is-required-by-ma.patch | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 93e372f..90a9f3b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -27,6 +27,7 @@ upstream/0027-nathelper-consider-IPv6-brackets-when-checking-size-.patch
 upstream/0028-core-print-src-and-dst-addresses-in-tcp-error-log-me.patch
 upstream/0029-tls-check-for-support-of-SSLv3-method.patch
 upstream/0030-Makefile.defs-removed-option-minline-all-stringops-f.patch
+upstream/0031-Makefile.defs-gcc-5.2-option-mfp32-is-required-by-ma.patch
 no_lib64_on_64_bits.patch
 no_INSTALL_file.patch
 fix_export.patch
diff --git a/debian/patches/upstream/0031-Makefile.defs-gcc-5.2-option-mfp32-is-required-by-ma.patch b/debian/patches/upstream/0031-Makefile.defs-gcc-5.2-option-mfp32-is-required-by-ma.patch
new file mode 100644
index 0000000..e567899
--- /dev/null
+++ b/debian/patches/upstream/0031-Makefile.defs-gcc-5.2-option-mfp32-is-required-by-ma.patch
@@ -0,0 +1,29 @@
+From 22e4556c91377ecdab849fe181b6a8397bfada7c Mon Sep 17 00:00:00 2001
+From: Daniel-Constantin Mierla <miconda at gmail.com>
+Date: Wed, 11 Nov 2015 08:59:10 +0100
+Subject: [PATCH] Makefile.defs: gcc 5.2 option -mfp32 is required by
+ -march=r3000 for mips arch
+
+- reported by Victor Seva, GH#394
+
+(cherry picked from commit b2ff2745b97051625509de0f328e5b1a8f584387)
+---
+ Makefile.defs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.defs b/Makefile.defs
+index 0b809a9..87d89c4 100644
+--- a/Makefile.defs
++++ b/Makefile.defs
+@@ -1272,7 +1272,7 @@ ifeq		($(CC_NAME), gcc)
+ 				CFLAGS=$(CC_OPT) -funroll-loops  $(PROFILE)
+ 			#if gcc 5.0+, 4.5+ or 4.2+
+ ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+,$(CC_SHORTVER))))
+-					CFLAGS+=-march=r3000 \
++					CFLAGS+=-mfp32 -march=r3000 \
+ 							-ftree-vectorize -fno-strict-overflow
+ 			# not supported on mips: -minline-all-stringops
+ else
+-- 
+2.6.2
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/kamailio.git



More information about the Pkg-voip-commits mailing list