mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix a g_strconcat() without terminating NULL.
This commit is contained in:
parent
2ffcc0371a
commit
e90c21eb05
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151667
2 changed files with 12 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= gob2
|
||||
PORTVERSION= 2.0.13
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0
|
||||
|
|
11
devel/gob2/files/patch-src_main.c
Normal file
11
devel/gob2/files/patch-src_main.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/main.c.orig Tue Dec 20 20:28:09 2005
|
||||
+++ src/main.c Tue Dec 20 20:28:55 2005
|
||||
@@ -3078,7 +3078,7 @@
|
||||
outfilebase = g_strconcat (fullfilebase, for_cpp ? ".cc" : ".c", NULL);
|
||||
outfile = g_strconcat(outfilebase, no_touch ? "#gob#" : "", NULL);
|
||||
|
||||
- outfilehbase = g_strconcat (fullfilebase, ".h");
|
||||
+ outfilehbase = g_strconcat (fullfilebase, ".h", NULL);
|
||||
outfileh = g_strconcat(outfilehbase, no_touch_headers ? "#gob#" : "", NULL);
|
||||
|
||||
if ((privates > 0 || protecteds > 0 ||
|
Loading…
Add table
Reference in a new issue