opnsense-ports/sysutils/gpart/files/patch-src-gm__bsddl.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
381 B
C

--- ./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