Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 14:52:15 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486763 - head/graphics/gexiv2/files
Message-ID:  <201812061452.wB6EqFCB073812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cmt
Date: Thu Dec  6 14:52:15 2018
New Revision: 486763
URL: https://svnweb.freebsd.org/changeset/ports/486763

Log:
  gexiv2: fix build with non-clang compilers
  
  clang silently ignores empty arguments, others do complain. Set up
  conditional arguments like the meson documentation recommends.
  
  PR:		233668
  Reported by:	Piotr Kubaj, jhibbits@

Modified:
  head/graphics/gexiv2/files/patch-gexiv2_meson.build

Modified: head/graphics/gexiv2/files/patch-gexiv2_meson.build
==============================================================================
--- head/graphics/gexiv2/files/patch-gexiv2_meson.build	Thu Dec  6 14:26:22 2018	(r486762)
+++ head/graphics/gexiv2/files/patch-gexiv2_meson.build	Thu Dec  6 14:52:15 2018	(r486763)
@@ -1,11 +1,16 @@
---- gexiv2/meson.build.orig	2018-11-23 19:55:20 UTC
-+++ gexiv2/meson.build
-@@ -35,7 +35,7 @@ install_headers(gexiv2_headers, subdir :
+--- gexiv2/meson.build.orig	2018-12-01 18:58:21.005598000 +0100
++++ gexiv2/meson.build	2018-12-01 19:01:56.566055000 +0100
+@@ -35,10 +35,10 @@
  
  # Static map file
  mapfile = 'gexiv2.map'
 -if host_machine.system() == 'darwin'
+-    vflag = ''
 +if host_machine.system() == 'darwin' or host_machine.system() == 'freebsd'
-     vflag = ''
++    vflag = []
  else
-     vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
+-    vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)
++    vflag = ['-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)]
+ endif
+ 
+ gexiv2 = library('gexiv2',



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