[packages/gd] - sse bcond fix (only custom setting was affected)

qboosh qboosh at pld-linux.org
Sun Aug 28 17:15:00 CEST 2016


commit 03167d1a8c7ef1b00843d44fad84ba086e284011
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Aug 28 17:16:19 2016 +0200

    - sse bcond fix (only custom setting was affected)

 gd.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gd.spec b/gd.spec
index 07e0565..ad3b027 100644
--- a/gd.spec
+++ b/gd.spec
@@ -7,7 +7,7 @@
 %bcond_without	tests		# "make check"
 #
 %ifarch pentium3 pentium4
-%define	with_ssemath	1
+%define	with_sse	1
 %endif
 Summary:	Library for PNG, JPEG creation
 Summary(es.UTF-8):	Biblioteca para manipulación de imágenes
@@ -191,7 +191,7 @@ CFLAGS="%{rpmcflags} -msse -mfpmath=sse"
 # https://bitbucket.org/libgd/gd-libgd/issue/72/gdimagestringft_bbox-test-fails-on-old (what is the exact reason???)
 XFAIL_TESTS=gdimagestringft/gdimagestringft_bbox
 %ifarch %{ix86}
-%if %{without ssemath}
+%if %{without sse}
 # 387 arithmetic is inexact, https://github.com/libgd/libgd/issues/242
 XFAIL_TESTS="$XFAIL_TESTS gdimagecopyresampled/bug00201 gdimagerotate/bug00067"
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gd.git/commitdiff/03167d1a8c7ef1b00843d44fad84ba086e284011



More information about the pld-cvs-commit mailing list