Package: python-pygame Version: 1.7.1release-4.1sam1 Severity: normal Tags: patch
Here is a patch to make it possible to build a version of pygame suitable for debugging: --- BEGIN PATCH --- diff --git a/debian/rules b/debian/rules index 114376a..48bf852 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,12 @@ PYVERS=$(shell pyversions -r debian/control) +ifeq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + configure: configure-stamp configure-stamp: dh_testdir @@ -16,7 +22,7 @@ build: build-stamp build-stamp: dh_testdir for python in $(PYVERS); \ - do $$python setup.py build; \ + do CFLAGS="$(CFLAGS)" $$python setup.py build; \ done touch $@ --- END PATCH --- -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-pygame depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii libsdl-image1.2 1.2.6-3 image loading library for Simple D ii libsdl-mixer1.2 1.2.8-3 mixer library for Simple DirectMed ii libsdl-ttf2.0-0 2.0.9-1 ttf library for Simple DirectMedia ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer ii libsmpeg0 0.4.5+cvs20030824-2 SDL MPEG Player Library - shared l ii python 2.5.2-1 An interactive high-level object-o ii python-central 0.6.6 register and build utility for Pyt ii python-numeric 24.2-8.2 Numerical (matrix-oriented) Mathem python-pygame recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]