summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/virtualbox-4-asneeded.patch
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2011-07-26 22:10:13 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2011-07-26 22:10:13 +0200
commit1b0245eb5ba04081b0713f583511e070dce92169 (patch)
treef77af1ec17f4069304a869ac182c7f848fe2f30c /app-emulation/virtualbox/files/virtualbox-4-asneeded.patch
parent69e7ed4b07754ae656094afa26d4c4ab66c85ab8 (diff)
downloadoverlay-1b0245eb5ba04081b0713f583511e070dce92169.tar.gz
overlay-1b0245eb5ba04081b0713f583511e070dce92169.tar.bz2
overlay-1b0245eb5ba04081b0713f583511e070dce92169.zip
virtualbox
Diffstat (limited to 'app-emulation/virtualbox/files/virtualbox-4-asneeded.patch')
-rw-r--r--app-emulation/virtualbox/files/virtualbox-4-asneeded.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/files/virtualbox-4-asneeded.patch b/app-emulation/virtualbox/files/virtualbox-4-asneeded.patch
new file mode 100644
index 0000000..5533bb0
--- /dev/null
+++ b/app-emulation/virtualbox/files/virtualbox-4-asneeded.patch
@@ -0,0 +1,27 @@
+--- VirtualBox-4.0.0_OSE/src/libs/xpcom18a4/Makefile.kmk
++++ VirtualBox-4.0.0_OSE/src/libs/xpcom18a4/Makefile.kmk
+@@ -469,9 +469,11 @@
+ libIDL_config_cflags := $(shell $(VBOX_LIBIDL_CONFIG) --cflags)
+ libIDL_config_libs := $(shell $(VBOX_LIBIDL_CONFIG) --libs)
+ xpidl_CFLAGS = \
+- $(libIDL_config_cflags)
++ $(shell pkg-config --cflags libIDL-2.0)
+ xpidl_LDFLAGS = \
+- $(libIDL_config_libs)
++ $(shell pkg-config --libs-only-L libIDL-2.0)
++xpidl_LIBS.linux = \
++ $(shell pkg-config --libs-only-l libIDL-2.0 | sed -e 's/-l//g')
+ xpidl_LDFLAGS.linux = \
+ $(VBOX_LD_as_needed)
+ endif
+--- VirtualBox-4.0.0_OSE/Config.kmk
++++ VirtualBox-4.0.0_OSE/Config.kmk
+@@ -4053,7 +4053,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 \ No newline at end of file