]> git.proxmox.com Git - zfs-grub.git/blob - pvepatches/fix-build-dependencies.patch
build: rename grub target to deb
[zfs-grub.git] / pvepatches / fix-build-dependencies.patch
1 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
2 Date: Tue, 18 Oct 2016 11:07:54 +0200
3 Subject: [PATCH] fix build dependencies
4
5 ---
6 debian/control | 5 ++---
7 debian/rules | 4 ++--
8 2 files changed, 4 insertions(+), 5 deletions(-)
9
10 diff --git a/debian/control b/debian/control
11 index ba596b6..f251da5 100644
12 --- a/debian/control
13 +++ b/debian/control
14 @@ -13,8 +13,8 @@ Build-Depends: debhelper (>= 7.4.2~),
15 po-debconf,
16 help2man,
17 texinfo,
18 - gcc-6,
19 - gcc-6-multilib [i386 kopensolaris-i386 any-amd64 any-ppc64 any-sparc],
20 + gcc-4.9,
21 + gcc-4.9-multilib [i386 kopensolaris-i386 any-amd64 any-ppc64 any-sparc],
22 xfonts-unifont,
23 libfreetype6-dev,
24 gettext,
25 @@ -22,7 +22,6 @@ Build-Depends: debhelper (>= 7.4.2~),
26 libgeom-dev (>= 8.2+ds1-1~) [kfreebsd-any] | libgeom-dev (<< 8.2) [kfreebsd-any],
27 libsdl1.2-dev [!hurd-any],
28 xorriso,
29 - qemu-system [i386 kfreebsd-i386 kopensolaris-i386 any-amd64],
30 cpio [i386 kopensolaris-i386 amd64 x32],
31 parted [!hurd-any],
32 libfuse-dev (>= 2.8.4-1.4) [linux-any kfreebsd-any],
33 diff --git a/debian/rules b/debian/rules
34 index 8c73042..f4e6e98 100755
35 --- a/debian/rules
36 +++ b/debian/rules
37 @@ -21,7 +21,7 @@ export HOST_CPPFLAGS
38 export HOST_CFLAGS
39 export HOST_LDFLAGS
40 export TARGET_CPPFLAGS := -Wno-unused-but-set-variable
41 -export TARGET_LDFLAGS := -no-pie
42 +export TARGET_LDFLAGS
43
44 ifeq (,$(shell which qemu-system-i386 2>/dev/null))
45 with_check := no
46 @@ -29,7 +29,7 @@ else
47 with_check := yes
48 endif
49
50 -CC := gcc-6
51 +CC := gcc-4.9
52
53 confflags = \
54 PACKAGE_VERSION="$(deb_version)" PACKAGE_STRING="GRUB $(deb_version)" \
55 --
56 2.1.4
57