diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-17 16:35:00 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-17 16:35:00 +0000 |
commit | 651c7e02180502e16b2e1a4412d6074f4155c41c (patch) | |
tree | 5b0128828c37fafd0c8c2a3ae26452c2f6df2adb /ports-mgmt | |
parent | 76caa61312734776e5412fc04b24740e9ca4be30 (diff) | |
download | ports-651c7e02180502e16b2e1a4412d6074f4155c41c.tar.gz ports-651c7e02180502e16b2e1a4412d6074f4155c41c.zip |
- Fix runtime crash on FreeBSD 6.0
PR: ports/86180
Reported by: Mike Lednev <liettneff@bk.ru>
Submitted by: Michael C. Shultz <ringworm01@gmail.com>
Notes
Notes:
svn path=/head/; revision=143011
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmanager/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portmanager/files/patch-0.2.9_6 | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile index ea17af2ccd17..1a1d54146c8f 100644 --- a/ports-mgmt/portmanager/Makefile +++ b/ports-mgmt/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.2.9 -PORTREVISION= 5 +PORTREVISION= 6 #----------------------------------------- #for local use, remove before submitting PR CATEGORIES= sysutils diff --git a/ports-mgmt/portmanager/files/patch-0.2.9_6 b/ports-mgmt/portmanager/files/patch-0.2.9_6 new file mode 100644 index 000000000000..287b6bec4e2e --- /dev/null +++ b/ports-mgmt/portmanager/files/patch-0.2.9_6 @@ -0,0 +1,10 @@ +--- ../0.2.9_5/libPMGR/src/PMGRrReadConfigure.c Fri Jul 29 12:55:01 2005 ++++ libPMGR/src/PMGRrReadConfigure.c Sat Sep 17 07:54:36 2005 +@@ -189,6 +189,7 @@ + /*zzzzzzzzzzzzzz*/ + + fread( buffer, configDbFileSize, 1, configDbStream ); ++ buffer[configDbFileSize] = 0; /* so buffer may be treated as a string */ + + /*zzzzzzzzzzzzzz*/ + fopenIdx--; |