[ ijbswa-Patches-3574538 ] Build without error on Haiku (more complete patch)
SourceForge.net <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
Patches item #3574538, was opened at 2012-10-04 11:23 Message generated for change (Comment added) made by simonsouth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=311118&aid=3574538&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Open Resolution: None Priority: 5 Private: No Submitted By: Simon South (simonsouth) Assigned to: Fabian Keil (fabiankeil) Summary: Build without error on Haiku (more complete patch) Initial Comment: 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 ---------------------------------------------------------------------- >Comment By: Simon South (simonsouth) Date: 2012-10-11 04:35 Message: Thanks, Fabian. I've tested the latest code from CVS and it works fine on Haiku with both gcc 2.95 and gcc 4. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2012-10-05 05:27 Message: Thanks again for the patches. The configure.in part has been committed as-is, the variable declaration changes have been slightly modified: http://ijbswa.cvs.sourceforge.net/viewvc/ijbswa/current/loadcfg.c?r1=1.130&r2=1.131 http://ijbswa.cvs.sourceforge.net/viewvc/ijbswa/current/filters.c?r1=1.172&r2=1.173 Please let me know if my modifications make gcc 2.95 unhappy again. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=311118&aid=3574538&group_id=11118 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev