diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-19 11:36:28 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-19 11:36:28 +0000 |
commit | e9098e360682ee2114eef61cd375eac0b7ee4a32 (patch) | |
tree | 40e96c44b165383bcdcc281356f3152fca8ee1ff /sysutils | |
parent | e361cd8e4c6964fd4e04fdfe8b097a6a613eea75 (diff) |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/portmanager/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portmanager/files/patch-0.4.1_2 | 52 |
2 files changed, 53 insertions, 1 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile index b3f1d749e7a2..a3d337c9454a 100644 --- a/sysutils/portmanager/Makefile +++ b/sysutils/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/sysutils/portmanager/files/patch-0.4.1_2 b/sysutils/portmanager/files/patch-0.4.1_2 new file mode 100644 index 000000000000..183b93bb70c6 --- /dev/null +++ b/sysutils/portmanager/files/patch-0.4.1_2 @@ -0,0 +1,52 @@ +diff -ruN ../0.4.1_1/libMGPM/src/MGPMrUpdate.c ./libMGPM/src/MGPMrUpdate.c +--- ../0.4.1_1/libMGPM/src/MGPMrUpdate.c Sat Dec 17 20:06:52 2005 ++++ ./libMGPM/src/MGPMrUpdate.c Sun Dec 18 18:06:47 2005 +@@ -983,30 +983,34 @@ + env[0] = malloc( MAXSTRINGSIZE ); + env[1] = malloc( MAXSTRINGSIZE ); + env[2] = malloc( MAXSTRINGSIZE ); +- env[3] = 0; ++ env[3] = malloc( MAXSTRINGSIZE ); ++ env[4] = 0; + + /* + * setup environment + */ + MGmStrcpy( env[0], "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" ); + ++ MGmStrcpy( env[1], "TERM=" ); ++ MGmStrcat( env[1], getenv( "TERM" ) ); ++ + if( getenv( "CCACHE_DIR" ) != NULL ) + { +- MGmStrcpy( env[1], "CCACHE_DIR=" ); +- MGmStrcat( env[1], getenv( "CCACHE_DIR" ) ); ++ MGmStrcpy( env[2], "CCACHE_DIR=" ); ++ MGmStrcat( env[2], getenv( "CCACHE_DIR" ) ); + } + else + { +- env[1][0] = 0; ++ env[2][0] = 0; + } + + if( getenv( "CCACHE_PATH" ) != NULL ) + { +- MGmStrcpy( env[2], "CCACHE_PATH=/usr/bin:/usr/local/bin" ); ++ MGmStrcpy( env[3], "CCACHE_PATH=/usr/bin:/usr/local/bin" ); + } + else + { +- env[2][0] = 0; ++ env[3][0] = 0; + } + + if( MGrStrlen( localProperty.options ) > 0 ) +@@ -1080,6 +1084,7 @@ + free( env[0] ); + free( env[1] ); + free( env[2] ); ++ free( env[3] ); + free( env ); + + /************************************************************************/ |