1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/devel/nasm/files/patch-output+outelf64.c
Pav Lucistnik 89200be14e - Update to 2.02
- Install rdf utilities

PR:		ports/121342
Submitted by:	bf <bf2006a@yahoo.com>
Approved by:	maintainer timeout (krion; 1 month)
2008-04-11 21:50:06 +00:00

12 lines
513 B
C

--- output/outelf64.c.orig 2008-03-03 16:15:57.373145096 -0500
+++ output/outelf64.c 2008-03-03 16:23:30.075070061 -0500
@@ -1841,7 +1841,7 @@
the source-file, the n_desc field should be set to the number
of remaining stabs
*/
- WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12));
+ WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen);
/* this is the stab for the main source file */
WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0);