From owner-svn-ports-head@freebsd.org Mon Mar 25 14:32:10 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F0C91563691; Mon, 25 Mar 2019 14:32:10 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E36D36EE71; Mon, 25 Mar 2019 14:32:09 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C0A2692D4; Mon, 25 Mar 2019 14:32:09 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2PEW98l064738; Mon, 25 Mar 2019 14:32:09 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2PEW9n4064737; Mon, 25 Mar 2019 14:32:09 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201903251432.x2PEW9n4064737@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 25 Mar 2019 14:32:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496824 - head/graphics/sdl_ttf/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/graphics/sdl_ttf/files X-SVN-Commit-Revision: 496824 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E36D36EE71 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 14:32:10 -0000 Author: jbeich Date: Mon Mar 25 14:32:09 2019 New Revision: 496824 URL: https://svnweb.freebsd.org/changeset/ports/496824 Log: graphics/sdl_ttf: unbreak --no-allow-shlib-undefined with Gold or LLD 9 Clang 8 on x86 with -O1 converts ceil(float) to ceilf() but wants -msse4.1 to use builtin. GCC 8 on x86 and aarch64 with -O1 and Clang 8 on aarch64 always use builtin ceil(). To avoid guessing when library call will be made just append -lm explicitly. ld: error: ./.libs/libSDL_ttf.so: undefined reference to ceilf PR: 236141 Reported by: pkg-fallout (via antoine) Obtained from: upstream Approved by: portmgr blanket (blocks 144 consumers) Added: head/graphics/sdl_ttf/files/patch-bug1401 (contents, props changed) Added: head/graphics/sdl_ttf/files/patch-bug1401 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/sdl_ttf/files/patch-bug1401 Mon Mar 25 14:32:09 2019 (r496824) @@ -0,0 +1,14 @@ +https://bugzilla.libsdl.org/show_bug.cgi?id=1401 +https://hg.libsdl.org/SDL_ttf/rev/e826b2504c66 + +--- Makefile.in.orig 2012-01-15 04:44:08 UTC ++++ Makefile.in +@@ -68,7 +68,7 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(p + "$(DESTDIR)$(libSDL_ttfincludedir)" + libLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(lib_LTLIBRARIES) +-libSDL_ttf_la_LIBADD = ++libSDL_ttf_la_LIBADD = @MATHLIB@ + am_libSDL_ttf_la_OBJECTS = SDL_ttf.lo + libSDL_ttf_la_OBJECTS = $(am_libSDL_ttf_la_OBJECTS) + libSDL_ttf_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \