aboutsummaryrefslogtreecommitdiff
path: root/devel/nasm/files/patch-output::outelf.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-24 23:14:54 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-24 23:14:54 +0000
commit944b992305008017fec163a65161c019b01852fb (patch)
tree6429eb3f4fef8fd883e24de2d8665239432f8a2b /devel/nasm/files/patch-output::outelf.c
parent8fdaf5d1e795b23d80ea3ed362013506875dd423 (diff)
downloadports-944b992305008017fec163a65161c019b01852fb.tar.gz
ports-944b992305008017fec163a65161c019b01852fb.zip
Notes
Diffstat (limited to 'devel/nasm/files/patch-output::outelf.c')
-rw-r--r--devel/nasm/files/patch-output::outelf.c23
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;