Re: plan9port: win(1) hang on acme(1) window

2019-07-18 Thread Gleydson Soares
> Gleydson, could you take a look at my diff that updates the port
> to the latest git commit? I'ts my first time contributing to a port
> and I'd like to know if my diff is okay.

Your diff reads ok, but it didn't apply clearly here, could you work 
on fixing it and resend the patch ? 
also, since you are updating the port it doesn't require REVISION= bump, 
you can zap it.



Re: plan9port: win(1) hang on acme(1) window

2019-07-16 Thread Anton Lindqvist
On Tue, Jul 16, 2019 at 04:14:19PM -0400, Patrick Marchand wrote:
> Hello,
> 
> On 07/16, Gleydson Soares wrote:
> > I will have a look at it tonight. Even though I’m running acme/win with no 
> > issues. Will try reproduce it on a newer snapshot.
> I had the time to upgrade from the friday snaphot to today's snapshot
> and it solved the issue. I'm curious to read the csv commits to find out what
> changed over the last few days.

Caused by this commit[1] which was later backed out[2]. Sorry for the
inconvenience.

[1] https://marc.info/?l=openbsd-cvs=156277704122293=2
[2] https://marc.info/?l=openbsd-cvs=156293980006370=2



Re: plan9port: win(1) hang on acme(1) window

2019-07-16 Thread Patrick Marchand
Hello,

On 07/16, Gleydson Soares wrote:
> I will have a look at it tonight. Even though I’m running acme/win with no 
> issues. Will try reproduce it on a newer snapshot.
I had the time to upgrade from the friday snaphot to today's snapshot
and it solved the issue. I'm curious to read the csv commits to find out what
changed over the last few days.

Gleydson, could you take a look at my diff that updates the port
to the latest git commit? I'ts my first time contributing to a port
and I'd like to know if my diff is okay.

Thanks



[SOLVED] plan9port: win(1) hang on acme(1) window

2019-07-16 Thread Andrea Biscuola
Hi all

As gsoares@ said, I tried to upgrade to a newer snapshot. After that,
the problem is solved and everything works properly

Thanks for the help and sorry for the noise.

Regards

--
Andrea



Re: plan9port: win(1) hang on acme(1) window

2019-07-16 Thread Gleydson Soares
Hi,

I will have a look at it tonight. Even though I’m running acme/win with no 
issues. Will try reproduce it on a newer snapshot.

> On 16 Jul 2019, at 04:25, a...@gmx.com wrote:
> 
> Hi
> 
>> I also opened up an issue on the github repository of the project:
>> https://github.com/9fans/plan9port/issues/275
> 
> Great, thanks! I'll follow it
> 
> Regards.
> 



Re: plan9port: win(1) hang on acme(1) window

2019-07-16 Thread absc
Hi

> I also opened up an issue on the github repository of the project:
> https://github.com/9fans/plan9port/issues/275

Great, thanks! I'll follow it

Regards.



Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Patrick Marchand
Hi!

On 07/15, Andrea Biscuola wrote:
> I was trying to debug it anyway by myself.

I also opened up an issue on the github repository of the project:
https://github.com/9fans/plan9port/issues/275



Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Andrea Biscuola
Hi

> Hi,
>
> On 07/15, Andrea Biscuola wrote:
> > Hi Patrick
> >
> > On Mon, 15 Jul 2019 11:03:54 -0400
> > Patrick Marchand  wrote:
> >
> > > [snip]
> > >
> > > Here's a new diff, I messed up the previous one and it did not
> > > include the deletion of the web patch, that has been upstreamed
> > > since the last port upgrade.
> >
> > I applied your patch, but a hunk for the patch-INSALL file does
> > not apply cleanly. Inline, the content of patch-INSTALL.rej
> Dont have the time right now to check exactly how I borked the diff.

Don't worry, no rush :)

I was trying to debug it anyway by myself.

>
> But here's my patches/patch-INSTALL file:
>
> $OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoar
> es Exp $
>
> Index: INSTALL
> --- INSTALL.orig
> +++ INSTALL
> @@ -134,7 +134,7 @@ fi
>  if [ `uname` != Darwin ]; then
> # Determine whether fontsrv X11 files are avail
> able.
> rm -f a.out
> -   cc -o a.out -c -Iinclude -I/usr/include -I/usr/
> local/include -I/usr/include/freetype2 -I/usr/local/inc
> lude/freetype2 \
> +   ${CC} -o a.out -c -Iinclude -I/usr/include -I/u
> sr/local/include -I/usr/include/freetype2 -I/usr/local/
> include/freetype2 \
> -I/usr/X11R6/include -I/usr/X11R6/include/f
> reetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
> if [ -f a.out ]; then
> echo "  fontsrv dependencies found."

I'll try that and, eventually, see if I can fix it.

Thanks

--
Andrea



Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Patrick Marchand
Hi,

On 07/15, Andrea Biscuola wrote:
> Hi Patrick
>
> On Mon, 15 Jul 2019 11:03:54 -0400
> Patrick Marchand  wrote:
>
> > [snip]
> >
> > Here's a new diff, I messed up the previous one and it did not
> > include the deletion of the web patch, that has been upstreamed
> > since the last port upgrade.
>
> I applied your patch, but a hunk for the patch-INSALL file does
> not apply cleanly. Inline, the content of patch-INSTALL.rej
Dont have the time right now to check exactly how I borked the diff.

But here's my patches/patch-INSTALL file:

$OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoar
es Exp $

Index: INSTALL
--- INSTALL.orig
+++ INSTALL
@@ -134,7 +134,7 @@ fi
 if [ `uname` != Darwin ]; then
# Determine whether fontsrv X11 files are avail
able.
rm -f a.out
-   cc -o a.out -c -Iinclude -I/usr/include -I/usr/
local/include -I/usr/include/freetype2 -I/usr/local/inc
lude/freetype2 \
+   ${CC} -o a.out -c -Iinclude -I/usr/include -I/u
sr/local/include -I/usr/include/freetype2 -I/usr/local/
include/freetype2 \
-I/usr/X11R6/include -I/usr/X11R6/include/f
reetype2 src/cmd/fontsrv/x11.c >/dev/null 2>&1
if [ -f a.out ]; then
echo "  fontsrv dependencies found."



Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Andrea Biscuola
Hi Patrick

On Mon, 15 Jul 2019 11:03:54 -0400
Patrick Marchand  wrote:

> [snip]
>
> Here's a new diff, I messed up the previous one and it did not
> include the deletion of the web patch, that has been upstreamed
> since the last port upgrade.

I applied your patch, but a hunk for the patch-INSALL file does
not apply cleanly. Inline, the content of patch-INSTALL.rej

@@ -1,37 +1,14 @@
 $OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoares Exp $

 INSTALL.orig   Wed Nov  2 20:17:40 2016
-+++ INSTALLMon Feb 27 21:57:58 2017
-@@ -128,7 +128,7 @@ fi
+Index: INSTALL
+--- INSTALL.orig
 INSTALL
+@@ -134,7 +134,7 @@ fi
  if [ `uname` != Darwin ]; then
# Determine whether fontsrv X11 files are available.
rm -f a.out
--  gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
+-  cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
 +  ${CC} -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 
src/cmd/fontsrv/x11.c >/dev/null 2>&1
if [ -f a.out ]; then
echo "  fontsrv dependencies found."
-@@ -151,7 +151,7 @@ cd src
- if $dobuild; then
-   if [ ! -x ../bin/mk ]; then
-   echo "* Building mk..."
--  ../dist/buildmk 2>&1 | sed 's/^[+] //'
-+  ../dist/buildmk 2>&1
-   fi
-   if [ ! -x ../bin/mk ]; then
-   echo "* Error: mk failed to build."
-@@ -159,7 +159,6 @@ if $dobuild; then
-   fi
-
-   echo "* Building everything (be patient)..."
--  mk clean
-   mk libs-nuke
-   mk all || exit 1
-   if [ ! -x $PLAN9/src/cmd/o.cleanname -o ! -x $PLAN9/src/cmd/acme/o.acme 
]; then
-@@ -218,5 +217,5 @@ if $doinstall; then
-   echo "  PLAN9=$PLAN9 export PLAN9"
-   echo '  PATH=$PATH:$PLAN9/bin export PATH'
- fi
--) 2>&1 | tee install.log | $awk -f $PLAN9/dist/isum.awk -v 'copy='install.sum
-+) 2>&1 | tee install.log
-

The patch command output, for the patch command is:

--
|Index: patches/patch-INSTALL
|===
|RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
|retrieving revision 1.6
|diff -u -p -u -p -r1.6 patch-INSTALL
|--- patches/patch-INSTALL  28 Feb 2017 02:27:41 -  1.6
|+++ patches/patch-INSTALL  15 Jul 2019 14:37:14 -
--
Patching file patches/patch-INSTALL using Plan A...
Hunk #1 failed at 1.
1 out of 1 hunks failed--saving rejects to patches/patch-INSTALL.rej

--
Andrea



Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Patrick Marchand
On 07/15, Andrea Biscuola wrote:
> > On 07/15, Patrick Marchand wrote:
> >
> > Let me know if I messed something up, as its the first time I create
> > a diff for a port.
> >
> > I also updated the url's as the old bell labs one are now dead and
> > Rus Cox changed his homepage.
>
> Ok, I'll try to build from ports this evening with your patch.

Here's a new diff, I messed up the previous one and it did not
include the deletion of the web patch, that has been upstreamed
since the last port upgrade.

Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 Makefile
--- Makefile12 Jul 2019 20:48:54 -  1.29
+++ Makefile15 Jul 2019 14:37:14 -
@@ -4,13 +4,13 @@ ONLY_FOR_ARCHS =  amd64 i386 powerpc
 BROKEN-powerpc =   threading issues

 COMMENT =  Plan 9 from user space
-REVISION = 3
+REVISION = 0

-DISTNAME = plan9port-20180117
+DISTNAME = plan9port-20190710

 GH_ACCOUNT =   9fans
 GH_PROJECT =   plan9port
-GH_COMMIT =019be4481fee53a999ccb73c78e40df5f408b24e
+GH_COMMIT =e995a0c101863688d5f14649ae3de45a7c43789c

 CATEGORIES =   plan9

@@ -27,8 +27,8 @@ WANTLIB = X11 Xext c m pthread util fon
 DISTFILES =${GH_COMMIT}.tar.gz pgw.tar.bz2:1 \
roget.tar.bz2:0 scat.tgz:1
 DIST_SUBDIR =  plan9port
-MASTER_SITES0 =http://pdos.lcs.mit.edu/~rsc/software/plan9/
-MASTER_SITES1 =http://pdos.lcs.mit.edu/~rsc/
+MASTER_SITES0 =https://9fans.github.io/plan9port/
+MASTER_SITES1 =https://swtch.com/~rsc/

 BUILD_DEPENDS =archivers/bzip2
 RUN_DEPENDS =  print/ghostscript/gnu \
@@ -64,8 +64,6 @@ do-install:
 .for l in .cvsignore .hg .hgignore .hgtags .gitignore .gitkeep *.orig 
*.beforesubst .travis.yml
find ${WRKSRC} -name "$l" -exec rm -f {} \;
 .endfor
-   cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
-   `cat lib/moveplan9.files`
${INSTALL_DATA_DIR} ${PLAN9}
cd ${WRKSRC} && pax -rw . ${PLAN9}
cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
Index: distinfo
===
RCS file: /cvs/ports/plan9/plan9port/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo20 Jan 2018 03:29:56 -  1.11
+++ distinfo15 Jul 2019 14:37:14 -
@@ -1,8 +1,8 @@
-SHA256 (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 
BKlh9K2ee1SDvPLGG9Fi59a/L2Gv1G/rETPnARCaK4k=
+SHA256 (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 
Y54LsBco/9fMF1Husb/HMUYV2I1vp/TN4hAzrZdiJiQ=
 SHA256 (plan9port/pgw.tar.bz2) = WMdWEelUjG7muSL6OsgnCmPsJMn88b1OPtEYQn8TVtw=
 SHA256 (plan9port/roget.tar.bz2) = sk8FE1Tavljx2CXinbOGCRyErsmBJdvkma3spRoyqDY=
 SHA256 (plan9port/scat.tgz) = qZX1JUSnEvK9uH9TFjjUyEYiT6khLQNOO9joCcuZvh4=
-SIZE (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 23431472
+SIZE (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 23439831
 SIZE (plan9port/pgw.tar.bz2) = 9404968
 SIZE (plan9port/roget.tar.bz2) = 482956
 SIZE (plan9port/scat.tgz) = 5145346
Index: patches/patch-INSTALL
===
RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-INSTALL
--- patches/patch-INSTALL   28 Feb 2017 02:27:41 -  1.6
+++ patches/patch-INSTALL   15 Jul 2019 14:37:14 -
@@ -1,37 +1,14 @@
 $OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoares Exp $

 INSTALL.orig   Wed Nov  2 20:17:40 2016
-+++ INSTALLMon Feb 27 21:57:58 2017
-@@ -128,7 +128,7 @@ fi
+Index: INSTALL
+--- INSTALL.orig
 INSTALL
+@@ -134,7 +134,7 @@ fi
  if [ `uname` != Darwin ]; then
# Determine whether fontsrv X11 files are available.
rm -f a.out
--  gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
+-  cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
 +  ${CC} -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 
src/cmd/fontsrv/x11.c >/dev/null 2>&1
if [ -f a.out ]; then
echo "  fontsrv dependencies found."
-@@ -151,7 +151,7 @@ cd src
- if $dobuild; then
-   if [ ! -x ../bin/mk ]; then
-   echo "* Building mk..."
--  ../dist/buildmk 2>&1 | sed 's/^[+] //'
-+  ../dist/buildmk 2>&1
-   fi
-   if [ ! -x ../bin/mk ]; then
-   echo "* Error: mk failed to build."
-@@ -159,7 +159,6 @@ if 

Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Andrea Biscuola
Hi Patrick

> Hi!
>
> On 07/15, Patrick Marchand wrote:
>
> Let me know if I messed something up, as its the first time I create
> a diff for a port.
>
> I also updated the url's as the old bell labs one are now dead and
> Rus Cox changed his homepage.

Ok, I'll try to build from ports this evening with your patch.

> Index: Makefile
> ===
> RCS file: /cvs/ports/plan9/plan9port/Makefile,v
> retrieving revision 1.29
> diff -u -p -u -p -r1.29 Makefile
> --- Makefile  12 Jul 2019 20:48:54 -  1.29
> +++ Makefile  15 Jul 2019 12:19:13 -
> @@ -4,13 +4,13 @@ ONLY_FOR_ARCHS =amd64 i386 powerpc
>  BROKEN-powerpc = threading issues
>
>  COMMENT =Plan 9 from user space
> -REVISION =   3
> +REVISION =   0
>
> -DISTNAME =   plan9port-20180117
> +DISTNAME =   plan9port-20190710
>
>  GH_ACCOUNT = 9fans
>  GH_PROJECT = plan9port
> -GH_COMMIT =  019be4481fee53a999ccb73c78e40df5f408b24e
> +GH_COMMIT =  e995a0c101863688d5f14649ae3de45a7c43789c
>
>  CATEGORIES = plan9
>
> @@ -27,8 +27,8 @@ WANTLIB =   X11 Xext c m pthread util fon
>  DISTFILES =  ${GH_COMMIT}.tar.gz pgw.tar.bz2:1 \
>   roget.tar.bz2:0 scat.tgz:1
>  DIST_SUBDIR =plan9port
> -MASTER_SITES0 =  http://pdos.lcs.mit.edu/~rsc/software/plan9/
> -MASTER_SITES1 =  http://pdos.lcs.mit.edu/~rsc/
> +MASTER_SITES0 =  https://9fans.github.io/plan9port/
> +MASTER_SITES1 =  https://swtch.com/~rsc/
>
>  BUILD_DEPENDS =  archivers/bzip2
>  RUN_DEPENDS =print/ghostscript/gnu \
> @@ -64,8 +64,6 @@ do-install:
>  .for l in .cvsignore .hg .hgignore .hgtags .gitignore .gitkeep *.orig 
> *.beforesubst .travis.yml
>   find ${WRKSRC} -name "$l" -exec rm -f {} \;
>  .endfor
> - cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
> - `cat lib/moveplan9.files`
>   ${INSTALL_DATA_DIR} ${PLAN9}
>   cd ${WRKSRC} && pax -rw . ${PLAN9}
>   cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
> Index: distinfo
> ===
> RCS file: /cvs/ports/plan9/plan9port/distinfo,v
> retrieving revision 1.11
> diff -u -p -u -p -r1.11 distinfo
> --- distinfo  20 Jan 2018 03:29:56 -  1.11
> +++ distinfo  15 Jul 2019 12:19:13 -
> @@ -1,8 +1,8 @@
> -SHA256 (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 
> BKlh9K2ee1SDvPLGG9Fi59a/L2Gv1G/rETPnARCaK4k=
> +SHA256 (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 
> Y54LsBco/9fMF1Husb/HMUYV2I1vp/TN4hAzrZdiJiQ=
>  SHA256 (plan9port/pgw.tar.bz2) = WMdWEelUjG7muSL6OsgnCmPsJMn88b1OPtEYQn8TVtw=
>  SHA256 (plan9port/roget.tar.bz2) = 
> sk8FE1Tavljx2CXinbOGCRyErsmBJdvkma3spRoyqDY=
>  SHA256 (plan9port/scat.tgz) = qZX1JUSnEvK9uH9TFjjUyEYiT6khLQNOO9joCcuZvh4=
> -SIZE (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 23431472
> +SIZE (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 23439831
>  SIZE (plan9port/pgw.tar.bz2) = 9404968
>  SIZE (plan9port/roget.tar.bz2) = 482956
>  SIZE (plan9port/scat.tgz) = 5145346
> Index: patches/patch-INSTALL
> ===
> RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 patch-INSTALL
> --- patches/patch-INSTALL 28 Feb 2017 02:27:41 -  1.6
> +++ patches/patch-INSTALL 15 Jul 2019 12:19:13 -
> @@ -1,37 +1,14 @@
>  $OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoares Exp $
>
>  INSTALL.orig Wed Nov  2 20:17:40 2016
> -+++ INSTALL  Mon Feb 27 21:57:58 2017
> -@@ -128,7 +128,7 @@ fi
> +Index: INSTALL
> +--- INSTALL.orig
>  INSTALL
> +@@ -134,7 +134,7 @@ fi
>   if [ `uname` != Darwin ]; then
>   # Determine whether fontsrv X11 files are available.
>   rm -f a.out
> --gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
> -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
> +-cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
> -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
>  +${CC} -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
> -I/usr/include/freetype2 -I/usr/local/include/freetype2 \
>   -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 
> src/cmd/fontsrv/x11.c >/dev/null 2>&1
>   if [ -f a.out ]; then
>   echo "  fontsrv dependencies found."
> -@@ -151,7 +151,7 @@ cd src
> - if $dobuild; then
> - if [ ! -x ../bin/mk ]; then
> - echo "* Building mk..."
> --../dist/buildmk 2>&1 | sed 's/^[+] //'
> -+../dist/buildmk 2>&1
> - fi
> - if [ ! -x ../bin/mk ]; then
> - echo "* Error: mk failed to build."
> -@@ -159,7 +159,6 @@ if $dobuild; then
> - fi
> -
> - echo "* Building everything (be 

Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Patrick Marchand
Hi!

On 07/15, Patrick Marchand wrote:
> On 07/15, a...@gmx.com wrote:
> > What can I do for helping the mantainer debug the issue?
> I tried upgrading the port to the latest version (Which I will send
> to the maintainer / ports list today.) But while the rest of the
> programs work well, win(1) still hangs when given a command.

Let me know if I messed something up, as its the first time I create
a diff for a port.

I also updated the url's as the old bell labs one are now dead and
Rus Cox changed his homepage.

Index: Makefile
===
RCS file: /cvs/ports/plan9/plan9port/Makefile,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 Makefile
--- Makefile12 Jul 2019 20:48:54 -  1.29
+++ Makefile15 Jul 2019 12:19:13 -
@@ -4,13 +4,13 @@ ONLY_FOR_ARCHS =  amd64 i386 powerpc
 BROKEN-powerpc =   threading issues

 COMMENT =  Plan 9 from user space
-REVISION = 3
+REVISION = 0

-DISTNAME = plan9port-20180117
+DISTNAME = plan9port-20190710

 GH_ACCOUNT =   9fans
 GH_PROJECT =   plan9port
-GH_COMMIT =019be4481fee53a999ccb73c78e40df5f408b24e
+GH_COMMIT =e995a0c101863688d5f14649ae3de45a7c43789c

 CATEGORIES =   plan9

@@ -27,8 +27,8 @@ WANTLIB = X11 Xext c m pthread util fon
 DISTFILES =${GH_COMMIT}.tar.gz pgw.tar.bz2:1 \
roget.tar.bz2:0 scat.tgz:1
 DIST_SUBDIR =  plan9port
-MASTER_SITES0 =http://pdos.lcs.mit.edu/~rsc/software/plan9/
-MASTER_SITES1 =http://pdos.lcs.mit.edu/~rsc/
+MASTER_SITES0 =https://9fans.github.io/plan9port/
+MASTER_SITES1 =https://swtch.com/~rsc/

 BUILD_DEPENDS =archivers/bzip2
 RUN_DEPENDS =  print/ghostscript/gnu \
@@ -64,8 +64,6 @@ do-install:
 .for l in .cvsignore .hg .hgignore .hgtags .gitignore .gitkeep *.orig 
*.beforesubst .travis.yml
find ${WRKSRC} -name "$l" -exec rm -f {} \;
 .endfor
-   cd ${WRKSRC} && sed -i 's#/usr/local#${TRUEPREFIX}#' \
-   `cat lib/moveplan9.files`
${INSTALL_DATA_DIR} ${PLAN9}
cd ${WRKSRC} && pax -rw . ${PLAN9}
cd ${PREFIX} && ln -s ../plan9/bin/9 bin/9
Index: distinfo
===
RCS file: /cvs/ports/plan9/plan9port/distinfo,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 distinfo
--- distinfo20 Jan 2018 03:29:56 -  1.11
+++ distinfo15 Jul 2019 12:19:13 -
@@ -1,8 +1,8 @@
-SHA256 (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 
BKlh9K2ee1SDvPLGG9Fi59a/L2Gv1G/rETPnARCaK4k=
+SHA256 (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 
Y54LsBco/9fMF1Husb/HMUYV2I1vp/TN4hAzrZdiJiQ=
 SHA256 (plan9port/pgw.tar.bz2) = WMdWEelUjG7muSL6OsgnCmPsJMn88b1OPtEYQn8TVtw=
 SHA256 (plan9port/roget.tar.bz2) = sk8FE1Tavljx2CXinbOGCRyErsmBJdvkma3spRoyqDY=
 SHA256 (plan9port/scat.tgz) = qZX1JUSnEvK9uH9TFjjUyEYiT6khLQNOO9joCcuZvh4=
-SIZE (plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz) = 23431472
+SIZE (plan9port/e995a0c101863688d5f14649ae3de45a7c43789c.tar.gz) = 23439831
 SIZE (plan9port/pgw.tar.bz2) = 9404968
 SIZE (plan9port/roget.tar.bz2) = 482956
 SIZE (plan9port/scat.tgz) = 5145346
Index: patches/patch-INSTALL
===
RCS file: /cvs/ports/plan9/plan9port/patches/patch-INSTALL,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-INSTALL
--- patches/patch-INSTALL   28 Feb 2017 02:27:41 -  1.6
+++ patches/patch-INSTALL   15 Jul 2019 12:19:13 -
@@ -1,37 +1,14 @@
 $OpenBSD: patch-INSTALL,v 1.6 2017/02/28 02:27:41 gsoares Exp $

 INSTALL.orig   Wed Nov  2 20:17:40 2016
-+++ INSTALLMon Feb 27 21:57:58 2017
-@@ -128,7 +128,7 @@ fi
+Index: INSTALL
+--- INSTALL.orig
 INSTALL
+@@ -134,7 +134,7 @@ fi
  if [ `uname` != Darwin ]; then
# Determine whether fontsrv X11 files are available.
rm -f a.out
--  gcc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
+-  cc -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
 +  ${CC} -o a.out -c -Iinclude -I/usr/include -I/usr/local/include 
-I/usr/include/freetype2 -I/usr/local/include/freetype2 \
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 
src/cmd/fontsrv/x11.c >/dev/null 2>&1
if [ -f a.out ]; then
echo "  fontsrv dependencies found."
-@@ -151,7 +151,7 @@ cd src
- if $dobuild; then
-   if [ ! -x ../bin/mk ]; then
-   echo "* Building mk..."
--  ../dist/buildmk 2>&1 | sed 's/^[+] //'
-+  ../dist/buildmk 2>&1
-   fi
-   if [ ! -x ../bin/mk ]; then
-   echo "* Error: mk failed to build."
-@@ -159,7 

Re: plan9port: win(1) hang on acme(1) window

2019-07-15 Thread Patrick Marchand
On 07/15, a...@gmx.com wrote:
> Hi ports!
>
> I use plan9port abitually for developing various programs.
> In particular, acme(1) is my editor of choice. After the
> latest update, using win(1) inside acme(1), does not work
> anymore.
>
> If you are working in acme(1) and you try to run a command
> in a win(1), nothing happen, as it seems that the underlying
> shell does not receive and process the written commands.
>
> What can I do for helping the mantainer debug the issue?
>
> Regards
>
> Andrea
>
I can reproduce this bug on saturday's snapshot (on two different
computers).

I tried upgrading the port to the latest version (Which I will send
to the maintainer / ports list today.) But while the rest of the
programs work well, win(1) still hangs when given a command.

I've tried running a ktrace(1) which I've attached to this email.
The SIGINT at the end was given manually.

My next attempt will be to apply this patch[1] as win.c uses
libthread.

Thanks


[1] https://github.com/9fans/plan9port/pull/226/files


ktrace.out
Description: Binary data


plan9port: win(1) hang on acme(1) window

2019-07-15 Thread absc
Hi ports!

I use plan9port abitually for developing various programs.
In particular, acme(1) is my editor of choice. After the
latest update, using win(1) inside acme(1), does not work
anymore.

If you are working in acme(1) and you try to run a command
in a win(1), nothing happen, as it seems that the underlying
shell does not receive and process the written commands.

What can I do for helping the mantainer debug the issue?

Regards

Andrea