[gf2x] 07/09: Remove the sse2 patch, now upstream
Julien Puydt
julien.puydt at laposte.net
Sat Jul 8 11:14:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository gf2x.
commit 0ba5900de694843bf9656cefac21cba8549bb03f
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sat Jul 8 12:44:49 2017 +0200
Remove the sse2 patch, now upstream
---
debian/changelog | 1 +
...-instead-of-believing-it-s-unnecessary-if.patch | 74 ----------------------
debian/patches/series | 1 -
3 files changed, 1 insertion(+), 75 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cb36393..3b79937 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ gf2x (1.2-1) UNRELEASED; urgency=medium
* Use https for Vcs-*.
* Remove the memset patch, now in upstream.
* Remove the mul test patch ; upstream has changed.
+ * Remove the sse2 patch, now in upstream.
-- Julien Puydt <julien.puydt at laposte.net> Sat, 08 Jul 2017 12:21:16 +0200
diff --git a/debian/patches/force-msse2-instead-of-believing-it-s-unnecessary-if.patch b/debian/patches/force-msse2-instead-of-believing-it-s-unnecessary-if.patch
deleted file mode 100644
index e09014d..0000000
--- a/debian/patches/force-msse2-instead-of-believing-it-s-unnecessary-if.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From 4a27f83bd7c4ed11bea0e195c5dbc7903621d121 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Emmanuel=20Thom=C3=A9?= <Emmanuel.Thome at inria.fr>
-Date: Tue, 18 Nov 2014 22:57:33 +0100
-Subject: [PATCH] Force -msse2 instead of believing it's unnecessary if gcc
- seems to grok.
-
-Under some circumstances, it seems that on i386 we get:
-
-./gf2x/gf2x_mul3.h:69:19: warning: SSE vector return without SSE enabled
-changes the ABI [-Wpsabi]
----
- config/acinclude.m4 | 22 ++++++++++++----------
- 1 file changed, 12 insertions(+), 10 deletions(-)
-
-diff --git a/config/acinclude.m4 b/config/acinclude.m4
-index eddd4cf..bee3706 100644
---- a/config/acinclude.m4
-+++ b/config/acinclude.m4
-@@ -105,12 +105,13 @@ AC_DEFUN([CHECK_SSE2_SUPPORT],[
- if test "x${enable_sse2}" = xno ; then
- echo $ECHO_N "explicitly disabled, "
- else
-+ CFLAGS="$ac_save_CFLAGS -msse2"
- AC_RUN_IFELSE([SSE2_EXAMPLE()],[
- gf2x_cv_cc_supports_sse2=yes
- ],[
-- CFLAGS="$ac_save_CFLAGS -msse2"
-+ CFLAGS="$ac_save_CFLAGS"
- AC_RUN_IFELSE([SSE2_EXAMPLE()],[
-- gf2x_cv_cc_supports_sse2="requires -msse2"
-+ gf2x_cv_cc_supports_sse2="yes, but without -msse2"
- ],[
- gf2x_cv_cc_supports_sse2=no
- ])
-@@ -118,16 +119,17 @@ AC_DEFUN([CHECK_SSE2_SUPPORT],[
- fi
- ])
- ac_save_CPPFLAGS=$CPPFLAGS
-- if test "$gf2x_cv_cc_supports_sse2" = "requires -msse2" ;then
-+ if test "$gf2x_cv_cc_supports_sse2" = "yes" ;then
- # Tweaking CFLAGS is often not enough.
-- AC_CACHE_CHECK([whether -msse2 is also needed by the preprocessor],
-- [gf2x_cv_cpp_requires_msse2_flag],[
-+ AC_CACHE_CHECK([whether -msse2 is also understood by the preprocessor],
-+ [gf2x_cv_cpp_understands_msse2_flag],[
-+ CPPFLAGS="$ac_save_CPPFLAGS -msse2"
- AC_PREPROC_IFELSE([SSE2_EXAMPLE()],[
-- gf2x_cv_cpp_requires_msse2_flag=no
-+ gf2x_cv_cpp_understands_msse2_flag=yes
- ],[
-- CPPFLAGS="$ac_save_CPPFLAGS -msse2"
-+ CPPFLAGS="$ac_save_CPPFLAGS"
- AC_PREPROC_IFELSE([SSE2_EXAMPLE()],[
-- gf2x_cv_cpp_requires_msse2_flag=yes
-+ gf2x_cv_cpp_understands_msse2_flag=no
- ],[
- AC_MSG_ERROR([Sorry, the preprocessor can't parse sse-2!])
- ])
-@@ -136,10 +138,10 @@ AC_DEFUN([CHECK_SSE2_SUPPORT],[
- fi
- CFLAGS=$ac_save_CFLAGS
- CPPFLAGS=$ac_save_CPPFLAGS
-- if test "$gf2x_cv_cc_supports_sse2" = "requires -msse2" ;then
-+ if test "$gf2x_cv_cc_supports_sse2" = "yes" ;then
- CFLAGS="$CFLAGS -msse2"
- fi
-- if test "$gf2x_cv_cpp_requires_msse2_flag" = "yes" ; then
-+ if test "$gf2x_cv_cpp_understands_msse2_flag" = "yes" ; then
- CPPFLAGS="$CPPFLAGS -msse2"
- fi
- if test "$gf2x_cv_cc_supports_sse2" != "no" ;then
---
-2.1.1
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 1d2e2ea..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-force-msse2-instead-of-believing-it-s-unnecessary-if.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gf2x.git
More information about the debian-science-commits
mailing list