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

Bug#782096: marked as done (QRQ: FTBFS on hurd-i386: PATH_MAX)



Your message dated Sat, 09 May 2015 22:32:24 +0000
with message-id <E1YrDIG-0006dt-S2@franck.debian.org>
and subject line Bug#782096: fixed in qrq 0.3.1-2
has caused the Debian Bug report #782096,
regarding QRQ: FTBFS on hurd-i386: PATH_MAX
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
782096: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782096
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: QRQ
Severity: important
Version: 0.3.1-1
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd
X-Debbugs-CC: debian-hurd@lists.debian.org

Error recorded in failed_packages.txt

PATH_MAX build error, replaced with _POSIX_PATH_MAX

Noob here, please assist on items i did wrong.
--- qrq.c_backup	2015-04-07 14:55:10.000000000 -0400
+++ qrq.c	2015-04-07 14:56:02.000000000 -0400
@@ -31,7 +31,7 @@
 #include <libgen.h>				/* basename */
 #include <ctype.h>
 #include <time.h> 
-#include <limits.h> 			/* PATH_MAX */
+#include <limits.h> 			/* _POSIX_PATH_MAX */
 #include <dirent.h>
 #include <math.h>
 #include <fcntl.h>
@@ -86,10 +86,10 @@
 
 /* List of available callbase files. Probably no need to do dynamic memory allocation for that list.... */
 
-static char cblist[100][PATH_MAX];
+static char cblist[100][_POSIX_PATH_MAX];
 
 static char mycall[15]="DJ1YFK";		/* mycall. will be read from qrqrc */
-static char dspdevice[PATH_MAX]="/dev/dsp";	/* will also be read from qrqrc */
+static char dspdevice[_POSIX_PATH_MAX]="/dev/dsp";	/* will also be read from qrqrc */
 static int score = 0;					/* qrq score */
 static int sending_complete;			/* global lock for "enter" while sending */
 static int callnr = 0;					/* nr of actual call in attempt */
@@ -157,11 +157,11 @@
 pthread_attr_t cwattr;
 #endif
 
-char rcfilename[PATH_MAX]="";			/* filename and path to qrqrc */
-char tlfilename[PATH_MAX]="";			/* filename and path to toplist */
-char cbfilename[PATH_MAX]="";			/* filename and path to callbase */
+char rcfilename[_POSIX_PATH_MAX]="";			/* filename and path to qrqrc */
+char tlfilename[_POSIX_PATH_MAX]="";			/* filename and path to toplist */
+char cbfilename[_POSIX_PATH_MAX]="";			/* filename and path to callbase */
 
-char destdir[PATH_MAX]="";
+char destdir[_POSIX_PATH_MAX]="";
 
 
 /* create windows */
@@ -177,7 +177,7 @@
 
   /* if built as osx bundle set DESTDIR to Resources dir of bundle */
 #ifdef OSX_BUNDLE
-  char tempdir[PATH_MAX]="";
+  char tempdir[_POSIX_PATH_MAX]="";
   char* p_slash = strrchr(argv[0], '/');
   strncpy(tempdir, argv[0], p_slash - argv[0]);
   p_slash = strrchr(tempdir, '/');
@@ -1969,8 +1969,8 @@
 void find_callbases () {
 	DIR *dir;
 	struct dirent *dp;
-	char tmp[PATH_MAX];
-	char path[3][PATH_MAX];
+	char tmp[_POSIX_PATH_MAX];
+	char path[3][_POSIX_PATH_MAX];
 	int i=0,j=0,k=0;
 
 #ifndef WIN32

--- End Message ---
--- Begin Message ---
Source: qrq
Source-Version: 0.3.1-2

We believe that the bug you reported is fixed in the latest version of
qrq, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 782096@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Tuckley <colint@debian.org> (supplier of updated qrq package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 09 May 2015 20:29:20 +0100
Source: qrq
Binary: qrq
Architecture: source amd64
Version: 0.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Colin Tuckley <colint@debian.org>
Description:
 qrq        - high speed morse trainer, similar to DL4MM's Rufz
Closes: 750241 782096
Changes:
 qrq (0.3.1-2) unstable; urgency=medium
 .
   * Bump Standards-Version to 3.9.6
   * Remove Hurd from list of supported archs (Closes: #782096)
     Thanks to patch from mtang@openmailbox.org
   * fix Conflicting declarations of function write_audio
     patch from Michael Tautschnig <mt@debian.org> (Closes: #750241)
Checksums-Sha1:
 17ae8ba48f1ea2efb02f3e07080df96cfe31f20e 1856 qrq_0.3.1-2.dsc
 4e47b4ac68d271e12d5c0653020b228f8bfe5eb8 6748 qrq_0.3.1-2.debian.tar.xz
 af59de57917e2f9ef74734ac13867484be9cfa96 88706 qrq_0.3.1-2_amd64.deb
Checksums-Sha256:
 ea2888fab9087d3f6df0deaf75a5cf4a72696af17328ba313ef36e29028e80dc 1856 qrq_0.3.1-2.dsc
 81cbe2cc80d6f5b375b087ea65744e0f9a4cb0462a0746c2e3ce5ffb4259331e 6748 qrq_0.3.1-2.debian.tar.xz
 b82eddcd043a6f729a77a1f8708d11e6a52fe2a560d14f8073c7fd7aea146050 88706 qrq_0.3.1-2_amd64.deb
Files:
 2260c2cd606947c6dd96915b51888f2b 1856 hamradio extra qrq_0.3.1-2.dsc
 1d44c768fcdb5bce726432ef4c3577da 6748 hamradio extra qrq_0.3.1-2.debian.tar.xz
 920129cb3141c20eeea3dabfe5618e65 88706 hamradio extra qrq_0.3.1-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVTn0wAAoJEPoMQQc4ydkDTNYP/jxqT15ViQKIhx7yiPo2XySh
KCxOJdfry3mqSQgyHPj+sfAFVZZ1IIqkGtIWEfINLyQ07ZjifjqnB/wwE/tIRl2J
IjwJCtw49KwJZxUiIr6qVdiYLzka6ZxTM3v7svNAf0HNaBa3Qqx9pojOFKiOvI6g
lxfBa8uPXtFEKuUz6NMiC1V4bgW7c7M1ueydWZSDB7hbHEvpf8JLbCrzxlhLPNcX
Or4TKzZ53Xnk0fGesr8dRHCcmiOosHXVva/kYH5lTPDYvvVURFSaSxnq978UqOGB
fx9CDjCa1LyCf4/491p+FbPGoOJQGcpWDGJuVONL7UdkvmCuZqjhXZrJnRH3HLae
oE61v8S4ORAX4d/fbVsdcqVwP1A13O5AIukmyhbEWwU1vZaSmXcG446W01LjDVvi
NYbU15l7ouMXtH00LyD1JlnBzGWRGsUwirnzRoMO8KCz2siuwN38niQAhoBVqFvX
kGi9IfFA/bsVI5A+nVKoYuBzUydzWEduimbULGoI7vQVBGeat0mK0EQCT9tOMYMk
Xg3j7FJH6D+A1TJje1Ug3SoMe9Bi3fYEvA9YOR18ZNrDBC7Hc+qoE4fEX1+ai9TU
PIIBajkQZ9OvtBEW49tTF0Owhh0MxIK1NKRRkPtnfuu8PZV89H1Z/NboEK2RnB8O
E+9zaRtWcUOCc6A/bPIY
=hKep
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: