opnsense-ports/devel/chrpath/files/patch-elf.c
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
379 B
C

--- elf.c.orig 2003-12-19 21:07:00.000000000 +0000
+++ elf.c 2009-12-01 20:39:21.000000000 +0000
@@ -55,7 +55,7 @@
if (ehdr->e_phentsize != sizeof(Elf_Phdr))
{
fprintf(stderr, "section size was read as %d, not %d!\n",
- ehdr->e_phentsize, sizeof(Elf_Phdr));
+ ehdr->e_phentsize, (int)sizeof(Elf_Phdr));
close(fd);
return -1;
}