diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2015-12-19 12:25:01 -0500 |
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-19 12:33:52 -0500 |
| commit | ef548ffadfd5f2b3af54cf00c84570268f404521 (patch) | |
| tree | f4e8ec7c8c91a6c84566389a1ea7e1795e39a9ea /sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch | |
| parent | 85568a10c09d30a1e6049890c1959ab9a1c4473d (diff) | |
| download | gentoo-ef548ffadfd5f2b3af54cf00c84570268f404521.tar.gz gentoo-ef548ffadfd5f2b3af54cf00c84570268f404521.tar.bz2 gentoo-ef548ffadfd5f2b3af54cf00c84570268f404521.zip | |
sys-fs/atari-fdisk: fix builds w/gcc-5 #568732
Diffstat (limited to 'sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch')
| -rw-r--r-- | sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch b/sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch new file mode 100644 index 000000000000..c9a0192ce753 --- /dev/null +++ b/sys-fs/atari-fdisk/files/atari-fdisk-0.7.1.5.4-prompt-logic.patch @@ -0,0 +1,15 @@ +there is a function called "primary_possible" which is used to set the +"prim_possible" variable a few lines before this, but the logic will +incorrectly test "primary_possible" instead of "prim_possible". + +--- a/menufuncs.c ++++ b/menufuncs.c +@@ -599,7 +599,7 @@ void new_partition( void ) + } + else if (!ext_possible) + make_ext = 0; +- else if (!primary_possible) ++ else if (!prim_possible) + make_ext = 1; + else + /* Create an extended partition if this is the 4th part. (to avoid |
