Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2019 08:19:04 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504621 - in head/x11/tilda: . files
Message-ID:  <201906200819.x5K8J46O022278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Thu Jun 20 08:19:04 2019
New Revision: 504621
URL: https://svnweb.freebsd.org/changeset/ports/504621

Log:
  use dirent.h instead of deprecated sys/dir.h
  
  tilda currently includes sys/dir.h, but this header is scheduled for removal.
  Its successor is dirent.h. Update this port accordingly.
  
  Poudriere build run with Freebsd 11 and 12
  
  PR:		238695
  Submitted by:	rene

Modified:
  head/x11/tilda/Makefile
  head/x11/tilda/files/patch-tilda.c

Modified: head/x11/tilda/Makefile
==============================================================================
--- head/x11/tilda/Makefile	Thu Jun 20 07:56:40 2019	(r504620)
+++ head/x11/tilda/Makefile	Thu Jun 20 08:19:04 2019	(r504621)
@@ -3,7 +3,7 @@
 PORTNAME=	tilda
 PORTVERSION=	1.4.1
 DISTVERSIONPREFIX=	${PORTNAME}-
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11
 
 MAINTAINER=	rodrigo@FreeBSD.org

Modified: head/x11/tilda/files/patch-tilda.c
==============================================================================
--- head/x11/tilda/files/patch-tilda.c	Thu Jun 20 07:56:40 2019	(r504620)
+++ head/x11/tilda/files/patch-tilda.c	Thu Jun 20 08:19:04 2019	(r504621)
@@ -1,5 +1,5 @@
---- src/tilda.c.orig	2017-09-08 22:19:35.318278000 +0300
-+++ src/tilda.c	2017-09-08 22:21:22.752550000 +0300
+--- src/tilda.c.orig	2018-02-08 19:55:42 UTC
++++ src/tilda.c
 @@ -12,6 +12,7 @@
   * You should have received a copy of the GNU Library General Public
   * License along with this library. If not, see <http://www.gnu.org/licenses/>.
@@ -8,7 +8,16 @@
  #define _POSIX_SOURCE /* feature test macro for signal functions */
  #define _XOPEN_SOURCE /* feature test macro for popen */
  
-@@ -230,7 +231,7 @@
+@@ -52,7 +53,7 @@
+ #include <sys/stat.h>
+ #include <sys/file.h>
+ #include <errno.h>
+-#include <sys/dir.h>
++#include <dirent.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <string.h>
+@@ -230,7 +231,7 @@ nomatch:
  static GSList *getPids() {
      GSList *pids = NULL;
      FILE *ps_output;



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