Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 17:25:04 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376839 - head/editors/chexedit/files
Message-ID:  <201501121725.t0CHP4DM024969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jan 12 17:25:03 2015
New Revision: 376839
URL: https://svnweb.freebsd.org/changeset/ports/376839
QAT: https://qat.redports.org/buildarchive/r376839/

Log:
  - Remove diskmode fix for FreeBSD - it didn't work anyway and HEAD doesn't even have the ioctl used

Modified:
  head/editors/chexedit/files/patch-src-init.c

Modified: head/editors/chexedit/files/patch-src-init.c
==============================================================================
--- head/editors/chexedit/files/patch-src-init.c	Mon Jan 12 16:33:16 2015	(r376838)
+++ head/editors/chexedit/files/patch-src-init.c	Mon Jan 12 17:25:03 2015	(r376839)
@@ -1,18 +1,6 @@
---- src/init.c.orig	Sun Aug  8 09:56:11 1999
-+++ src/init.c	Sat Mar 17 22:23:57 2001
-@@ -33,6 +33,11 @@
- #include <sys/disklabel.h>
- #endif
- 
-+#if defined(__FreeBSD__)
-+#include <fcntl.h>
-+#include <sys/disklabel.h>
-+#endif
-+
- extern char **environ;
- 
- 
-@@ -250,6 +255,7 @@
+--- src/init.c.orig	1999-08-08 05:56:11.000000000 +0400
++++ src/init.c	2015-01-12 20:23:12.000000000 +0300
+@@ -250,6 +250,7 @@
     if (color_term != -1)
     {
        start_color ();
@@ -20,12 +8,3 @@
        if ((color_term = has_colors ()))
        {
           color_term = 1;
-@@ -463,7 +469,7 @@
-       filestat.st_size = DEFAULT_BUFFER_SIZE;
-    }
- 
--#elif defined (__OpenBSD__)
-+#elif defined (__OpenBSD__) || defined(__FreeBSD__)
-    else if (Globals.fixed_disk)
-    {
- 



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