summaryrefslogtreecommitdiff
path: root/sysutils/gpart/files/patch-src-gm__bsddl.h
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-17 12:32:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-17 12:32:05 +0000
commitd7eca48b3945f69db5296aab97ec289aa81ad092 (patch)
treebc917e048e5d5ec559f84e8ea5fd51cde568a19c /sysutils/gpart/files/patch-src-gm__bsddl.h
parentFix build with clang/libc++ (diff)
- Fix build with clang/libc++
- Rename patches with accordance to porter's handbook
Notes
Notes: svn path=/head/; revision=327472
Diffstat (limited to 'sysutils/gpart/files/patch-src-gm__bsddl.h')
-rw-r--r--sysutils/gpart/files/patch-src-gm__bsddl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/gpart/files/patch-src-gm__bsddl.h b/sysutils/gpart/files/patch-src-gm__bsddl.h
new file mode 100644
index 000000000000..c1179a38a618
--- /dev/null
+++ b/sysutils/gpart/files/patch-src-gm__bsddl.h
@@ -0,0 +1,11 @@
+--- ./src/gm_bsddl.h.orig 2000-12-13 23:54:31.000000000 +0100
++++ ./src/gm_bsddl.h 2011-03-17 01:15:54.000000000 +0100
+@@ -28,7 +28,7 @@
+
+ #define BBSIZE 8192 /* size of boot area, with label */
+
+-#ifdef __i386__
++#if defined(__i386__) || defined(__amd64__)
+ #define LABELSECTOR 1 /* sector containing label */
+ #define LABELOFFSET 0 /* offset of label in sector */
+ #endif