genode/repos/libports/ports/x86emu.port
Emery Hemingway 72cb71c827 Replace SHA1 hashes of port downloads with SHA256
Now SHA256 has been shown to be an adequate replacement for SHA1, use
SHA256 for verifying all port downloads.

Ref #2767
2018-05-30 13:36:22 +02:00

23 lines
841 B
Plaintext

LICENSE := MIT
VERSION := 1.12.0
DOWNLOADS := xserver.archive
URL(xserver) := http://xorg.freedesktop.org/releases/individual/xserver/xorg-server-1.12.0.tar.bz2
SHA(xserver) := 280a14c5de8697a4aab18dca85429671286e69e5ada0c1535f03666e56f07799
DIR(xserver) := src/lib/x86emu/contrib
TAR_OPT(xserver) := --strip-components=4 xorg-server-$(VERSION)/hw/xfree86/x86emu
default: fix_cxx
# use sed to replace in a structure a member 'private' - reserved keyword in C++
fix_cxx: $(DOWNLOADS)
$(VERBOSE)sed -i 's/private;/private_ptr;/g' src/lib/x86emu/contrib/x86emu/regs.h
DIRS := include/x86emu include/x86emu/x86emu
DIR_CONTENT(include/x86emu) := src/lib/x86emu/contrib/x86emu.h
DIR_CONTENT(include/x86emu/x86emu) := src/lib/x86emu/contrib/x86emu/regs.h \
src/lib/x86emu/contrib/x86emu/types.h