Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 14:32:09 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496824 - head/graphics/sdl_ttf/files
Message-ID:  <201903251432.x2PEW9n4064737@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903251432.x2PEW9n4064737>