Summary: 2.3.0 does not compile on OpenBSD 4.9
                 Project: Freeciv
            Submitted by: akfaew
            Submitted on: Mon Aug  8 15:31:41 2011
                Category: general
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.3.0
         Discussion Lock: Any
        Operating System: *BSD
         Planned Release: 



configured with:
./autogen.sh --disable-nls --disable-client --enable-debug=yes
built with:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../utility -I./aicore
-I/usr/local/include -DLOCALEDIR=\"/usr/local/share/locale\"
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Werror -g -O2 -MT dataio.lo -MD -MP -MF .deps/dataio.Tpo -c dataio.c -o
cc1: warnings being treated as errors
In file included from dataio.c:33:
/usr//include/arpa/inet.h:74: warning: 'struct in_addr' declared inside
parameter list
/usr//include/arpa/inet.h:74: warning: its scope is only this definition or
declaration, which is probably not what you want
/usr//include/arpa/inet.h:75: warning: 'struct in_addr' declared inside
parameter list
gmake[4]: *** [dataio.lo] Error 1
gmake[4]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[2]: *** [all] Error 2
rm packets_generate
gmake[2]: Leaving directory `/home/longturn/src/freeciv-2.3.0/common'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/longturn/src/freeciv-2.3.0'
gmake: *** [all] Error 2

Fix attached.

Supposing you commit the fix, how do I switch to the updated source tree?


File Attachments:

Date: Mon Aug  8 15:31:41 2011  Name: freeciv-2.3.0-openbsd-gmake  Size: 380B
  By: akfaew



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to