[oe] [PATCH] uclibc_0.9.30.1: Disable STDIO_GETC|PUTC MACROs

Khem Raj raj.khem at gmail.com
Sun Sep 6 02:25:06 UTC 2009


* There is a problem with threads enabled and hiding
  __fgetc_unlocked and __fputc_unlocked which gets pulled
  in with the macros. This patch disables the macros
  and it will use the functions to perform these functions

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/uclibc/uclibc-0.9.30.1/uClibc.distro |    4 ++--
 recipes/uclibc/uclibc_0.9.30.1.bb            |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/uclibc/uclibc-0.9.30.1/uClibc.distro b/recipes/uclibc/uclibc-0.9.30.1/uClibc.distro
index 31029a3..042ea4c 100644
--- a/recipes/uclibc/uclibc-0.9.30.1/uClibc.distro
+++ b/recipes/uclibc/uclibc-0.9.30.1/uClibc.distro
@@ -83,8 +83,8 @@ UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
 # UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
-UCLIBC_HAS_STDIO_GETC_MACRO=y
-UCLIBC_HAS_STDIO_PUTC_MACRO=y
+# UCLIBC_HAS_STDIO_GETC_MACRO is not set
+# UCLIBC_HAS_STDIO_PUTC_MACRO is not set
 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
 # UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
 UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
diff --git a/recipes/uclibc/uclibc_0.9.30.1.bb b/recipes/uclibc/uclibc_0.9.30.1.bb
index 821e06e..ae558e0 100644
--- a/recipes/uclibc/uclibc_0.9.30.1.bb
+++ b/recipes/uclibc/uclibc_0.9.30.1.bb
@@ -9,7 +9,7 @@
 UCLIBC_BASE ?= "0.9.30.1"
 
 require uclibc.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 
-- 
1.6.3.3





More information about the Openembedded-devel mailing list