summaryrefslogtreecommitdiff
path: root/app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch')
-rw-r--r--app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch b/app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch
deleted file mode 100644
index 3516efd2871b..000000000000
--- a/app-editors/hteditor/files/hteditor-2.1.0-gcc-10.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Backport a subset of upstream c++11 fixes.
---- a/htmacho.cc
-+++ b/htmacho.cc
-@@ -146,7 +146,7 @@ void ht_macho::init(Bounds *b, File *f, format_viewer_if **ifs, ht_format_group
- break;
- case MACHO_CPU_TYPE_I386:
- switch (c->flavor) {
-- case -1:
-+ default:
- createHostStruct(&c->state, MACHO_I386_THREAD_STATE_struct, image_endianess);
- break;
- }
---- a/htmachohd.cc
-+++ b/htmachohd.cc
-@@ -313,7 +313,7 @@ static ht_view *htmachoheader_init(Bounds *b, File *file, ht_format_group *group
- switch (macho_shared->header.cputype) {
- case MACHO_CPU_TYPE_I386:
- switch (c->flavor) {
-- case -1:
-+ default:
- m->add_staticmask_ptable(macho_i386_thread_state, ofs+4*4/*4 32bit words in thread_header*/, isbigendian);
- break;
- }
---- a/io/types.h
-+++ b/io/types.h
-@@ -87,8 +87,8 @@ union htmsg_param {
- };
-
- struct htmsg {
-- int msg;
-- int type;
-+ unsigned int msg;
-+ unsigned int type;
- htmsg_param data1;
- htmsg_param data2;
- };