diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-02-23 10:15:38 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-02-23 10:15:38 +0800 |
commit | 695ca2bf84adb39f37386967a8ef59bcb08322ec (patch) | |
tree | 9569090b4d2e0c9341e6a33e1aecf78e85ae2e38 | |
parent | c0d228c8352a36c0c2cff9b94bd098e43c3640dd (diff) | |
download | freebsd-ports-gnome-695ca2bf84adb39f37386967a8ef59bcb08322ec.tar.gz freebsd-ports-gnome-695ca2bf84adb39f37386967a8ef59bcb08322ec.tar.zst freebsd-ports-gnome-695ca2bf84adb39f37386967a8ef59bcb08322ec.zip |
- Add a patch to fix a crash when trying to remove a MOVED port with -y option
- Bump PORTREVISION
PR: 93178
Submitted by: Eric <eric7wang@gmail.com>
-rw-r--r-- | ports-mgmt/portmanager/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c | 12 | ||||
-rw-r--r-- | sysutils/portmanager/Makefile | 3 | ||||
-rw-r--r-- | sysutils/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c | 12 |
4 files changed, 26 insertions, 4 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile index 4acfb01d286a..c46e55219d20 100644 --- a/ports-mgmt/portmanager/Makefile +++ b/ports-mgmt/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= portmanager @@ -21,7 +21,6 @@ MAN3= libMG.3 MGdbAdd.3 MGdbCreate.3 MGdbDelete.3 \ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -USE_REINPLACE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALL_TARGET= install info diff --git a/ports-mgmt/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c b/ports-mgmt/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c new file mode 100644 index 000000000000..5a38bf7f33ed --- /dev/null +++ b/ports-mgmt/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c @@ -0,0 +1,12 @@ +--- libMGPM/src/MGPMrGetPortName.c.orig Thu Feb 23 03:04:28 2006 ++++ libMGPM/src/MGPMrGetPortName.c Thu Feb 23 03:06:22 2006 +@@ -180,7 +180,8 @@ + } + else + { +- fclose( property->STDIN ); ++ if( property->autoMoved == 0 ) ++ fclose( property->STDIN ); + MGPMlogAdd( property, "installed ", portName, + " removed from system: no longer in ports tree: see /usr/ports/MOVED", " ", " " ); + } diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile index 4acfb01d286a..c46e55219d20 100644 --- a/sysutils/portmanager/Makefile +++ b/sysutils/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.4.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= portmanager @@ -21,7 +21,6 @@ MAN3= libMG.3 MGdbAdd.3 MGdbCreate.3 MGdbDelete.3 \ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -USE_REINPLACE= yes CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INSTALL_TARGET= install info diff --git a/sysutils/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c b/sysutils/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c new file mode 100644 index 000000000000..5a38bf7f33ed --- /dev/null +++ b/sysutils/portmanager/files/patch-libMGPM-src-MGPMrGetPortName.c @@ -0,0 +1,12 @@ +--- libMGPM/src/MGPMrGetPortName.c.orig Thu Feb 23 03:04:28 2006 ++++ libMGPM/src/MGPMrGetPortName.c Thu Feb 23 03:06:22 2006 +@@ -180,7 +180,8 @@ + } + else + { +- fclose( property->STDIN ); ++ if( property->autoMoved == 0 ) ++ fclose( property->STDIN ); + MGPMlogAdd( property, "installed ", portName, + " removed from system: no longer in ports tree: see /usr/ports/MOVED", " ", " " ); + } |