summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-28 22:31:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-28 22:31:21 +0000
commit8345b2f46718934abdc99bbe1806d7c9f78acef1 (patch)
treed5814372bdd143dd90b52c0e868aa9f57a62e4cb /sysutils
parentUpdate to 1.9.6 (diff)
- Fix crash when TERM is undefined in environment
PR: ports/84168 Submitted by: Thierry Besancon <Thierry.Besancon@math.jussieu.fr>
Notes
Notes: svn path=/head/; revision=140351
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portmanager/Makefile2
-rw-r--r--sysutils/portmanager/files/patch-0.2.9_511
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile
index 555817c754fe..ea17af2ccd17 100644
--- a/sysutils/portmanager/Makefile
+++ b/sysutils/portmanager/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portmanager
PORTVERSION= 0.2.9
-PORTREVISION= 4
+PORTREVISION= 5
#-----------------------------------------
#for local use, remove before submitting PR
CATEGORIES= sysutils
diff --git a/sysutils/portmanager/files/patch-0.2.9_5 b/sysutils/portmanager/files/patch-0.2.9_5
new file mode 100644
index 000000000000..b7569600938b
--- /dev/null
+++ b/sysutils/portmanager/files/patch-0.2.9_5
@@ -0,0 +1,11 @@
+--- portmanager/portmanager.c.orig Fri Jul 29 00:26:53 2005
++++ portmanager/portmanager.c Fri Jul 29 00:27:47 2005
+@@ -134,7 +134,7 @@
+ /*
+ * set xterm title
+ */
+- if( !strncmp( getenv("TERM"), "xterm", 5 ) )
++ if( getenv("TERM") && !strncmp( getenv("TERM"), "xterm", 5 ) )
+ {
+ stringSize = strlen( id )
+ + 1