chelf: fix build on cross targets
This commit is contained in:
parent
c99fabfab7
commit
b2be343df6
2 changed files with 11 additions and 1 deletions
10
srcpkgs/chelf/patches/no-sys-reg.patch
Normal file
10
srcpkgs/chelf/patches/no-sys-reg.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
diff --git a/elf.c b/elf.c
|
||||||
|
index 455d035..41d7a4f 100644
|
||||||
|
--- ./elf.c
|
||||||
|
+++ ./elf.c
|
||||||
|
@@ -1,6 +1,5 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <elf.h>
|
||||||
|
-#include <sys/reg.h>
|
||||||
|
|
||||||
|
#include "chelf.h"
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'chelf'
|
# Template file for 'chelf'
|
||||||
pkgname=chelf
|
pkgname=chelf
|
||||||
version=0.2.1
|
version=0.2.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Change or display the stack size of an ELF binary"
|
short_desc="Change or display the stack size of an ELF binary"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
|
Loading…
Reference in a new issue