Hi,
I have uploaded an NMU to fix this bug as part of the BSP this
weekend. This also fixes the usr/doc symlink creation. The diff
follows.
BTW, the standards-version is out of date, and there are bashisms in
the prerm which need removing.
Regards,
Roger
diff -urN uucpsend-1.1.original/debian/changelog uucpsend-1.1/debian/changelog
--- uucpsend-1.1.original/debian/changelog 2005-09-04 17:21:32.000000000
+0100
+++ uucpsend-1.1/debian/changelog 2005-09-04 17:34:25.835977712 +0100
@@ -1,3 +1,15 @@
+uucpsend (1.1-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * uucpsend.c: Don't cast lvalue in assignment. Fix type of
+ argument to free_sites() in order to remove unnecessary cast
+ (closes: Bug#297738).
+ * debian/postinst: Remove. This was only used to set the usr/doc
+ symlink, which is not no longer required.
+ * debian/rules: Don't install debian/postinst.
+
+ -- Roger Leigh <[EMAIL PROTECTED]> Sun, 4 Sep 2005 17:34:13 +0100
+
uucpsend (1.1-2) unstable; urgency=low
* Added a disclaimer for those people who plan to NMU this package
diff -urN uucpsend-1.1.original/debian/postinst uucpsend-1.1/debian/postinst
--- uucpsend-1.1.original/debian/postinst 2005-09-04 17:21:32.000000000
+0100
+++ uucpsend-1.1/debian/postinst 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-pkg=uucpsend
-
-if [ "$1" = "configure" ]; then
- if [ -d /usr/doc -a ! -e /usr/doc/${pkg} -a -d /usr/share/doc/${pkg} ]; then
- ln -sf ../share/doc/${pkg} /usr/doc/${pkg}
- fi
-fi
diff -urN uucpsend-1.1.original/debian/rules uucpsend-1.1/debian/rules
--- uucpsend-1.1.original/debian/rules 2005-09-04 17:21:32.000000000 +0100
+++ uucpsend-1.1/debian/rules 2005-09-04 17:34:10.852255584 +0100
@@ -59,7 +59,6 @@
#
$(installdoc) debian/conffiles debian/tmp/DEBIAN
$(installbin) debian/prerm debian/tmp/DEBIAN/prerm
- $(installbin) debian/postinst debian/tmp/DEBIAN/postinst
$(installdoc) debian/changelog
debian/tmp/usr/share/doc/$(package)/changelog.Debian
$(installdoc) debian/copyright
debian/tmp/usr/share/doc/$(package)/copyright
$(installdoc) readme debian/tmp/usr/share/doc/$(package)/
diff -urN uucpsend-1.1.original/uucpsend.c uucpsend-1.1/uucpsend.c
--- uucpsend-1.1.original/uucpsend.c 2001-11-22 18:03:07.000000000 +0000
+++ uucpsend-1.1/uucpsend.c 2005-09-04 17:26:50.485201552 +0100
@@ -281,12 +281,12 @@
void
free_sites(root)
-struct s_sites *root;
+struct s_site *root;
{
struct s_site *act;
struct s_site *tmp = NULL;
- (struct s_sites *)act = (struct s_sites *)root;
+ act = root;
while (act) {
tmp = act;
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]