diff options
Diffstat (limited to 'devel/nasm/files/patch-output::outelf.c')
-rw-r--r-- | devel/nasm/files/patch-output::outelf.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/devel/nasm/files/patch-output::outelf.c b/devel/nasm/files/patch-output::outelf.c index df7073f8b1a1..58a9e0fe8ffd 100644 --- a/devel/nasm/files/patch-output::outelf.c +++ b/devel/nasm/files/patch-output::outelf.c @@ -1,11 +1,14 @@ ---- output/outelf.c.orig Sun Dec 14 16:25:34 2003 -+++ output/outelf.c Sun Dec 14 16:26:25 2003 -@@ -1411,7 +1411,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); + +$FreeBSD$ + +--- output/outelf.c.orig ++++ output/outelf.c +@@ -1431,7 +1431,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); - ptr=stabslines; - numstabs = 0; + ptr = stabslines; + numstabs = 0; |