Bug 118108 - stabilize dnotify 0.18.0
Bug#: 118108 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: vapier@gentoo.org
Component: Applications
URL: 
Summary: stabilize dnotify 0.18.0
Keywords:  
Status Whiteboard: 
Opened: 2006-01-06 15:05 0000
Description:   Opened: 2006-01-06 15:05 0000
do it

------- Comment #1 From Mark Loeser 2006-01-06 15:22:31 0000 -------
x86 done

------- Comment #2 From nixnut 2006-01-07 01:51:07 0000 -------
tested on ppc 
works for me

------- Comment #3 From Simon Stelling (RETIRED) 2006-01-07 03:52:41 0000 -------
I've got a problem on amd64 with USE=nls

Making all in src
make[2]: Entering directory
`/var/tmp/portage/dnotify-0.18.0/work/dnotify-0.18.0/src'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DLOCALEDIR=\"/usr/share/locale\"  -Wall -march=opteron -ggdb3 -pipe -MT main.o
-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit
1; fi
main.c: In function `main':
main.c:313: warning: implicit declaration of function `setlocale'
main.c:313: error: `LC_ALL' undeclared (first use in this function)
main.c:313: error: (Each undeclared identifier is reported only once
main.c:313: error: for each function it appears in.)
make[2]: *** [main.o] Error 1

Note that it works fine with USE=-nls

------- Comment #4 From nixnut 2006-01-08 05:43:18 0000 -------
marked stable on ppc by lu_zero, removing ppc from cc

------- Comment #5 From Stuart Longland 2006-01-16 16:48:32 0000 -------
Marked stable on MIPS :-)

------- Comment #6 From Simon Stelling (RETIRED) 2006-01-27 07:42:04 0000 -------
this is really strange... -O0 doesn't work, -O1 or higher do, but setting all
the -f options provided by -O explicitly don't. I really have no idea why gcc
fails to #include all headers correctly if no optimisation is done, but oh
well, there are probably very few users not having -O?, so it's stable now

------- Comment #7 From SpanKY 2006-01-27 07:51:35 0000 -------
it's because the source fails to properly include locale.h when nls support is
enabled

this bug only shows up with using -O0 though

------- Comment #8 From Simon Stelling (RETIRED) 2006-01-27 09:36:07 0000 -------
fixed