#131 Build without error on Haiku (more complete patch)

closed-fixed
Fabian Keil
None
5
2012-10-12
2012-10-04
Simon South
No

Here's a more complete patch to add out-of-the-box support for Haiku (http://haiku-os.org/).

It improves on the previous patch (ID 3564815) by

- Disabling checks intended for multi-user systems (as Haiku is presently single-user)

- Adding additional library-related settings to remove the need for a custom "LDFLAGS" parameter to configure

- Grouping all custom configuration settings together in a "Haiku specific" section, following the pattern for Solaris, OS/2 and AmigaOS

- Allowing Privoxy to be built with gcc 2.95, desirable as part of Haiku's backwards-compatibility with BeOS---this involved moving a few variable declarations up to the start of functions in filters.c and loadcfg.c

With this patch applied, to configure Privoxy for building on Haiku this simpler command can be used:

./configure --prefix=`finddir B_COMMON_DIRECTORY` \ --sbindir=`finddir B_COMMON_BIN_DIRECTORY` \ --sysconfdir=`finddir B_COMMON_ETC_DIRECTORY`/privoxy \ --localstatedir=`finddir B_COMMON_VAR_DIRECTORY` \ --datarootdir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY` \ --infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \ --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man

Discussion

  • Simon South
    Simon South
    2012-10-04

    Build on Haiku (gcc2/gcc4) without error

     
  • Fabian Keil
    Fabian Keil
    2012-10-05

    • assigned_to: nobody --> fabiankeil
    • status: open --> pending
     
  • Simon South
    Simon South
    2012-10-11

    • status: pending --> open
     
  • Simon South
    Simon South
    2012-10-11

    Thanks, Fabian. I've tested the latest code from CVS and it works fine on Haiku with both gcc 2.95 and gcc 4.

     
  • Fabian Keil
    Fabian Keil
    2012-10-12

    • status: open --> closed-fixed
     
  • Fabian Keil
    Fabian Keil
    2012-10-12

    Great. Thanks for the confirmation, Simon.