mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-09 06:06:41 +02:00
add patch to set USE_SLASH_PROC macro
This commit is contained in:
parent
aeb3e524e8
commit
37e2caf189
@ -0,0 +1,24 @@
|
||||
From 5936cd877fd307b796e364a4ac99615f44ef6024 Mon Sep 17 00:00:00 2001
|
||||
From: Oliver Kurth <okurth@vmware.com>
|
||||
Date: Mon, 17 Nov 2014 17:36:52 -0800
|
||||
Subject: [PATCH] define USE_SLASH_PROC
|
||||
|
||||
---
|
||||
open-vm-tools/services/plugins/guestInfo/getlib/Makefile.am | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/open-vm-tools/services/plugins/guestInfo/getlib/Makefile.am b/open-vm-tools/services/plugins/guestInfo/getlib/Makefile.am
|
||||
index 331e24f..862029f 100644
|
||||
--- a/open-vm-tools/services/plugins/guestInfo/getlib/Makefile.am
|
||||
+++ b/open-vm-tools/services/plugins/guestInfo/getlib/Makefile.am
|
||||
@@ -28,4 +28,6 @@ libGuestInfo_la_CPPFLAGS += @GLIB2_CPPFLAGS@
|
||||
libGuestInfo_la_CPPFLAGS += -I$(srcdir)/..
|
||||
|
||||
AM_CFLAGS = $(DNET_CPPFLAGS)
|
||||
-
|
||||
+if USE_SLASH_PROC
|
||||
+AM_CFLAGS += -DUSE_SLASH_PROC
|
||||
+endif
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@ -40,6 +40,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${MY_P}-0002-configure-Fix-USE_SLASH_PROC-conditional.patch"
|
||||
"${FILESDIR}/${MY_P}-0003-scripts-Remove-ifup.patch"
|
||||
"${FILESDIR}/${MY_P}-0004-auth-Read-from-shadow.patch"
|
||||
"${FILESDIR}/${MY_P}-0005-define_USE_SLASH_PROC.patch"
|
||||
)
|
||||
|
||||
#pkg_setup() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user