mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
gptfdisk: bump to 1.0.3, make TEST() succeed on x86_64. (#2169)
This commit is contained in:
@@ -5,7 +5,7 @@ Subject: Preliminary Haiku support.
|
||||
|
||||
|
||||
diff --git a/diskio.h b/diskio.h
|
||||
index 631a43a..e343cb9 100644
|
||||
index 0bdaba4..d8645b7 100644
|
||||
--- a/diskio.h
|
||||
+++ b/diskio.h
|
||||
@@ -29,7 +29,7 @@
|
||||
@@ -18,7 +18,7 @@ index 631a43a..e343cb9 100644
|
||||
#define stat64 stat
|
||||
#endif
|
||||
diff --git a/gptcurses.cc b/gptcurses.cc
|
||||
index 6002077..4eb8aee 100644
|
||||
index 0e18f8f..8651bdc 100644
|
||||
--- a/gptcurses.cc
|
||||
+++ b/gptcurses.cc
|
||||
@@ -22,6 +22,7 @@
|
||||
@@ -30,7 +30,7 @@ index 6002077..4eb8aee 100644
|
||||
#include "gptcurses.h"
|
||||
#include "support.h"
|
||||
diff --git a/support.h b/support.h
|
||||
index 7f691c3..b64cb16 100644
|
||||
index 85324f6..58b00fd 100644
|
||||
--- a/support.h
|
||||
+++ b/support.h
|
||||
@@ -16,6 +16,10 @@
|
||||
@@ -45,7 +45,7 @@ index 7f691c3..b64cb16 100644
|
||||
#define DEFAULT_GPT_TYPE 0xA503
|
||||
#endif
|
||||
--
|
||||
1.8.3.4
|
||||
2.16.1
|
||||
|
||||
|
||||
From 43151ba0e882e40163086578d5b6fbda1ec543f5 Mon Sep 17 00:00:00 2001
|
||||
@@ -55,10 +55,10 @@ Subject: Accept character devices on Haiku.
|
||||
|
||||
|
||||
diff --git a/diskio-unix.cc b/diskio-unix.cc
|
||||
index af71cdb..38568ed 100644
|
||||
index d9f8b8d..6f38118 100644
|
||||
--- a/diskio-unix.cc
|
||||
+++ b/diskio-unix.cc
|
||||
@@ -75,6 +75,7 @@ int DiskIO::OpenForRead(void) {
|
||||
@@ -78,6 +78,7 @@ int DiskIO::OpenForRead(void) {
|
||||
if (S_ISDIR(st.st_mode))
|
||||
cerr << "The specified path is a directory!\n";
|
||||
#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) \
|
||||
@@ -67,7 +67,7 @@ index af71cdb..38568ed 100644
|
||||
else if (S_ISCHR(st.st_mode))
|
||||
cerr << "The specified path is a character device!\n";
|
||||
--
|
||||
2.7.0
|
||||
2.16.1
|
||||
|
||||
|
||||
From ce3cdab4d24c693a97912c2550a6ace6a068836f Mon Sep 17 00:00:00 2001
|
||||
@@ -107,5 +107,5 @@ index d253dd9..8da42ed 100644
|
||||
{
|
||||
crc = i;
|
||||
--
|
||||
2.7.0
|
||||
2.16.1
|
||||
|
||||
Reference in New Issue
Block a user