Bug 37987 - Fix build on -current: x11-toolkits/xview --- bento error
Fix build on -current: x11-toolkits/xview --- bento error
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: freebsd-ports
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-05-12 11:40 UTC by obraun
Modified: 2002-05-15 21:05 UTC (History)
0 users

See Also:


Attachments
file.diff (2.39 KB, patch)
2002-05-12 11:40 UTC, obraun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description obraun 2002-05-12 11:40:01 UTC
Fix declaration of sys_nerr.

Regards,
         Olli
Comment 1 dwcjr 2002-05-15 15:07:45 UTC
I get this after applying your patch, but I think its a problem with my 
-current.

DOS_HAS_LOCALE -DOS_HAS_MMAP                        -DDYNAMICLIB 
-I../../../build/include  -I/usr/X11R6/include    -DCSRG_BASED -DFULL_R5 
-I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO 
-DOS_HAS_LOCALE -DOS_HAS_MMAP                              -DDYNAMICLIB 
   -c gettext.c  -o shared/gettext.o
gettext.c:16: conflicting types for `mmap'
/usr/include/stdio.h:296: previous declaration of `mmap'
gettext.c:454: warning: static declaration for `_gettext' follows non-static
*** Error code 1
Comment 2 obraun 2002-05-15 15:23:16 UTC
* David W. Chapman Jr. <dwcjr@inethouston.net> [2002-05-15 16:08]:
> I get this after applying your patch, but I think its a problem with my 
> -current.

> DOS_HAS_LOCALE -DOS_HAS_MMAP                        -DDYNAMICLIB 
> -I../../../build/include  -I/usr/X11R6/include    -DCSRG_BASED -DFULL_R5 
> -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO 
> -DOS_HAS_LOCALE -DOS_HAS_MMAP                              -DDYNAMICLIB 
>   -c gettext.c  -o shared/gettext.o
> gettext.c:16: conflicting types for `mmap'
> /usr/include/stdio.h:296: previous declaration of `mmap'
> gettext.c:454: warning: static declaration for `_gettext' follows non-static
> *** Error code 1

I am going to retry this at home.

Regards,
         Olli
-- 
Institute for Software Technology  &  Institute for Information Systems
Department of Computing Science, Federal Armed Forces University Munich
--------------------------- http://ist.unibw-muenchen.de/People/obraun/
Comment 3 dwcjr freebsd_committer 2002-05-15 21:03:52 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dwcjr freebsd_committer 2002-05-15 21:03:52 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 5 dwcjr freebsd_committer 2002-05-15 21:03:52 UTC
State Changed
From-To: open->closed

Committed, thanks!