svn commit: r376839 - head/editors/chexedit/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Jan 12 17:25:04 UTC 2015


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)
-    {
- 


More information about the svn-ports-all mailing list