With this rules patch you can build zsnes without waiting for #448537 to be solved. Combined with the previous patch this bug can be fixed now.
--- zsnes-1.510.orig/debian/rules 2007-12-27 05:14:11.000000000 +0100 +++ zsnes-1.510/debian/rules 2007-12-26 13:44:34.000000000 +0100 @@ -3,6 +3,18 @@ # 2001-2005 Aaron Lehmann <[EMAIL PROTECTED]> # 2006 Joshua Kwan <[EMAIL PROTECTED]> +ifeq ($(DEB_HOST_ARCH),amd64) + CFLAGS = -m32 + ifneq ($(shell test -e /usr/lib32/libSDL.so && echo ok),ok) + MAKE_LINKS = mkdir -p lib \ + && ln -sf /usr/lib32/libSDL-1.2.so.0.11.0 lib/libSDL.so \ + && ln -sf /usr/lib32/libpng12.so.0.15.0 lib/libpng.so + LDFLAGS = -L../lib + endif +else + CONFIGURE_LIBAO = --enable-libao +endif + patch-stamp: dpatch apply-all touch $@ @@ -15,7 +27,8 @@ build-stamp: dh_testdir - cd src && ./configure --enable-opengl --disable-cpucheck --enable-release --disable-debugger --enable-libao force_arch=i486 && $(MAKE) + $(MAKE_LINKS) + cd src && CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-opengl --disable-cpucheck --enable-release --disable-debugger $(CONFIGURE_LIBAO) force_arch=i486 && $(MAKE) touch $@