ports/devel/nasm/files/patch-output+outelf64.c
Alexey Dokuchaev b9d547bfcf - Update to version 2.08.01
- Remove SF mirror now that it does not carry new distfiles any more
- Reformat (kill line wrapping) and sort MAN1 values
- Simplify PORTDOCS installation, canonicalize Makefile header
- Replace `x86-64' with FreeBSDish `amd64' in COMMENT

Approved by:	krion (maintainer)
2010-05-23 14:50:33 +00:00

11 lines
448 B
C

--- output/outelf64.c.orig
+++ output/outelf64.c
@@ -1772,7 +1772,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);