Re: [AD] 4.2.1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


There are 2 diffs I have related to OS X.

1. Allow the framework to be installed without installing all the
standalone headers to /usr/local/include
Sort-of alluded to in Thomas's post
http://www.allegro.cc/forums/thread/588521/627903#target ... though I
don't understand why he's objecting to /usr in general, OS X is really
BSD after all.
File: osx-framework-install.patch

2. Fix an error if you make uninstall and never installed the Apple
help bundle in the first place (make fails when trying to delete a
non-existent directory)
File: osx-uninstall-docs.patch

I've tested both of these, number 2 is definitely an error, number 1
I'm not too fussed about.

Please could someone else test and commit as appropriate.

Thanks
Pete

On 11/24/06, Peter Wang <tjaden@xxxxxxxxxx> wrote:
On 2006-11-23, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> On Thu, 2006-11-23 at 13:44 +0100, Milan Mimica wrote:
> > Elias Pschernig wrote:
> > >
> > > Is the patch in current SVN? I made a script last time to automate the
> > > CF tests, so could easily re-run on their BSD with it.
> >
> > I'm resending the patch, it was not applied. Try it.
> >
> >
>
> Didn't help much it seems. But given that one of them seems to even have
> a bogus pthreads installation, I really wouldn't pay too much attention
> to the SF CF results. And as nobody reported problems on a real BSD
> since the RC, I guess we can safely release it.
>
> http://alleg.sf.net/compilefarm/x86-freebsd1.txt
> http://alleg.sf.net/compilefarm/x86-netbsd1.txt
> http://alleg.sf.net/compilefarm/x86-openbsd1.txt

I tried compiling Allegro 4.2 SVN on Solaris, and there were a bunch of
problems with the mprotect() stuff.  It seems the proper way to get the
memory page size is using sysconf(_SC_PAGESIZE) instead of the PAGE_SIZE
macro (even on Linux).  A quick patch follows (it's got some minor fixes to
_unix_get_executable_name() intermingled in it).
Note I didn't actually test that the compiled programs work on Solaris,
as I did it remotely.

Peter


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers

Attachment: osx-framework-install.patch.gz
Description: GNU Zip compressed data

Attachment: osx-uninstall-docs.patch.gz
Description: GNU Zip compressed data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/