Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 16:36:24 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502123 - in head/textproc/topic: . files
Message-ID:  <201905201636.x4KGaOrD024527@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon May 20 16:36:24 2019
New Revision: 502123
URL: https://svnweb.freebsd.org/changeset/ports/502123

Log:
  textproc/topic: fix build with GCC-based architectures
  
  Specifically specify signed char to fix build error on powerpc64.
  
  PR:		237555
  Approved by:	email@freebsd.hypermart.net (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20285

Added:
  head/textproc/topic/files/
  head/textproc/topic/files/patch-linenoise.c   (contents, props changed)
Modified:
  head/textproc/topic/Makefile

Modified: head/textproc/topic/Makefile
==============================================================================
--- head/textproc/topic/Makefile	Mon May 20 15:49:40 2019	(r502122)
+++ head/textproc/topic/Makefile	Mon May 20 16:36:24 2019	(r502123)
@@ -11,8 +11,6 @@ COMMENT=	Topic markup parser
 
 LICENSE=	BSD2CLAUSE
 
-BROKEN_powerpc64=	Does not build: warning: comparison is always false due to limited range of data type
-
 PLIST_FILES=	bin/topic \
 		man/man1/topic.1.gz
 do-install:

Added: head/textproc/topic/files/patch-linenoise.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/topic/files/patch-linenoise.c	Mon May 20 16:36:24 2019	(r502123)
@@ -0,0 +1,11 @@
+--- linenoise.c.orig	2019-05-17 19:45:12 UTC
++++ linenoise.c
+@@ -749,7 +749,7 @@ static int linenoiseEdit(int stdin_fd, int stdout_fd, 
+ 
+     if (write(l.ofd,prompt,l.plen) == -1) return -1;
+     while(1) {
+-        char c;
++        signed char c;
+         int nread;
+         char seq[3];
+ 



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