[oe-commits] Takeshi Hamasaki : pcmciautils: fix segmentation fault of pccardctl command

git at git.openembedded.org git at git.openembedded.org
Tue Apr 2 17:11:45 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: aee67a229304827a12b7776a82fb1c320da9a3c4
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=aee67a229304827a12b7776a82fb1c320da9a3c4

Author: Takeshi Hamasaki <hmatrjp at users.sourceforge.jp>
Date:   Mon Apr  1 20:40:57 2013 +0900

pcmciautils: fix segmentation fault of pccardctl command

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

Signed-off-by: Takeshi Hamasaki <hmatrjp at users.sourceforge.jp>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-bsp/pcmciautils/pcmciautils.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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'"





More information about the Openembedded-commits mailing list