tags 310150 patch thanks Hello,
I've prepared a 0-day NMU for this bug, so that zaptel is buildable, including on xfs filesystems where this error apparently occurs. The patch also includes a refined fix for bug #305731. Upload to follow shortly. Thanks, -- Steve Langasek postmodern programmer
diff -u zaptel-1.0.7/debian/rules zaptel-1.0.7/debian/rules
--- zaptel-1.0.7/debian/rules
+++ zaptel-1.0.7/debian/rules
@@ -95,12 +95,12 @@
install -d debian/tmp/etc
install -m 644 zaptel.conf.sample debian/tmp/etc/zaptel.conf
- install -d -m 644 debian/tmp/usr/share/lintian/overrides/
+ install -d -m 755 debian/tmp/usr/share/lintian/overrides/
install -m 644 debian/zaptel.lintian
debian/tmp/usr/share/lintian/overrides/zaptel
# make sure we do ship some documentation on how to deal with zaphfc
- install -d -m 644 debian/tmp/usr/share/doc/zaptel/examples/zaphfc
- install -d -m 644 debian/tmp/usr/share/doc/zaptel/examples/qozap
+ install -d -m 755 debian/tmp/usr/share/doc/zaptel/examples/zaphfc
+ install -d -m 755 debian/tmp/usr/share/doc/zaptel/examples/qozap
install -m 644 zaphfc/*.conf*
debian/tmp/usr/share/doc/zaptel/examples/zaphfc
install -m 644 qozap/*.conf*
debian/tmp/usr/share/doc/zaptel/examples/qozap
diff -u zaptel-1.0.7/debian/changelog zaptel-1.0.7/debian/changelog
--- zaptel-1.0.7/debian/changelog
+++ zaptel-1.0.7/debian/changelog
@@ -1,3 +1,17 @@
+zaptel (1:1.0.7-4.1) unstable; urgency=high
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge-targetted RC bugfix
+ * Make sure directories are created mode 755 instead of mode 644, as
+ this otherwise causes problems for building (apparently on xfs
+ filesystems). Closes: #310150.
+ * Tweak debian/patches/Makefile.dpatch fix from the previous NMU so
+ that it isn't unnecessarily fragile: -fsigned-char is *always*
+ either a no-op or required, so lose the architecture checking and
+ enable it unconditionally. Closes: #305731.
+
+ -- Steve Langasek <[EMAIL PROTECTED]> Sun, 22 May 2005 02:48:44 -0700
+
zaptel (1:1.0.7-4) unstable; urgency=high
* NMU as VOIP team taking so long. Fix compiler flags so that ztcfg
diff -u zaptel-1.0.7/debian/patches/Makefile.dpatch
zaptel-1.0.7/debian/patches/Makefile.dpatch
--- zaptel-1.0.7/debian/patches/Makefile.dpatch
+++ zaptel-1.0.7/debian/patches/Makefile.dpatch
@@ -27,7 +27,7 @@
CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER
-CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
-CFLAGS+=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi)
-+CFLAGS+=$(shell if echo $(UNAME_M) | grep -q "ppc\|powerpc\|arm\|s390"; then
echo "-fsigned-char"; fi)
++CFLAGS+=-fsigned-char
+CFLAGS+=$(shell if echo $(UNAME_M) | grep -q x86_64; then echo "-m64"; fi)
LCFLAGS=-fPIC $(CFLAGS) -DBUILDING_TONEZONE
-KFLAGS+=-I/usr/src/linux-2.4/include -O6
signature.asc
Description: Digital signature

