#2368 Fix freebsd10/freebsd9 support in sctp* in 5.7.2.pre1

freeBSD
closed
agent (1105)
5
2012-11-08
2012-06-05
No

5.7.2.pre1 is lacking ifdefs for freebsd10/freebsd9. The attached patch resolves this issue.

Discussion

  • Ryan Steinmetz

    Ryan Steinmetz - 2012-06-05

    Add freebsd10/freebsd9 checks to sctp* headers

     
  • Ryan Steinmetz

    Ryan Steinmetz - 2012-06-05

    This exists in 5.7.2.pre1 and should be fixed before the release of 5.7.2

     
  • Niels Baggesen

    Niels Baggesen - 2012-06-12

    These should not be necessary, as the freebsd9 include file includes freebsd8 which in turn includes freebsd7.
    My test compile on FreeBSD9 includes sctpScalars_freebsd etc. without extra defines.
    What probem do you see?

     
  • Ryan Steinmetz

    Ryan Steinmetz - 2012-06-12

    I was merging patches from the FreeBSD port and saw that this was added at some point in the past to resolve a build failure under FreeBSD 10-CURRENT.

    I don't see why a box running freebsd10 would #define freebsd8, so it sort of seems like they should still be needed.

     
  • Niels Baggesen

    Niels Baggesen - 2012-06-12

    For FreeBSD 10 you should create the proper system/freebsd10.h header file, that defines freebsd10 and includes freebsd9.h
    That is the proper solution, which also fixes it for the rest of the mib groups.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks