Bug#976718: fastboot is completely broken

2020-12-07 Thread Paul Brook
Package: fastboot
Version: 1:10.0.0+r36-1~stage1.3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

$ fastboot devices
fake placeholder until fastboot builds

Closer inventigation shows that the fastboot binary has indeed been
replaced by a small shell script with zero functionality

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

fastboot depends on no packages.

Versions of packages fastboot recommends:
ii  android-sdk-platform-tools  27.0.0+12

fastboot suggests no packages.

-- no debconf information



Bug#856487: libsbc1: compiling with gcc > 4.9 causes stack corruption

2017-04-17 Thread Paul Brook
Package: libsbc1
Version: 1.3-1+b2
Followup-For: Bug #856487

Not a stack corruption.

This is miscompilation of sbc_analyze_4b_8s_armv6.  gcc appears to look
into the asm function and decides that it does not clobber r3 (which the
normal ARM ABI says is call clobbered).  The last out += out_stride ends
up incrementing the pointer by an arbitrary amount.

The attached patch works around the bug.

I'm not entirely sure whether this is a gcc bug or not, but at best it's
surprising behavior from gcc.  I've attached a reduced testcase for the 
toolchain
folks to argue over (compile with gcc -O2, tested with gcc 6.3.0-2 from
sid).

Paul

diff -ur clean/sbc/sbc_primitives_armv6.c sbc-1.3/sbc/sbc_primitives_armv6.c
--- clean/sbc/sbc_primitives_armv6.c2013-04-30 17:19:23.0 +0100
+++ sbc-1.3/sbc/sbc_primitives_armv6.c  2017-04-17 16:43:49.918809345 +0100
@@ -102,6 +102,7 @@
"pop{r8-r11}\n"
"stmia  r1, {r4, r5, r6, r7}\n"
"pop{r1, r4-r7, pc}\n"
+:::"r0", "r2", "r3", "ip"
);
 }
 
@@ -258,6 +259,7 @@
"pop{r8-r11}\n"
"stmia  r1!, {r4, r5, r6, r7}\n"
"pop{r1, r4-r7, pc}\n"
+:::"r0", "r2", "r3", "ip"
);
 }
 
/* Compile with -O2 on arm */
#include 
#include 

static void __attribute__((naked)) frob(int16_t *a, int32_t *b, const int16_t 
*c)
{
/* The explicit clobber of r3 should not be necessary because that it 
is implied by the function call?
   gcc6 seems to look into the naked function and assume r3 is 
preserved accross the call.  */
__asm__ volatile ("mov r3, #0x8000\n\t"
"str r3, [r1]\n\t"
"bx lr"
#if 0
:::"r3"
#endif
);
}

int16_t c[4];
struct sbc_encoder_state;

void test(struct sbc_encoder_state *state,
int16_t *x, int32_t *out, int out_stride)
{
frob(x + 24, out, c);
out += out_stride;
frob(x + 16, out, c);
out += out_stride;
frob(x + 8, out, c);
out += out_stride;
frob(x + 0, out, c);
}

int main()
{
static int16_t a[32];
static int32_t b[32];
test(NULL, a, b, 8);
return 0;
}


Bug#855920: fail2ban: FTBFS: test_rewrite_file: AssertionError: False is not true

2017-04-16 Thread Paul Brook
Package: fail2ban
Followup-For: Bug #855920

Dear Maintainer,

Test failures occur if the build environment does not have the tzdata
package installed.  The test harness hardcodes TZ="Europe/Zurich".

Patch below fixes this by encoding the equyivalent explicit timezone
rather than using the geographic lookup.

Paul

diff -ur clean/fail2ban/tests/utils.py fail2ban-0.9.6/fail2ban/tests/utils.py
--- clean/fail2ban/tests/utils.py   2016-12-09 14:48:45.0 +
+++ fail2ban-0.9.6/fail2ban/tests/utils.py  2017-04-16 13:41:19.933359352 
+0100
@@ -95,7 +95,7 @@
# Set the time to a fixed, known value
# Sun Aug 14 12:00:00 CEST 2005
# yoh: we need to adjust TZ to match the one used by Cyril so all the 
timestamps match
-   os.environ['TZ'] = 'Europe/Zurich'
+   os.environ['TZ'] = 'CET-01CEST-02,M3.5.0,M10.5.0'
time.tzset()
MyTime.setTime(1124013600)
 



Bug#397080: linuxlogo: FTBFS on ARM

2006-11-04 Thread Paul Brook
Package: linuxlogo
Version: 4.14-4
Severity: serious
Tags: patch
Justification: no longer builds from source


Build fails on arm with:
make[3]: Entering directory
`/build/buildd/linuxlogo-4.14/libsysinfo-0.1.0/Linux'
make[3]: *** No rule to make target `armv4l', needed by `cpuinfo.o'.  Stop.

Where "armv4l" varies depending on the exact machine.

Patch below fixes the makefile to recognice all arm variants from uname -m.

--- libsysinfo-0.1.0/Linux/Makefile.clean   2006-11-05 00:13:03
+++ libsysinfo-0.1.0/Linux/Makefile 2006-11-05 00:23:23
@@ -20,6 +20,9 @@
 ifeq ($(ARCH),parisc64)
ARCH := parisc
 endif
+ifeq ($(findstring arm,$(ARCH)),arm)
+   ARCH := arm
+endif

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#389292: gnome-presence-applet: Also fails on i386 and arm

2006-11-04 Thread Paul Brook
Package: gnome-presence-applet
Version: 0.3.1-1+b1
Followup-For: Bug #389292


Package also FTBFS on arm and i386.
The problem seems to be GalagoList.
Google suggests this should be defined in galago-list.h.  However this
header does not exist in the libgalago-dev package.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-xen-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#397048: gtk-gnutella: FTBFS on ARM

2006-11-04 Thread Paul Brook
Package: gtk-gnutella
Version: 0.96.1svn12109-1
Severity: serious
Tags: patch
Justification: no longer builds from source


Build fails on ARM with STATIC_ASSERT failures.  The ARM ABI padds
structudes to 4-byte boundaries by default.  The attached patch adds
__attribute__((packed)) to inhibit this on structures that need to be
a funny size.

Paul

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-rc7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur gtk-gnutella-clean/src/core/gnutella.h gtk-gnutella-0.96.1svn12109/src/core/gnutella.h
--- gtk-gnutella-clean/src/core/gnutella.h	2006-10-16 00:01:09.0 +0100
+++ gtk-gnutella-0.96.1svn12109/src/core/gnutella.h	2006-11-04 15:07:19.0 +
@@ -48,25 +48,25 @@
 struct gnutella_msg_init {
 	struct gnutella_header header;
 	/**< GGEP data may follow */
-};
+} __attribute__((packed));
 
 struct gnutella_init_response {
 	guchar host_port[2];
 	guchar host_ip[4];
 	guchar files_count[4];
 	guchar kbytes_count[4];
-};
+} __attribute__((packed));
 
 struct gnutella_msg_init_response {
 	struct gnutella_header header;
 	struct gnutella_init_response response;
 	/**< GGEP data may follow */
-};
+} __attribute__((packed));
 
 struct gnutella_search {
 	guchar speed[2];
 	/**< query string follows */
-};
+} __attribute__((packed));
 
 struct gnutella_search_results {
 	guchar num_recs;
@@ -76,41 +76,41 @@
 	/* record data follows */
 
 	/* Last 16 bytes = client_id */
-};
+} __attribute__((packed));
 
 struct gnutella_msg_search {
 	struct gnutella_header header;
 	struct gnutella_search search;
-};
+} __attribute__((packed));
 
 struct gnutella_push_request {
 	guchar guid[16];
 	guchar file_id[4];
 	guchar host_ip[4];
 	guchar host_port[2];
-};
+} __attribute__((packed));
 
 struct gnutella_msg_push_request {
 	struct gnutella_header header;
 	struct gnutella_push_request request;
 	/**< GGEP data may follow */
-};
+} __attribute__((packed));
 
 struct gnutella_bye {
 	guchar code[2];
 	/**< message string follows */
-};
+} __attribute__((packed));
 
 struct gnutella_qrp_reset {
 	guchar variant;			/**< 0x00 */
 	guchar table_length[4];	/**< little endian */
 	guchar infinity;
-};
+} __attribute__((packed));
 
 struct gnutella_msg_qrp_reset {
 	struct gnutella_header header;
 	struct gnutella_qrp_reset data;
-};
+} __attribute__((packed));
 
 struct gnutella_qrp_patch {
 	guchar variant;			/**< 0x01 */
@@ -118,29 +118,29 @@
 	guchar seq_size;
 	guchar compressor;
 	guchar entry_bits;
-};
+} __attribute__((packed));
 
 struct gnutella_msg_qrp_patch {
 	struct gnutella_header header;
 	struct gnutella_qrp_patch data;
-};
+} __attribute__((packed));
 
 struct gnutella_vendor {
 	guchar vendor[4];		/**< For example, "GTKG" */
 	guchar selector_id[2];	/**< Message selector ID, little endian */
 	guchar version[2];		/**< Message version number, little endian */
 	/* payload follows */
-};
+} __attribute__((packed));
 
 struct gnutella_msg_vendor {
 	struct gnutella_header header;
 	struct gnutella_vendor data;
-};
+} __attribute__((packed));
 
 struct gnutella_msg_hsep_data {
 	struct gnutella_header header;
 	guchar triple[3 * sizeof(guint64)];
-};
+} __attribute__((packed));
 
 #endif /* _core_gnutella_h_ */
 
diff -ur gtk-gnutella-clean/src/core/qhit.c gtk-gnutella-0.96.1svn12109/src/core/qhit.c
--- gtk-gnutella-clean/src/core/qhit.c	2006-10-16 00:01:09.0 +0100
+++ gtk-gnutella-0.96.1svn12109/src/core/qhit.c	2006-11-04 16:16:38.0 +
@@ -677,7 +677,7 @@
 struct {
 	gchar ipv4[4];
 	gchar port[2];
-} alt;
+} __attribute__((packed)) alt;
 			
 STATIC_ASSERT(sizeof alt == 6);
 poke_be32(alt.ipv4, host_addr_ipv4(hvec[i].addr));
diff -ur gtk-gnutella-clean/src/if/core/gnutella.h gtk-gnutella-0.96.1svn12109/src/if/core/gnutella.h
--- gtk-gnutella-clean/src/if/core/gnutella.h	2006-10-16 00:01:09.0 +0100
+++ gtk-gnutella-0.96.1svn12109/src/if/core/gnutella.h	2006-11-04 15:03:09.0 +
@@ -62,7 +62,7 @@
 	guchar ttl;
 	guchar hops;
 	guchar size[4];
-};
+} __attribute__((packed));
 
 #define GTA_HEADER_SIZE		sizeof(struct gnutella_header)
 


Bug#394778: mrxvt: FTBFS on ARM

2006-10-22 Thread Paul Brook
Package: mrxvt
Version: 0.5.2-1
Severity: serious
Tags: patch
Justification: no longer builds from source


Unlike many other targets, ARM does not allow $ symbols in identifiers.
The only use of these appears to be for some third parts syayic code
analysis system.  The patch below disables it on arm, allowing the
package to build.

Paul

--- mrxvt-clean/src/rxvt.h  2006-10-01 22:50:38.0 +0100
+++ mrxvt-0.5.2/src/rxvt.h  2006-10-23 00:04:38.0 +0100
@@ -488,7 +488,7 @@
  * turn is unsafe without checking. Untainted defines the type of data that is
  * safe.
  */
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__arm__)
 # define $tainted
 # define $untainted
 # define TAINTED$tainted

-- System Information:
Debian Release: testing/unstable
Architecture: arm (armv5tejl)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#394764: pnet: FTBFS on ARM

2006-10-22 Thread Paul Brook
Package: pnet
Version: 0.7.4-1
Severity: serious
Tags: patch
Justification: no longer builds from source


Build fails on ARM with 
Error: Rn must not overlap other operands -- `swp r3,r4,[r3]'

The error is correct.  This is coming from a broken inline assembly
statement.  Patch below fixes it.

Paul

--- pnet-0.7.4/libgc/include/private/gc_locks.h.old 2006-10-22 21:24:06 
+0100
+++ pnet-0.7.4/libgc/include/private/gc_locks.h 2006-10-22 21:25:57 +0100
@@ -244,7 +244,7 @@
* this code will likely need to be updated. */
   /* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
   __asm__ __volatile__("swp %0, %1, [%2]"
-: "=r"(oldval)
+: "=&r"(oldval)
 : "r"(1), "r"(addr)
 : "memory");
   return oldval;

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#394741: klic: FTBFS on ARM

2006-10-22 Thread Paul Brook
Package: klic
Version: 3.003-gm1-4
Severity: serious
Tags: patch
Justification: no longer builds from source


On ARM the buildd is failing because it times out while running the
configure script.  The patch below increases the timeout by a healthy
margin to avoid this.

Paul

--- klic-clean/debian/configure.expect  2006-10-22 20:11:34.0 +0100
+++ klic-3.003-gm1/debian/configure.expect  2006-10-22 20:07:40.0 
+0100
@@ -1,4 +1,4 @@
 #!/usr/bin/expect --
 
-set timeout 10
+set timeout 60
 spawn ./Configure

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#381632: vde: Fails to install

2006-08-05 Thread Paul Brook
Package: vde
Version: 1.5.11-1
Severity: grave
Justification: renders package unusable


Installation fails with:

Setting up vde (1.5.11-1) ...
useradd: invalid numeric argument 'vde-net'
adduser: `/usr/sbin/useradd -d /home/vde-net -g vde-net -s /bin/false -u
109 vde-net' returned error code 3. Exiting.
dpkg: error processing vde (--configure):
 subprocess post-installation script returned error exit status 1


"grep /proc/group vde" gives:

vde-net:x:122:

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-xen-amd64-k8
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages vde depends on:
ii  adduser   3.96   Add and remove users and groups
ii  libc6 2.3.6-18   GNU C Library: Shared libraries

vde recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352619: FTBFS: undefined reference to `XF86VidModeQueryVersion'

2006-02-13 Thread Paul Brook
> > The missing symbols are defined in libXxf86vm.a
>
> kdegraphics certainly builds here, and the most recent upload built fine on
> the buildds. We depend on libxxf86vm-dev, so everything should be
> available. I'm not sure why you would get a different result on your
> machine. Are you running X.Org from experimental?

I'm running unstable last updated yesterday. I do have libxxf86vm-dev 
installed, but for some reason kpovmodeller is not trying to link against it.

ii  libxxf86vm-dev 6.9.0.dfsg.1-4 X Video Mode selection library development f
ii  xserver-xorg   6.9.0.dfsg.1-4 the X.Org X server

Paul


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352619: FTBFS: undefined reference to `XF86VidModeQueryVersion'

2006-02-12 Thread Paul Brook
Package: kpovmodeler
Version: 4:3.5.1-2
Severity: serious
Tags: patch
Justification: no longer builds from source


Build fails on i386 with

g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
-DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o .libs/kpovmodeler
main.o  -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib
./.libs/libkpovmodeler.so -lm
./.libs/libkpovmodeler.so: undefined reference to
`XF86VidModeQueryVersion'
./.libs/libkpovmodeler.so: undefined reference to
`XF86VidModeGetModeLine'
collect2: ld returned 1 exit status

The missing symbols are defined in libXxf86vm.a

Adding $(LIBVM) to libkpovmodeler_la_LIBADD seems to fix the build.
Patch below.

I'm not sure if this is the correct solution or if this is really an
xlibmesa-gl-dev/autoconf bug.

Paul

diff -urp kdegraphics-3.5.1/kpovmodeler/Makefile.am 
kdegraphics-fixed/kpovmodeler/Makefile.am
--- kdegraphics-3.5.1/kpovmodeler/Makefile.am   2005-09-10 09:18:54.0 
+0100
+++ kdegraphics-fixed/kpovmodeler/Makefile.am   2006-02-12 23:39:11.0 
+
@@ -110,7 +110,7 @@ libkpovmodeler_la_SOURCES = pmpart.cpp p
pmpartiface.skel
 
 libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 -no-undefined 
$(LIBFREETYPE_RPATH)
-libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) -lXmu 
-lXi
+libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) $(LIBVM) 
-lXmu -lXi
 METASOURCES = AUTO
 
 noinst_HEADERS = pmpart.h pmfactory.h pmview.h pmshell.h pmobjectdrag.h \
diff -urp kdegraphics-3.5.1/kpovmodeler/Makefile.in 
kdegraphics-fixed/kpovmodeler/Makefile.in
--- kdegraphics-3.5.1/kpovmodeler/Makefile.in   2006-02-12 23:40:46.0 
+
+++ kdegraphics-fixed/kpovmodeler/Makefile.in   2006-02-12 23:39:40.0 
+
@@ -857,7 +854,7 @@
 #>- libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 
-no-undefined $(LIBFREETYPE_RPATH)
 #>+ 1
 libkpovmodeler_la_LDFLAGS = $(all_libraries) -version-info 0:0:0 -no-undefined 
$(KDE_NO_UNDEFINED) $(LIBFREETYPE_RPATH)
-libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) -lXmu 
-lXi
+libkpovmodeler_la_LIBADD = $(LIBFREETYPE_LIBS) $(LIB_KPARTS) $(GLLIB) $(LIBVM) 
-lXmu -lXi
 #>- METASOURCES = AUTO
 noinst_HEADERS = pmpart.h pmfactory.h pmview.h pmshell.h pmobjectdrag.h \
pmtreeview.h pmtreeviewitem.h pmmessage.h \

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-w64
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages kpovmodeler depends on:
ii  kdelibs4c2a   4:3.5.1-2  core libraries for all KDE applica
ii  libc6 2.3.5-13   GNU C Library: Shared libraries an
ii  libfreetype6  2.1.10-1   FreeType 2 font engine, shared lib
ii  libgcc1   1:4.0.2-8  GCC support library
ii  libglu1-xorg [libglu1]6.9.0.dfsg.1-4 Mesa OpenGL utility library [X.Org
ii  libqt3-mt 3:3.3.5-3  Qt GUI Library (Threaded runtime v
ii  libstdc++64.0.2-8The GNU Standard C++ Library v3
ii  libx11-6  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxi66.9.0.dfsg.1-4 X Window System Input extension li
ii  libxmu6   6.9.0.dfsg.1-4 X Window System miscellaneous util
ii  xlibmesa-gl [libgl1]  6.9.0.dfsg.1-4 Mesa 3D graphics library [X.Org]
ii  zlib1g1:1.2.3-9  compression library - runtime

kpovmodeler recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#348266: bzip2: Patch for #348266

2006-01-15 Thread Paul Brook
Package: bzip2
Version: 1.0.3-1.1
Followup-For: Bug #348266

Patch below fixes this for me.

Paul

diff -ur bzip2-1.0.3/debian/docbase bzip2/debian/docbase
--- bzip2-1.0.3/debian/docbase  2006-01-16 01:31:24.0 +
+++ bzip2/debian/docbase2006-01-16 01:27:00.0 +
@@ -9,6 +9,7 @@
 Section: Apps/Tools
 
 Format: html
+Index: /usr/share/doc/bzip2/manual.html
 Files: /usr/share/doc/bzip2/manual.html
 
 Format: postscript


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#301274: ksynaptics: Alternative patch

2005-09-09 Thread Paul Brook
Package: ksynaptics
Version: 0.2.0-1.1
Followup-For: Bug #301274


Better patch which keeps TouchPad::coastingSpeedThreshold
as a static data member.

Paul

--- ksynaptics-0.2.0.orig/ksynaptics/src/touchpad.cpp
+++ ksynaptics-0.2.0/ksynaptics/src/touchpad.cpp
@@ -31,6 +31,7 @@
 
 TouchPad *TouchPad::m_self = 0;
 static KStaticDeleter staticTouchPadDeleter;
+const double TouchPad::coastingSpeedThreshold;
 
 static int finger_low[] = { 53, 38, 25, 18, 10 };
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#296242: freeglut: Also FTBFS on i386

2005-07-17 Thread Paul Brook
Package: freeglut
Followup-For: Bug #296242


This package now FTBFS on i386 with the same error. Alternative patch
below.

diff -u clean/freeglut_callbacks.c ./freeglut_callbacks.c
--- clean/freeglut_callbacks.c  2004-03-30 09:37:27.0 +0100
+++ ./freeglut_callbacks.c  2005-07-16 11:30:17.0 +0100
@@ -41,7 +41,7 @@
 #define SET_CALLBACK(a)  \
 if( fgStructure.Window == NULL ) \
 return;  \
-FETCH_WCB( ( *( fgStructure.Window ) ), a ) = callback;
+SET_WCB( ( *( fgStructure.Window ) ), a, callback);
 
 /*
  * Sets the Display callback for the current window
diff -u clean/freeglut_internal.h ./freeglut_internal.h
--- clean/freeglut_internal.h   2004-03-30 09:37:27.0 +0100
+++ ./freeglut_internal.h   2005-07-16 11:29:52.0 +0100
@@ -373,6 +373,17 @@
 
 
 /*
+ * SET_WCB() is used as:
+ *
+ * SET_WCB( window, Visibility, val);
+ *
+ * ...where {window} is the freeglut window to set the callback on,
+ *  {Visibility} is the window-specific callback to fetch.
+ */
+#define SET_WCB(window,cbname,val) \
+((window).CallBacks[CB_ ## cbname]) = (void *)val
+
+/*
  * FETCH_WCB() is used as:
  *
  * FETCH_WCB( window, Visibility );
diff -u clean/freeglut_structure.c ./freeglut_structure.c
--- clean/freeglut_structure.c  2004-03-30 09:37:27.0 +0100
+++ ./freeglut_structure.c  2005-07-16 11:30:31.0 +0100
@@ -209,7 +209,7 @@
 {
 void *destroy = FETCH_WCB( *window, Destroy );
 fgClearCallBacks( window );
-FETCH_WCB( *window, Destroy ) = destroy;
+SET_WCB( *window, Destroy, destroy);
 }
 }
 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2-f
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#317098: Kmail segfaults at startup after minor upgrade of kdelibs4

2005-07-13 Thread Paul Brook
Rebuilding the kdepim source package, and installing the resulting lib*.deb 
fixed the problem for me.

Paul


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]