diff options
author | pav <pav@FreeBSD.org> | 2005-09-18 00:35:00 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-18 00:35:00 +0800 |
commit | adb56fc2a21d2fcf7c3bfd5e5f8bcd07b905ec34 (patch) | |
tree | 1a9276305db36db1091b8f8a9ff7bb060bc36961 /sysutils/portmanager | |
parent | 9541e45a908994852ccd1eb04467a4811563d5ee (diff) | |
download | freebsd-ports-gnome-adb56fc2a21d2fcf7c3bfd5e5f8bcd07b905ec34.tar.gz freebsd-ports-gnome-adb56fc2a21d2fcf7c3bfd5e5f8bcd07b905ec34.tar.zst freebsd-ports-gnome-adb56fc2a21d2fcf7c3bfd5e5f8bcd07b905ec34.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>
Diffstat (limited to 'sysutils/portmanager')
-rw-r--r-- | sysutils/portmanager/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portmanager/files/patch-0.2.9_6 | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile index ea17af2ccd17..1a1d54146c8f 100644 --- a/sysutils/portmanager/Makefile +++ b/sysutils/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/sysutils/portmanager/files/patch-0.2.9_6 b/sysutils/portmanager/files/patch-0.2.9_6 new file mode 100644 index 000000000000..287b6bec4e2e --- /dev/null +++ b/sysutils/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--; |