diff options
Diffstat (limited to '')
-rw-r--r-- | debian/patches/29-fix-ftbfs-as-needed.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/29-fix-ftbfs-as-needed.patch b/debian/patches/29-fix-ftbfs-as-needed.patch new file mode 100644 index 00000000..690a0ab9 --- /dev/null +++ b/debian/patches/29-fix-ftbfs-as-needed.patch @@ -0,0 +1,16 @@ +Description: Fix FTBFS with ld --as-needed. +Origin: vendor, http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/virtualbox/files/virtualbox-4.1.4-asneeded.patch?revision=1.2&view=markup + +Index: virtualbox/Config.kmk +=================================================================== +--- virtualbox.orig/Config.kmk 2015-04-02 15:46:59.611743003 +0200 ++++ virtualbox/Config.kmk 2015-04-02 15:46:59.611743003 +0200 +@@ -6658,7 +6658,7 @@ + TEMPLATE_VBoxBldProg_LDFLAGS.amd64 = -m64 + TEMPLATE_VBoxBldProg_LDFLAGS.sparc64 = -m64 + ifeq ($(KBUILD_HOST),linux) +-TEMPLATE_VBoxBldProg_LIBS = pthread m rt dl ++TEMPLATE_VBoxBldProg_LIBS = pthread m rt dl crypt + else ifeq ($(KBUILD_HOST),os2) + TEMPLATE_VBoxBldProg_TOOL = GXX3OMF + TEMPLATE_VBoxBldProg_LIBS = socket iconv |