Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 99810 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6.14_rc2.orig/scripts/kconfig/Makefile (+9 lines)
Lines 116-121 Link Here
116
clean-files	:= lkc_defs.h qconf.moc .tmp_qtcheck \
116
clean-files	:= lkc_defs.h qconf.moc .tmp_qtcheck \
117
		   .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
117
		   .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
118
118
119
# Needed for systems without gettext
120
KBUILD_HAVE_NLS = $(shell \
121
     if echo "\#include <libint.h>" | $(HOSTCC) $(HOSTCFLAGS) -E - > /dev/null 2>&1 ; \
122
     then echo yes ; \
123
     else echo no ; fi)
124
ifeq ($(KBUILD_HAVE_NLS),no)
125
HOSTCFLAGS	+= -DKBUILD_NO_NLS
126
endif
127
119
# generated files seem to need this to find local include files
128
# generated files seem to need this to find local include files
120
HOSTCFLAGS_lex.zconf.o	:= -I$(src)
129
HOSTCFLAGS_lex.zconf.o	:= -I$(src)
121
HOSTCFLAGS_zconf.tab.o	:= -I$(src)
130
HOSTCFLAGS_zconf.tab.o	:= -I$(src)
(-)linux-2.6.14_rc2.orig/scripts/kconfig/lkc.h (-1 / +7 lines)
Lines 8-14 Link Here
8
8
9
#include "expr.h"
9
#include "expr.h"
10
10
11
#include <libintl.h>
11
#ifndef KBUILD_NO_NLS
12
# include <libintl.h>
13
#else
14
# define gettext(Msgid) ((const char *) (Msgid))
15
# define textdomain(Domainname) ((const char *) (Domainname))
16
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
17
#endif
12
18
13
#ifdef __cplusplus
19
#ifdef __cplusplus
14
extern "C" {
20
extern "C" {

Return to bug 99810