Bug#381248: libsdl1.2: FTBFS in powerpc due to the use of PAGE_SIZE

Margarita Manterola marga at debian.org
Thu Aug 3 01:48:07 UTC 2006


Package: libsdl1.2
Version: 1.2.11-1
Severity: serious
Tags: patch
Justification: Policy 5.6.8

Hi!

libsdl1.2 is failing to build in powerpc [0] due to the use of PAGE_SIZE
which was dropped in powerpc (and will soon be dropped in the other arches
as well).

I've created a patch that fixes this problem.  I'm dropping the use of
PAGE_SIZE completely, in favour of sysconf(_SC_PAGESIZE), as suggested by
various developers.

I've tested this build in i386, amd64 and powerpc, and it builds fine.
Please send this patch upstream.

Thanks,
	Marga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 110_page_size.diff
Type: text/x-c
Size: 1438 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20060802/1f0fa2bf/110_page_size.bin


More information about the Pkg-sdl-maintainers mailing list