Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] pcmciautils: fix segmentation fault of pccardctl command
@ 2013-04-01  9:10 Takeshi Hamasaki
  2013-04-01 11:17 ` Henning Heinold
  0 siblings, 1 reply; 2+ messages in thread
From: Takeshi Hamasaki @ 2013-04-01  9:10 UTC (permalink / raw)
  To: openembedded-core


This changes difinition of PCMCIAUTILS_VERSION to string from a multichacter constant to avoid segmentation fault of pccardctl command.

Signed-off-by: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp>
---
 meta/recipes-bsp/pcmciautils/pcmciautils.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/pcmciautils/pcmciautils.inc b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
index 80271d6..0651236 100644
--- a/meta/recipes-bsp/pcmciautils/pcmciautils.inc
+++ b/meta/recipes-bsp/pcmciautils/pcmciautils.inc
@@ -21,7 +21,7 @@ export udevrulesdir = "${nonarch_base_libdir}/udev/rules.d"
 export UDEV = "1"
 LD = "${CC}"
 CFLAGS =+ "-I${S}/src"
-CFLAGS =+ "-DPCMCIAUTILS_VERSION=\'${PV}\'"
+CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
 
 PARALLEL_MAKE = ""
 EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-01 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-01  9:10 [PATCH] pcmciautils: fix segmentation fault of pccardctl command Takeshi Hamasaki
2013-04-01 11:17 ` Henning Heinold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox