tags 660399 + upstream fixed-upstream thanks On Sat, Feb 18, 2012 at 08:31:49PM +0000, Sam Morris wrote: > make[3]: Entering directory `/tmp/nbd-2.9.25' > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc"' -g -O2 > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 > -c -o nbd_server-nbd-server.o `test -f 'nbd-server.c' || echo > './'`nbd-server.c > nbd-server.c: In function ‘exptrim’: > nbd-server.c:1477:28: error: ‘FALLOC_FL_PUNCH_HOLE’ undeclared (first use in > this function) > nbd-server.c:1477:28: note: each undeclared identifier is reported only once > for each function it appears in > make[3]: *** [nbd_server-nbd-server.o] Error 1 > make[3]: Leaving directory `/tmp/nbd-2.9.25' > > Fixed by the following patch: > > - --- /tmp/nbd-server.c 2012-02-18 20:30:10.399561659 +0000 > +++ nbd-server.c 2012-02-18 20:29:14.975848442 +0000 > @@ -1461,7 +1461,7 @@ > * file to resparsify stuff that isn't needed anymore (see NBD_CMD_TRIM) > */ > int exptrim(struct nbd_request* req, CLIENT* client) { > - -#ifdef HAVE_FALLOC_PH > +#if HAVE_FALLOC_PH > FILE_INFO prev = g_array_index(client->export, FILE_INFO, 0); > FILE_INFO cur = prev; > int i = 1;
Has already been fixed upstream, actually. I just need to get around to doing a new upstream release. (and tracking down the FTBFS on sparc, which is a bit worrisome). -- The volume of a pizza of thickness a and radius z can be described by the following formula: pi zz a -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org