Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2020 20:55:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527130 - head/sysutils/gdisk/files
Message-ID:  <202002252055.01PKtPB9059416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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