Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 2020 07:21:29 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r544366 - head/graphics/katarakt/files
Message-ID:  <202008080721.0787LT6U089313@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Aug  8 07:21:29 2020
New Revision: 544366
URL: https://svnweb.freebsd.org/changeset/ports/544366

Log:
  graphics/katarakt: prepare for poppler 20.08.0
  
  - the minor version now represents a two digit calendar month,
    given that 08 and 09 are invalid octals, strip the leading zero
    out.
  
  PR:		248419

Modified:
  head/graphics/katarakt/files/patch-katarakt.pro

Modified: head/graphics/katarakt/files/patch-katarakt.pro
==============================================================================
--- head/graphics/katarakt/files/patch-katarakt.pro	Sat Aug  8 07:12:14 2020	(r544365)
+++ head/graphics/katarakt/files/patch-katarakt.pro	Sat Aug  8 07:21:29 2020	(r544366)
@@ -1,6 +1,16 @@
---- katarakt.pro.orig	2019-12-29 14:08:42 UTC
+--- katarakt.pro.orig	2017-08-23 19:28:21 UTC
 +++ katarakt.pro
-@@ -57,3 +57,6 @@ web.depends = $$website.target
+@@ -18,7 +18,8 @@ unix {
+     isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config    # same as in link_pkgconfig.prf
+     POPPLER_VERSION = $$system($$PKG_CONFIG --modversion $$POPPLER)
+     POPPLER_VERSION_MAJOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 1)
+-    POPPLER_VERSION_MINOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 2)
++    # With the new version scheme the minor version can have leading zeroes (calendar month)
++    POPPLER_VERSION_MINOR = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 2 | sed "s|^0*||g")
+     POPPLER_VERSION_MICRO = $$system(echo "$$POPPLER_VERSION" | cut -d . -f 3)
+ 
+     DEFINES += POPPLER_VERSION_MAJOR=$$POPPLER_VERSION_MAJOR
+@@ -57,3 +58,6 @@ web.depends = $$website.target
  web.CONFIG = phony
  
  QMAKE_EXTRA_TARGETS += documentation website doc web



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