svn commit: r502123 - in head/textproc/topic: . files

Piotr Kubaj pkubaj at FreeBSD.org
Mon May 20 16:36:25 UTC 2019


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 at 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];
+ 


More information about the svn-ports-head mailing list