svn commit: r527130 - head/sysutils/gdisk/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Feb 25 20:55:27 UTC 2020


Author: sunpoet
Date: Tue Feb 25 20:55:25 2020
New Revision: 527130
URL: https://svnweb.freebsd.org/changeset/ports/527130

Log:
  Fix build with CGDISK enabled
  
  PR:		244390
  Reported by:	John Hein <jcfyecrayz at liamekaens.com>

Added:
  head/sysutils/gdisk/files/patch-gptcurses.cc   (contents, props changed)

Added: head/sysutils/gdisk/files/patch-gptcurses.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/gdisk/files/patch-gptcurses.cc	Tue Feb 25 20:55:25 2020	(r527130)
@@ -0,0 +1,11 @@
+--- gptcurses.cc.orig	2020-02-17 22:34:11 UTC
++++ gptcurses.cc
+@@ -23,7 +23,7 @@
+ #include <iostream>
+ #include <string>
+ #include <sstream>
+-#ifdef __APPLE__
++#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
+ #include <ncurses.h>
+ #else
+ #include <ncursesw/ncurses.h>


More information about the svn-ports-all mailing list