[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#56835: marked as done (frad: NMU patches for alpha)



Your message dated Wed, 22 Aug 2001 21:07:59 +0200 (CEST)
with message-id <Pine.NEB.4.33.0108222059480.21540-100000@mimas.fachschaften.tu-muenchen.de>
and subject line These bugs can be closed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Feb 2000 22:55:20 +0000
Received: (qmail 9375 invoked from network); 1 Feb 2000 22:55:19 -0000
Received: from post-11.mail.nl.demon.net (HELO post.mail.nl.demon.net) (194.159.73.21)
  by master.debian.org with SMTP; 1 Feb 2000 22:55:19 -0000
Received: from [194.159.224.75] (helo=alf.toecompst.nl)
	by post.mail.nl.demon.net with smtp (Exim 2.12 #1)
	id 12FmCa-0004af-00
	for submit@bugs.debian.org; Tue, 1 Feb 2000 22:55:16 +0000
Received: from paul by alf.toecompst.nl with local (Exim 3.12 #1 (Debian))
	id 12FmCW-0001Wj-00; Tue, 01 Feb 2000 23:55:12 +0100
Date: Tue, 1 Feb 2000 23:55:12 +0100
From: Paul Slootman <paul@debian.org>
To: submit@bugs.debian.org
Subject: frad: NMU patches for alpha
Message-ID: <20000201235512.A5869@wurtel.demon.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0i
Sender: Paul Slootman <paul@wurtel.demon.nl>

Package: frad
Version: 0.20-3

The following patches were needed to build on alpha.

- strings.h is a BSDism, and does _not_ supply the prototypes for strcpy,
  strchr, ...  string.h _does_.

- By adding #define CONFIG_DLCI_MODULE (needed in linux/if_frad.h) in a
  couple of source files, I didn't need to fake a kernel config with
  that defined.  This makes it possible to unconditionally build this
  package no matter what kernel config is installed.

- ANSI C demands that main() returns an int value, not void.

Please implement these patches in your next version so that from then on
your package can be supported on other architectures without any effort.

Thanks,
Paul Slootman <paul@debian.org>

diff -ru frad-0.20.orig/debian/changelog frad-0.20/debian/changelog
--- frad-0.20.orig/debian/changelog	Tue Feb  1 21:33:25 2000
+++ frad-0.20/debian/changelog	Tue Feb  1 21:35:51 2000
@@ -1,3 +1,11 @@
+frad (0.20-3.1) frozen unstable; urgency=low
+
+  * NMU build for alpha (binary-only)
+  * some tweaks made so that /usr/include/linux/config.h didn't need to be
+    hacked, plus correct prototypes.
+
+ -- Paul Slootman <paul@debian.org>  Tue,  1 Feb 2000 21:34:23 +0100
+
 frad (0.20-3) unstable; urgency=low
 
   * new maintainer
diff -ru frad-0.20.orig/src/cfgfile.c frad-0.20/src/cfgfile.c
--- frad-0.20.orig/src/cfgfile.c	Sun Jan 25 08:46:09 1998
+++ frad-0.20/src/cfgfile.c	Tue Feb  1 20:49:52 2000
@@ -14,7 +14,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <malloc.h>
 #include <ctype.h>
 
diff -ru frad-0.20.orig/src/dlcicfg.c frad-0.20/src/dlcicfg.c
--- frad-0.20.orig/src/dlcicfg.c	Sun Jan 25 08:46:09 1998
+++ frad-0.20/src/dlcicfg.c	Tue Feb  1 21:28:23 2000
@@ -16,7 +16,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <errno.h>
@@ -29,6 +29,7 @@
 #define _LINUX_SOCKET_H
 #endif
 
+#define CONFIG_DLCI_MODULE
 #include <linux/if.h>
 #include <linux/if_frad.h>
 
diff -ru frad-0.20.orig/src/fradcfg.c frad-0.20/src/fradcfg.c
--- frad-0.20.orig/src/fradcfg.c	Sun Jan 25 08:46:09 1998
+++ frad-0.20/src/fradcfg.c	Tue Feb  1 21:30:04 2000
@@ -15,7 +15,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <errno.h>
@@ -28,6 +28,7 @@
 #define _LINUX_SOCKET_H
 #endif
 
+#define CONFIG_DLCI_MODULE
 #include <linux/if.h>
 #include <linux/if_frad.h>
 #include <linux/sdla.h>
@@ -200,7 +201,7 @@
    }
 }
 
-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
    int              quiet;
    char             c;
@@ -283,4 +284,6 @@
       }
    }
    config_clean(cfg_info);
+
+   return 0;
 }
diff -ru frad-0.20.orig/src/sdlacfg.c frad-0.20/src/sdlacfg.c
--- frad-0.20.orig/src/sdlacfg.c	Sun Jan 25 09:11:55 1998
+++ frad-0.20/src/sdlacfg.c	Tue Feb  1 21:30:47 2000
@@ -14,7 +14,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <strings.h>
+#include <string.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <fcntl.h>
@@ -33,6 +33,7 @@
 
 #include <asm/io.h>
 
+#define CONFIG_DLCI_MODULE
 #include <linux/if.h>
 #include <linux/netdevice.h>
 #include <linux/if_arp.h>
---------------------------------------
Received: (at 56835-done) by bugs.debian.org; 22 Aug 2001 19:08:50 +0000
>From bunk@fs.tum.de Wed Aug 22 14:08:50 2001
Return-path: <bunk@fs.tum.de>
Received: from hermes.fachschaften.tu-muenchen.de [129.187.176.19] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15ZdMR-0002XM-00; Wed, 22 Aug 2001 14:08:50 -0500
Received: (qmail 17460 invoked from network); 22 Aug 2001 19:08:03 -0000
Received: from mimas.fachschaften.tu-muenchen.de (HELO mimas) (129.187.176.26)
  by hermes.fachschaften.tu-muenchen.de with SMTP; 22 Aug 2001 19:08:03 -0000
Date: Wed, 22 Aug 2001 21:07:59 +0200 (CEST)
From: Adrian Bunk <bunk@fs.tum.de>
X-X-Sender:  <bunk@mimas.fachschaften.tu-muenchen.de>
To:  <51601-done@bugs.debian.org>,  <51738-done@bugs.debian.org>, 
     <51767-done@bugs.debian.org>,  <52610-done@bugs.debian.org>, 
     <56777-done@bugs.debian.org>,  <83516-done@bugs.debian.org>, 
     <67960-done@bugs.debian.org>,  <84921-done@bugs.debian.org>, 
     <86267-done@bugs.debian.org>,  <88776-done@bugs.debian.org>, 
     <93871-done@bugs.debian.org>,  <103550-done@bugs.debian.org>, 
     <107831-done@bugs.debian.org>,  <93870-done@bugs.debian.org>, 
     <104793-done@bugs.debian.org>,  <15792-done@bugs.debian.org>, 
     <21690-done@bugs.debian.org>,  <24890-done@bugs.debian.org>, 
     <26683-done@bugs.debian.org>,  <29471-done@bugs.debian.org>, 
     <32819-done@bugs.debian.org>,  <48971-done@bugs.debian.org>, 
     <56835-done@bugs.debian.org>,  <64367-done@bugs.debian.org>, 
     <91065-done@bugs.debian.org>,  <91179-done@bugs.debian.org>, 
     <91491-done@bugs.debian.org>,  <91654-done@bugs.debian.org>, 
     <94463-done@bugs.debian.org>,  <95532-done@bugs.debian.org>, 
     <94893-done@bugs.debian.org>,  <103340-done@bugs.debian.org>
Subject: These bugs can be closed
Message-ID: <Pine.NEB.4.33.0108222059480.21540-100000@mimas.fachschaften.tu-muenchen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 56835-done@bugs.debian.org


These bugs in packages maintained by Debian QA were already closed (and
fixed packages are already in unstable) but only marked as fixed.

cu
Adrian

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400



Reply to: