media-gfx/gfxboot: fix bigsize

pull/1/head
Alexander Tratsevskiy 3 years ago
parent 22cc1d8531
commit 085f95d1c8

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 97b60d7..5f50ff7 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ vocabulary.h: mk_vocabulary
./mk_vocabulary -c >$@
jpeg.o: jpeg.S
- as --32 -ahlsn=jpeg.lst -o $@ $<
+ as --32 -mx86-used-note=no -ahlsn=jpeg.lst -o $@ $<
install: all
install -d -m 755 $(DESTDIR)/usr/sbin

@ -1,13 +0,0 @@
diff --git gfxboot-font.c gfxboot-font.c
index c0b03c0..f879c10 100644
--- gfxboot-font.c
+++ gfxboot-font.c
@@ -13,7 +13,7 @@
#include <ft2build.h>
#include FT_FREETYPE_H
-#include <freetype/ftsynth.h>
+#include <freetype2/ftsynth.h>
#define MAGIC 0xd2828e06

@ -26,6 +26,7 @@ RESTRICT="mirror"
PATCHES=(
"${FILESDIR}/gfxboot-fix_warning.patch"
"${FILESDIR}/gfxboot-fix_bigsize.patch"
)
src_install() {

@ -1,34 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
EAPI=5
DESCRIPTION="tool to test and create graphical boot logos"
HOMEPAGE="http://www.calculate-linux.org"
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gfxboot/${PV}-1/${PN}_${PV}.orig.tar.gz"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="app-arch/cpio
dev-lang/nasm
>=media-libs/freetype-2
app-text/xmlto
dev-libs/libxslt
app-text/docbook-xml-dtd:4.1.2
dev-perl/HTML-Parser"
RDEPEND="${DEPEND}"
RESTRICT="mirror"
PATCHES=(
"${FILESDIR}/gfxboot-fix_warning.patch"
"${FILESDIR}/gfxboot-fix_freetype.patch"
)
src_install() {
emake DESTDIR="${D}" THEMES="" install || die
}
Loading…
Cancel
Save