From owner-svn-ports-head@freebsd.org Sat Nov 12 15:54:00 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1A14C3D7A5; Sat, 12 Nov 2016 15:54:00 +0000 (UTC) (envelope-from cpm@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 mx1.freebsd.org (Postfix) with ESMTPS id 9E8861A5D; Sat, 12 Nov 2016 15:54:00 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uACFrxEj092233; Sat, 12 Nov 2016 15:53:59 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uACFrx9q092231; Sat, 12 Nov 2016 15:53:59 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201611121553.uACFrx9q092231@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Sat, 12 Nov 2016 15:53:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425964 - in head/multimedia/kodi: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 12 Nov 2016 15:54:00 -0000 Author: cpm Date: Sat Nov 12 15:53:59 2016 New Revision: 425964 URL: https://svnweb.freebsd.org/changeset/ports/425964 Log: multimedia/kodi: Fix linking error on FreeBSD gmake[3]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26/xbmc/cores/dvdplayer/DVDInputStreams' CPP xbmc/guilib/TextureManager.o CPP xbmc/guilib/VisibleEffect.o CPP xbmc/guilib/XBTF.o CPP xbmc/guilib/XBTFReader.o CPP xbmc/guilib/TextureGL.o CPP xbmc/guilib/GUIFontTTFGL.o CPP xbmc/guilib/GUITextureGL.o CPP xbmc/guilib/MatrixGLES.o AR xbmc/guilib/guilib.a gmake[3]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26/xbmc/guilib' LD kodi.bin xbmc/guilib/guilib.a(DDSImage.o): In function `CDDSImage::Compress(unsigned int, unsigned int, unsigned int, unsigned char const*, double)': DDSImage.cpp:(.text+0x5b0): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)' DDSImage.cpp:(.text+0x5e2): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)' DDSImage.cpp:(.text+0x6ea): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)' DDSImage.cpp:(.text+0x718): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)' DDSImage.cpp:(.text+0x75f): undefined reference to `squish::CompressImage(unsigned char const*, int, int, int, void*, int, float*)' DDSImage.cpp:(.text+0x78d): undefined reference to `squish::ComputeMSE(unsigned char const*, int, int, int, unsigned char const*, int, double&, double&)' xbmc/guilib/guilib.a(DDSImage.o): In function `CDDSImage::Decompress(unsigned char*, unsigned int, unsigned int, unsigned int, unsigned char const*, unsigned int)': DDSImage.cpp:(.text+0x9a5): undefined reference to `squish::DecompressImage(unsigned char*, int, int, int, void const*, int)' c++: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:486: recipe for target 'kodi.bin' failed gmake[2]: *** [kodi.bin] Error 1 gmake[2]: Leaving directory '/usr/ports/multimedia/kodi/work/xbmc-f4dda26' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/multimedia/kodi *** Error code 1 Stop. make: stopped in /usr/ports/multimedia/kodi PR: 204380 Submitted by: Tomasz Sowa Reported by: Andrew Reviewed by: feld, junovitch, koobs (mentors) Approved by: Mickael Maillot (maintainer timeout, 9 months), feld, junovitch, koobs (mentors) MFH: 2016Q4 Added: head/multimedia/kodi/files/patch-Makefile.in (contents, props changed) Modified: head/multimedia/kodi/Makefile Modified: head/multimedia/kodi/Makefile ============================================================================== --- head/multimedia/kodi/Makefile Sat Nov 12 15:50:51 2016 (r425963) +++ head/multimedia/kodi/Makefile Sat Nov 12 15:53:59 2016 (r425964) @@ -2,7 +2,7 @@ PORTNAME= kodi DISTVERSION= 16.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia java MAINTAINER= mickael.maillot@gmail.com Added: head/multimedia/kodi/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/kodi/files/patch-Makefile.in Sat Nov 12 15:53:59 2016 (r425964) @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2016-10-20 18:15:13 UTC ++++ Makefile.in +@@ -434,7 +434,7 @@ endif + ifeq ($(findstring osx,@ARCH@), osx) + $(SILENT_LD) $(CXX) $(LDFLAGS) -o @APP_NAME_LC@.bin $(MAINOBJS) -Wl,-all_load,-ObjC $(MAINOBJS) $(DYNOBJSXBMC) $(NWAOBJSXBMC) $(OBJSXBMC) $(LIBS) -rdynamic + else +- $(SILENT_LD) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o @APP_NAME_LC@.bin $(MAINOBJS) -Wl,--start-group $(MAINOBJS) $(DYNOBJSXBMC) $(OBJSXBMC) -Wl,--end-group $(NWAOBJSXBMC) $(LIBS) -rdynamic ++ $(SILENT_LD) $(CXX) $(CXXFLAGS) $(LDFLAGS) -o @APP_NAME_LC@.bin $(MAINOBJS) -Wl,--start-group $(MAINOBJS) $(DYNOBJSXBMC) $(OBJSXBMC) -Wl,--end-group $(NWAOBJSXBMC) $(LIBS) -rdynamic ./tools/depends/native/libsquish-native/squish-install/lib/libsquish.a + endif + + @APP_NAME_LC@-xrandr: xbmc-xrandr.c