Skip to contentSkip to conversation

uclibc_0.9.30.1: Disable STDIO_GETC|PUTC MACROs

PATCH New Khem Raj 1 participant 1 message Sep 6, 2009

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 uclibc_0.9.30.1: Disable STDIO_GETC|PUTC MACROs

* 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

---
 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(-)
recipes/uclibc/uclibc-0.9.30.1/uClibc.distro +2 -2
index 31029a3..042ea4c 100644
@@ -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
recipes/uclibc/uclibc_0.9.30.1.bb +1 -1
index 821e06e..ae558e0 100644
@@ -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"
 
Signature · 1 line
1.6.3.3