[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Backporting pesign to jessie



Whenever you think pesign is good shape, you'll also need this patch
to make it build on jessie:

---
Author: Ben Hutchings <ben@decadent.org.uk>
Date: Tue, 28 Jun 2016 00:02:28 +0200
Description: Fix struct initialisation syntax to avoid a warning from gcc 4.9

--- a/libdpe/pe_allocspace.c
+++ b/libdpe/pe_allocspace.c
@@ -61,7 +61,7 @@ pe_set_image_size(Pe *pe)
 	struct pe32plus_opt_hdr *opthdr = pe->state.pe32plus_exe.opthdr;
 
 	Pe_Scn *scn = NULL;
-	struct section_header shdr = { 0, }, tmp_shdr;
+	struct section_header shdr = { }, tmp_shdr;
 	if (pehdr->sections < 1)
 		return -1;
 

-- 
Ben Hutchings
Klipstein's 4th Law of Prototyping and Production:
                                    A fail-safe circuit will destroy others.

Attachment: signature.asc
Description: Digital signature


Reply to: