~ubuntu-branches/ubuntu/trusty/virtualbox-lts-xenial/trusty-updates

« back to all changes in this revision

Viewing changes to debian/patches/29-fix-ftbfs-as-needed.patch

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna
  • Date: 2016-02-23 14:28:26 UTC
  • Revision ID: package-import@ubuntu.com-20160223142826-kpprg3lfwn2izud0
Tags: 4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1~14.04.4
Use lts-xenial stack. Build only guest additions (LP: #1424769).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Fix FTBFS with ld --as-needed.
 
2
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
 
3
 
 
4
Index: virtualbox/Config.kmk
 
5
===================================================================
 
6
--- virtualbox.orig/Config.kmk  2013-11-19 04:39:48.053639615 -0500
 
7
+++ virtualbox/Config.kmk       2013-11-19 04:39:48.049639615 -0500
 
8
@@ -5052,7 +5052,7 @@
 
9
 TEMPLATE_VBoxBldProg_LDFLAGS.amd64       = -m64
 
10
 TEMPLATE_VBoxBldProg_LDFLAGS.sparc64     = -m64
 
11
  ifeq ($(KBUILD_HOST),linux)
 
12
-TEMPLATE_VBoxBldProg_LIBS                = pthread m rt dl
 
13
+TEMPLATE_VBoxBldProg_LIBS                = pthread m rt dl crypt
 
14
  else ifeq ($(KBUILD_HOST),os2)
 
15
 TEMPLATE_VBoxBldProg_TOOL                = GXX3OMF
 
16
 TEMPLATE_VBoxBldProg_LIBS                = socket iconv