File shim-change-debug-file-path.patch of Package shim

From a2b1ceac7093798d770cf50c8a2a78f7051c7be9 Mon Sep 17 00:00:00 2001
From: Gary Ching-Pang Lin <glin@suse.com>
Date: Wed, 15 Jul 2015 18:15:40 +0800
Subject: [PATCH] Change the debug file path

Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: shim-0.9/Makefile
===================================================================
--- shim-0.9.orig/Makefile
+++ shim-0.9/Makefile
@@ -45,7 +45,7 @@ ifeq ($(ARCH),x86_64)
 		-DNO_BUILTIN_VA_FUNCS \
 		-DMDE_CPU_X64 \
 		"-DEFI_ARCH=L\"x64\"" \
-		"-DDEBUGDIR=L\"/usr/lib/debug/usr/share/shim/x64-$(VERSION)$(RELEASE)/\""
+		"-DDEBUGDIR=L\"/usr/lib/debug/usr/lib64/efi/shim.debug\""
 endif
 ifeq ($(ARCH),ia32)
 	CFLAGS	+= -mno-mmx -mno-sse -mno-red-zone -nostdinc \
openSUSE Build Service is sponsored by