UPDATE: security/burpsuite 2.1.02

2019-07-27 Thread Lawrence Teo
This updates burpsuite to 2.1.02.

http://releases.portswigger.net/2019/07/professional-community-edition-2102.html

I've tested with both jdk 1.8 and 11.

While here I have also updated the PERMIT_* URLs to the latest URLs.

ok?
Index: Makefile
===
RCS file: /cvs/ports/security/burpsuite/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile19 Jul 2019 02:17:21 -  1.30
+++ Makefile28 Jul 2019 03:25:15 -
@@ -2,7 +2,7 @@
 
 COMMENT =  tool for testing security of web applications
 
-VERSION =  2.1.01
+VERSION =  2.1.02
 DISTNAME = burpsuite_free_v${VERSION}
 PKGNAME =  burpsuite-${VERSION}
 
@@ -12,8 +12,8 @@ CATEGORIES =  security
 
 HOMEPAGE = https://portswigger.net/burp/
 
-PERMIT_PACKAGE =   https://portswigger.net/burp/eula-free.html
-PERMIT_DISTFILES = https://portswigger.net/burp/eula-free.html
+PERMIT_PACKAGE =   https://portswigger.net/burp/eula/community
+PERMIT_DISTFILES = https://portswigger.net/burp/eula/community
 
 MASTER_SITES = https://portswigger.net/Burp/Releases/
 
Index: distinfo
===
RCS file: /cvs/ports/security/burpsuite/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo19 Jul 2019 02:17:21 -  1.24
+++ distinfo28 Jul 2019 02:53:56 -
@@ -1,2 +1,2 @@
-SHA256 (burpsuite_free_v2.1.01.jar) = 
pC6iQApjkglzAbxdiGrB8XOiSpIcrWixXeyiWGLVZXs=
-SIZE (burpsuite_free_v2.1.01.jar) = 300627459
+SHA256 (burpsuite_free_v2.1.02.jar) = 
6awlN3D+cWq+6M0ZhUlNBl4u/QDfC0Mxh6/BvsUIpDI=
+SIZE (burpsuite_free_v2.1.02.jar) = 301105466


[Update] textproc/p5-LaTeXML : Update to 0.8.4

2019-07-27 Thread wen heping
Hi,

Here is a patch for textproc/p5-LaTeXML to update to 0.8.4
It build well and passed all tests on amd64-head system.
No other ports depends on textproc/p5-LaTeXML.

Comments? OK?
wen
Index: Makefile
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile12 Jul 2019 20:50:03 -  1.7
+++ Makefile28 Jul 2019 03:18:11 -
@@ -4,7 +4,7 @@ COMMENT =   LaTeX to XML/HTML/MathML Conve
 
 MODULES =  cpan
 PKG_ARCH = *
-DISTNAME = LaTeXML-0.8.3_7
+DISTNAME = LaTeXML-0.8.4
 CATEGORIES =   textproc
 
 # perl
Index: distinfo
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo6 Jan 2019 20:51:33 -   1.3
+++ distinfo28 Jul 2019 03:18:11 -
@@ -1,2 +1,2 @@
-SHA256 (LaTeXML-0.8.3_7.tar.gz) = XoUOCkyGrvxftnpdo32/FuNEKTkQ4S/+8MgfX/h6Aa4=
-SIZE (LaTeXML-0.8.3_7.tar.gz) = 10704544
+SHA256 (LaTeXML-0.8.4.tar.gz) = klmbRftYesFLK6nMhLhdndwt6vHL3C6J56ZVnh+7NMw=
+SIZE (LaTeXML-0.8.4.tar.gz) = 11502627
Index: pkg/PLIST
===
RCS file: /cvs/ports/textproc/p5-LaTeXML/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST   6 Jan 2019 20:51:33 -   1.4
+++ pkg/PLIST   28 Jul 2019 03:18:11 -
@@ -89,6 +89,7 @@ ${P5SITE}/LaTeXML/Package/JHEP2.cls.ltxm
 ${P5SITE}/LaTeXML/Package/JHEP3.cls.ltxml
 ${P5SITE}/LaTeXML/Package/LaTeX.pool.ltxml
 ${P5SITE}/LaTeXML/Package/OmniBus.cls.ltxml
+${P5SITE}/LaTeXML/Package/PoS.cls.ltxml
 ${P5SITE}/LaTeXML/Package/TeX.pool.ltxml
 ${P5SITE}/LaTeXML/Package/a0poster.cls.ltxml
 ${P5SITE}/LaTeXML/Package/a0size.sty.ltxml
@@ -102,14 +103,14 @@ ${P5SITE}/LaTeXML/Package/aasms.sty.ltxm
 ${P5SITE}/LaTeXML/Package/aaspp.sty.ltxml
 ${P5SITE}/LaTeXML/Package/aastex.cls.ltxml
 ${P5SITE}/LaTeXML/Package/aastex.sty.ltxml
-${P5SITE}/LaTeXML/Package/aastex6.cls.ltxml
-${P5SITE}/LaTeXML/Package/aastex61.cls.ltxml
 ${P5SITE}/LaTeXML/Package/accents.sty.ltxml
 ${P5SITE}/LaTeXML/Package/acmart.cls.ltxml
 ${P5SITE}/LaTeXML/Package/acronym.sty.ltxml
 ${P5SITE}/LaTeXML/Package/ae.sty.ltxml
 ${P5SITE}/LaTeXML/Package/aecompl.sty.ltxml
 ${P5SITE}/LaTeXML/Package/afterpage.sty.ltxml
+${P5SITE}/LaTeXML/Package/aipcheck.tex.ltxml
+${P5SITE}/LaTeXML/Package/aipproc.cls.ltxml
 ${P5SITE}/LaTeXML/Package/algc.sty.ltxml
 ${P5SITE}/LaTeXML/Package/algcompatible.sty.ltxml
 ${P5SITE}/LaTeXML/Package/algmatlab.sty.ltxml
@@ -155,6 +156,8 @@ ${P5SITE}/LaTeXML/Package/balance.sty.lt
 ${P5SITE}/LaTeXML/Package/bbm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/bbold.sty.ltxml
 ${P5SITE}/LaTeXML/Package/beton.sty.ltxml
+${P5SITE}/LaTeXML/Package/bibunits.sty.ltxml
+${P5SITE}/LaTeXML/Package/blindtext.sty.ltxml
 ${P5SITE}/LaTeXML/Package/bm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/book.cls.ltxml
 ${P5SITE}/LaTeXML/Package/bookman.sty.ltxml
@@ -162,12 +165,15 @@ ${P5SITE}/LaTeXML/Package/booktabs.sty.l
 ${P5SITE}/LaTeXML/Package/braket.sty.ltxml
 ${P5SITE}/LaTeXML/Package/breakurl.sty.ltxml
 ${P5SITE}/LaTeXML/Package/calc.sty.ltxml
+${P5SITE}/LaTeXML/Package/calrsfs.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cancel.sty.ltxml
 ${P5SITE}/LaTeXML/Package/caption.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cases.sty.ltxml
 ${P5SITE}/LaTeXML/Package/ccfonts.sty.ltxml
 ${P5SITE}/LaTeXML/Package/chancery.sty.ltxml
+${P5SITE}/LaTeXML/Package/chapterbib.sty.ltxml
 ${P5SITE}/LaTeXML/Package/charter.sty.ltxml
+${P5SITE}/LaTeXML/Package/chngcntr.sty.ltxml
 ${P5SITE}/LaTeXML/Package/circuitikz.sty.ltxml
 ${P5SITE}/LaTeXML/Package/cite.sty.ltxml
 ${P5SITE}/LaTeXML/Package/citesort.sty.ltxml
@@ -217,6 +223,7 @@ ${P5SITE}/LaTeXML/Package/eurosym.sty.lt
 ${P5SITE}/LaTeXML/Package/euscript.sty.ltxml
 ${P5SITE}/LaTeXML/Package/exscale.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fancyhdr.sty.ltxml
+${P5SITE}/LaTeXML/Package/fancyheadings.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fix-cm.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fixltx2e.sty.ltxml
 ${P5SITE}/LaTeXML/Package/flafter.sty.ltxml
@@ -230,6 +237,7 @@ ${P5SITE}/LaTeXML/Package/flushend.sty.l
 ${P5SITE}/LaTeXML/Package/fontenc.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fontspec.sty.ltxml
 ${P5SITE}/LaTeXML/Package/footmisc.sty.ltxml
+${P5SITE}/LaTeXML/Package/footnote.sty.ltxml
 ${P5SITE}/LaTeXML/Package/fourier.sty.ltxml
 ${P5SITE}/LaTeXML/Package/framed.sty.ltxml
 ${P5SITE}/LaTeXML/Package/french.ldf.ltxml
@@ -250,9 +258,7 @@ ${P5SITE}/LaTeXML/Package/hhline.sty.ltx
 ${P5SITE}/LaTeXML/Package/html.sty.ltxml
 ${P5SITE}/LaTeXML/Package/hyperref.sty.ltxml
 ${P5SITE}/LaTeXML/Package/hyperxmp.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2016.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2017.sty.ltxml
-${P5SITE}/LaTeXML/Package/icml2018.sty.ltxml
+${P5SITE}/LaTeXML/Package/icml.sty.ltxml
 ${P5SITE}/LaTeXML/Package/icml_support.sty.ltxml
 ${P5SITE}/LaTeXML/Pack

[Update] devel/p5-Modern-Perl : Update to 1.20190727

2019-07-27 Thread wen heping
Hi, ports@:

Here is a patch for devel/p5-Modern-Perl to update to 1.20190727.
It build well and passed all tests on amd64-head system.
No other ports depends on devel/p5-Modern-Perl.

Comments? OK?
wen
Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile17 Jul 2019 14:49:21 -  1.7
+++ Makefile28 Jul 2019 01:30:49 -
@@ -5,9 +5,8 @@ COMMENT =   enable all of the features of
 MODULES =  cpan
 PKG_ARCH = *
 CPAN_AUTHOR =  CHROMATIC
-DISTNAME = Modern-Perl-1.20181021
+DISTNAME = Modern-Perl-1.20190727
 CATEGORIES =   devel
-REVISION = 0
 
 # Perl
 PERMIT_PACKAGE =   Yes
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo10 Dec 2018 09:46:26 -  1.4
+++ distinfo28 Jul 2019 01:30:49 -
@@ -1,2 +1,2 @@
-SHA256 (Modern-Perl-1.20181021.tar.gz) = 
HUgrUo98bGD4aNfQvw/MnDZoJQ3ET8s5qVt8Y+CSycU=
-SIZE (Modern-Perl-1.20181021.tar.gz) = 14234
+SHA256 (Modern-Perl-1.20190727.tar.gz) = 
LmnXq35KUxU+aGwlVHrZFOdGTU5WBLiFGTGm5j/FGyE=
+SIZE (Modern-Perl-1.20190727.tar.gz) = 14826
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   3 Sep 2014 10:06:23 -   1.1.1.1
+++ pkg/PLIST   28 Jul 2019 01:30:49 -
@@ -1,7 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2014/09/03 10:06:23 landry Exp $
 ${P5SITE}/Modern/
 ${P5SITE}/Modern/Perl.pm
+${P5SITE}/odern/
+${P5SITE}/odern/Perl.pm
 @man man/man3p/Modern::Perl.3p
+@man man/man3p/odern::Perl.3p
 share/doc/p5-Modern-Perl/
 share/doc/p5-Modern-Perl/Changes
 share/doc/p5-Modern-Perl/LICENSE


[ports-gcc] Unbreak emulators/desmume

2019-07-27 Thread Charlene Wendling

> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/desmume.log
> http://build-failures.rhaalovely.net/sparc64/2019-07-11/emulators/desmume.log

Since gcc-6 this part of the code requires integer constants, and later
in the build, some additional casting is needed. The diff has been
upstreamed already [0].

This fixes the build on macppc, i've tested some homebrews without
issues. amd64 is still doing well.

While here i've moved HOMEPAGE to https. 

The code contains some DOS line endings, so i attach it this time. 

Comments/feedback are welcome!

Charlène.


[0] https://sourceforge.net/p/desmume/bugs/1570/
[1] https://bin.charlenew.xyz/desmume.log




desmume.diff
Description: Binary data


[ports-gcc] Unbreak emulators/xnp2

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/sparc64/2019-07-11/emulators/xnp2.log
> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/xnp2.log

There is a macro vs function clash here iiuc.

Upstream [0] has already accepted a fix for it. It builds without
issues on macppc [1] and amd64.

Comments/feedback are welcome!

Charlène.


[0] https://github.com/nonakap/xnp2/issues/6
[1] https://bin.charlenew.xyz/xnp2.log


Index: Makefile
===
RCS file: /cvs/ports/emulators/xnp2/Makefile,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 Makefile
--- Makefile12 Jul 2019 20:46:10 -  1.14
+++ Makefile27 Jul 2019 22:54:26 -
@@ -4,7 +4,7 @@ COMMENT =   PC-9801 emulator
 
 DISTNAME = xnp2-0.86
 EPOCH =0
-REVISION = 3
+REVISION = 4
 CATEGORIES =   emulators
 
 HOMEPAGE = https://www.nonakap.org/np2/
Index: patches/patch-x11_compiler_h
===
RCS file: patches/patch-x11_compiler_h
diff -N patches/patch-x11_compiler_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-x11_compiler_h27 Jul 2019 22:54:26 -
@@ -0,0 +1,25 @@
+$OpenBSD$
+
+ports-gcc fix for: 
+error: macro "min" passed 3 arguments, but takes just 2
+From:
+https://github.com/nonakap/xnp2/issues/6
+
+Index: x11/compiler.h
+--- x11/compiler.h.orig
 x11/compiler.h
+@@ -117,12 +117,14 @@ typedef  gbooleanBOOL;
+ #define   MAX_PATHMAXPATHLEN
+ #endif
+ 
++#ifndef __cplusplus
+ #ifndef   max
+ #define   max(a,b)(((a) > (b)) ? (a) : (b))
+ #endif
+ #ifndef   min
+ #define   min(a,b)(((a) < (b)) ? (a) : (b))
+ #endif
++#endif /* __cplusplus */
+ 
+ #ifndef   ZeroMemory
+ #define   ZeroMemory(d,n) memset((d), 0, (n))



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Ryan Freeman
On Sat, Jul 27, 2019 at 04:13:07PM -0400, Brian Callahan wrote:
> 
> 
> On 7/27/19 3:52 PM, Ryan Freeman wrote:
> >Thanks Brian.  How about this, then?  Same thing, just without
> >Simon's name in the DESCR.
> >
> 
> How about just "Chocolate Doom aims to provide an experience
> identical to that of the original games on original hardware." Same
> effect, no weird "author" this or that.
> 
> ~Brian

That works great :)  OK by with with your change.
-Ryan

> 
> >On Sat, Jul 27, 2019 at 5:41 AM Brian Callahan  >> wrote:
> >
> >
> >
> >On 7/26/19 8:46 PM, Ryan Freeman wrote:
> >> Hey All,
> >>
> >> For some reason my normal email doesn't seem to be working with
> >regards to
> >> reaching ports@.
> >> Apologies for the gmail-based delivery.
> >>
> >> This isn't a version update, just a change to the package DESCR, and
> >> removal of MESSAGE
> >> in lieu of a pkg README.  I've tried to dress it up to cover
> >most things a
> >> user might need
> >> to know on installation of chocolate-doom, and now the DESCR
> >doesn't scroll
> >> away an
> >> 80x24 terminal.
> >
> >I like this overall. I think it's a good improvement.
> >That one sentence with the author's name feels awkward (we don't list
> >the authors of any other software in DESCR, do we?) but that was
> >in the
> >original DESCR too.
> >
> >OK for me.
> >
> >~Brian
> >
> 



[macppc] unbreak security/aircrack

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/security/aircrack-ng.log

On macppc:

- we have AltiVec support
- we don't (and won't) have POWER8 instructions

The autotools magic works properly here. As such, it's just about
removing the PFRAG entries. This indeed packages [0] once done.

I can't test the runtime, the bwi(4) wifi card in my PowerBook is
known to be almost unusable.

REVISION bump is probably gratuitous.

Comments/feedback are welcome!

Charlène.

[0] https://bin.charlenew.xyz/aircrack-ng.log



Index: Makefile
===
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 21:02:24 -  1.26
+++ Makefile27 Jul 2019 21:19:34 -
@@ -2,7 +2,7 @@
 
 COMMENT=   802.11 WEP and WPA-PSK keys cracking program
 DISTNAME=  aircrack-ng-1.5.2
-REVISION=  1
+REVISION=  2
 CATEGORIES=security
 
 HOMEPAGE=  https://www.aircrack-ng.org/
Index: pkg/PFRAG.ppc
===
RCS file: /cvs/ports/security/aircrack-ng/pkg/PFRAG.ppc,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 PFRAG.ppc
--- pkg/PFRAG.ppc   23 Feb 2019 22:23:25 -  1.1
+++ pkg/PFRAG.ppc   27 Jul 2019 21:19:34 -
@@ -1,7 +1,4 @@
 @comment $OpenBSD: PFRAG.ppc,v 1.1 2019/02/23 22:23:25 sebastia Exp $
-lib/libaircrack-crypto-ppc-power8-1.3.0.so
-lib/libaircrack-crypto-ppc-power8.la
-lib/libaircrack-crypto-ppc-power8.so
 lib/libaircrack-crypto-ppc-altivec-1.3.0.so
 lib/libaircrack-crypto-ppc-altivec.la
 lib/libaircrack-crypto-ppc-altivec.so



[ports-gcc] Unbreak productivity/ledger

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/productivity/ledger.log
> http://build-failures.rhaalovely.net/sparc64/2019-07-11/productivity/ledger.log

There is some namespace issues when built with gcc, upstream fixed it
already.

This allows building on macppc [0], and amd64 is still fine.

Comments/feedback are welcome!

Charlène. 


[0] https://bin.charlenew.xyz/ledger.log


Index: Makefile
===
RCS file: /cvs/ports/productivity/ledger/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile12 Jul 2019 20:48:58 -  1.26
+++ Makefile27 Jul 2019 21:05:16 -
@@ -5,7 +5,7 @@ COMMENT =   command line double-entry acc
 GH_TAGNAME =   v3.1.1
 GH_ACCOUNT =   ledger
 GH_PROJECT =   ledger
-REVISION = 3
+REVISION = 4
 
 SHARED_LIBS +=  ledger0.0 # 3.0
 
Index: patches/patch-src_item_h
===
RCS file: patches/patch-src_item_h
diff -N patches/patch-src_item_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_item_h27 Jul 2019 21:05:16 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+Fix the build with ports-gcc, from upstream:
+https://github.com/ledger/ledger/commit/258cab91ab702e82d477b41bb1c6a026c848bda5
+
+Index: src/item.h
+--- src/item.h.orig
 src/item.h
+@@ -92,7 +92,7 @@ class item_t : public supports_flags, 
+ 
+   typedef std::pair, bool> tag_data_t;
+   typedef std::map > string_map;
++   std::function > string_map;
+ 
+   state_t  _state;
+   optional _date;



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Brian Callahan




On 7/27/19 3:52 PM, Ryan Freeman wrote:
Thanks Brian.  How about this, then?  Same thing, just without Simon's 
name in the DESCR.




How about just "Chocolate Doom aims to provide an experience identical 
to that of the original games on original hardware." Same effect, no 
weird "author" this or that.


~Brian

On Sat, Jul 27, 2019 at 5:41 AM Brian Callahan > wrote:




On 7/26/19 8:46 PM, Ryan Freeman wrote:
> Hey All,
>
> For some reason my normal email doesn't seem to be working with
regards to
> reaching ports@.
> Apologies for the gmail-based delivery.
>
> This isn't a version update, just a change to the package DESCR, and
> removal of MESSAGE
> in lieu of a pkg README.  I've tried to dress it up to cover
most things a
> user might need
> to know on installation of chocolate-doom, and now the DESCR
doesn't scroll
> away an
> 80x24 terminal.

I like this overall. I think it's a good improvement.
That one sentence with the author's name feels awkward (we don't list
the authors of any other software in DESCR, do we?) but that was
in the
original DESCR too.

OK for me.

~Brian





[macppc, arm64] Unbreak graphics/openscenegraph

2019-07-27 Thread Charlene Wendling


> http://build-failures.rhaalovely.net/powerpc/2019-07-14/graphics/openscenegraph.log
> http://build-failures.rhaalovely.net/aarch64/2019-07-12/graphics/openscenegraph.log

Typical narrowing error... once type specifiers are used properly, it
builds without issues [0] on macppc (and amd64 isn't broken).

While here, i've removed the -std=c++11 block, as expected we don't need
that anymore with gcc-8.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/openscenegraph.log.gz


Index: Makefile
===
RCS file: /cvs/ports/graphics/openscenegraph/Makefile,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 Makefile
--- Makefile12 Jul 2019 20:47:05 -  1.17
+++ Makefile27 Jul 2019 19:37:29 -
@@ -9,7 +9,7 @@ GH_ACCOUNT =openscenegraph
 GH_PROJECT =   OpenSceneGraph
 GH_TAGNAME =   OpenSceneGraph-$V
 DISTNAME = openscenegraph-${V}
-REVISION = 3
+REVISION = 4
 
 SUBST_VARS +=  V
 
@@ -67,9 +67,3 @@ CONFIGURE_ARGS =  -DDESIRED_QT_VERSION=5 
 NO_TEST =  Yes
 
 .include 
-
-# fix error: #error Must have C++11 or newer.
-# XXX this should be retried once moving to ports-gcc>=8
-.if ${CHOSEN_COMPILER} == "ports-gcc"
-CONFIGURE_ENV += CXXFLAGS="${CXXFLAGS} -std=c++11"
-.endif
Index: patches/patch-src_osgDB_ConvertBase64_cpp
===
RCS file: patches/patch-src_osgDB_ConvertBase64_cpp
diff -N patches/patch-src_osgDB_ConvertBase64_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgDB_ConvertBase64_cpp   27 Jul 2019 19:37:29 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix narrowing errors on archs where char is unsigned by default (ppc, arm)
+
+Index: src/osgDB/ConvertBase64.cpp
+--- src/osgDB/ConvertBase64.cpp.orig
 src/osgDB/ConvertBase64.cpp
+@@ -28,7 +28,7 @@ namespace osgDB
+ 
+ int base64_decode_value(char value_in)
+ {
+-static const char decoding[] = 
{62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51};
++static const signed char decoding[] = 
{62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-2,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51};
+ static const char decoding_size = sizeof(decoding);
+ value_in -= 43;
+ if (value_in < 0 || value_in > decoding_size) return -1;
Index: patches/patch-src_osgPlugins_osgjs_Base64
===
RCS file: patches/patch-src_osgPlugins_osgjs_Base64
diff -N patches/patch-src_osgPlugins_osgjs_Base64
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgPlugins_osgjs_Base64   27 Jul 2019 19:37:29 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+ppc, arm: from_table is actually signed, and has to be declared as such
+
+Index: src/osgPlugins/osgjs/Base64
+--- src/osgPlugins/osgjs/Base64.orig
 src/osgPlugins/osgjs/Base64
+@@ -61,7 +61,7 @@ namespace base64
+   extern const char* to_table;
+   extern const char* to_table_end;
+ 
+-  extern const char* from_table;
++  extern const signed char* from_table;
+ 
+ 
+   template 
Index: patches/patch-src_osgPlugins_osgjs_Base64_cpp
===
RCS file: patches/patch-src_osgPlugins_osgjs_Base64_cpp
diff -N patches/patch-src_osgPlugins_osgjs_Base64_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_osgPlugins_osgjs_Base64_cpp   27 Jul 2019 19:37:29 
-
@@ -0,0 +1,24 @@
+$OpenBSD$
+
+Fix narrowing errors on archs where char is unsigned by default (ppc, arm)
+
+Index: src/osgPlugins/osgjs/Base64.cpp
+--- src/osgPlugins/osgjs/Base64.cpp.orig
 src/osgPlugins/osgjs/Base64.cpp
+@@ -18,7 +18,7 @@ namespace base64
+   const char* to_table_end =
+ _to_table + sizeof(_to_table);
+ 
+-  const char _from_table[128] =
++  const signed char _from_table[128] =
+   {
+ -1, -1, -1, -1, -1, -1, -1, -1, // 0
+ -1, -1, -1, -1, -1, -1, -1, -1, // 8
+@@ -37,6 +37,6 @@ namespace base64
+ 41, 42, 43, 44, 45, 46, 47, 48, // 112
+ 49, 50, 51, -1, -1, -1, -1, -1  // 120
+   };
+-  const char* from_table = _from_table;
++  const signed char* from_table = _from_table;
+ }
+ 



[macppc] Unbreak emulators/retroarch

2019-07-27 Thread Charlene Wendling
Hi!

> http://build-failures.rhaalovely.net/powerpc/2019-07-14/emulators/retroarch.log

It's simply a missing header with the asm code that goes with it.

Once added it builds [0] and (surprisingly) runs fine on macppc. While
pretty useless to do in such a case, i've tested on amd64 as well, and
met no issues indeed.

Comments/feedback are welcome,

Charlène.


[0] https://bin.charlenew.xyz/retroarch.log.gz


Index: Makefile
===
RCS file: /cvs/ports/emulators/retroarch/Makefile,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 Makefile
--- Makefile12 Jul 2019 20:46:09 -  1.18
+++ Makefile27 Jul 2019 15:15:30 -
@@ -5,7 +5,7 @@ COMMENT =   generic multi-emulator fronte
 V =1.7.6
 DISTNAME = RetroArch-$V
 PKGNAME =  retroarch-$V
-REVISION = 1
+REVISION = 2
 
 CATEGORIES =   emulators
 
Index: patches/patch-libretro-common_features_features_cpu_c
===
RCS file: patches/patch-libretro-common_features_features_cpu_c
diff -N patches/patch-libretro-common_features_features_cpu_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-libretro-common_features_features_cpu_c   27 Jul 2019 
15:15:30 -
@@ -0,0 +1,17 @@
+$OpenBSD$
+
+ppc fix for:
+features_cpu.c:(.text+0x20): undefined reference to `__mftb'
+
+Index: libretro-common/features/features_cpu.c
+--- libretro-common/features/features_cpu.c.orig
 libretro-common/features/features_cpu.c
+@@ -39,7 +39,7 @@
+ #include 
+ #endif
+ 
+-#if defined(__CELLOS_LV2__)
++#if defined(__CELLOS_LV2__) || ( defined(__OpenBSD__) && defined(__powerpc__) 
)
+ #ifndef _PPU_INTRINSICS_H
+ #include 
+ #endif



Re: [ports-gcc] unbreak graphics/spirv-tools and graphics/glslang

2019-07-27 Thread Thomas Frohwein
[...]
> OK.
> 
> All ports with ${COMPILER_LIBCXX} in WANTLIB should set COMPILER unless there
> are special circumstance (mostly just things on the path to building ports-gcc
> itself).
> 
>

committed along with vulkan-loader diff, thanks!

-- 
  
tfrohw...@fastmail.com

PGP Public Key: https://pgp.mit.edu/pks/lookup?op=get&search=0xE1A22D58D20C6D22



Re: UPDATE: games/chocolate-doom

2019-07-27 Thread Brian Callahan




On 7/26/19 8:46 PM, Ryan Freeman wrote:

Hey All,

For some reason my normal email doesn't seem to be working with regards to
reaching ports@.
Apologies for the gmail-based delivery.

This isn't a version update, just a change to the package DESCR, and
removal of MESSAGE
in lieu of a pkg README.  I've tried to dress it up to cover most things a
user might need
to know on installation of chocolate-doom, and now the DESCR doesn't scroll
away an
80x24 terminal.


I like this overall. I think it's a good improvement.
That one sentence with the author's name feels awkward (we don't list 
the authors of any other software in DESCR, do we?) but that was in the 
original DESCR too.


OK for me.

~Brian



回复: [NEW] www/p5-HTTP-Entity-Parser

2019-07-27 Thread wen heping
ping ...

发件人: Charlene Wendling 
发送时间: 2019年7月20日 17:51
收件人: wen heping 
抄送: ports@openbsd.org 
主题: Re: [NEW] www/p5-HTTP-Entity-Parser

On Tue, 16 Jul 2019 07:24:56 +
wen heping wrote:

> Hi, ports@:
>
> Here is a patch to create new port www/p5-HTTP-Entity-Parser,
> which is required by the future update of www/p5-Plack.
> It build well and passed all tests on my amd64-head system.
>
> Comments? OK?
> wen

OK cwen@


回复: [NEW] textproc/p5-PPIx-QuoteLike

2019-07-27 Thread wen heping
Revised patch, fixed RUN_DEPENDS.
Thank Stuart Henderson !

wen

发件人: Stuart Henderson 
发送时间: 2019年7月26日 22:42
收件人: wen heping 
抄送: ports@openbsd.org 
主题: Re: [NEW] textproc/p5-PPIx-QuoteLike

On 2019/07/26 12:37, wen heping wrote:
> Hi, ports@:
>
> Here is a patch to create new port textproc/p5-PPIx-QuoteLike,
> which is required by the update of devel/p5-Perl-Critic.
>  It build well and passed all tests on amd64-head system.
>
> Comments? OK?
> wen

RUN_DEPENDS =   cpan/p5-PPI>=1.117




p5-PPIx-QuoteLike-p0.tar.gz
Description: p5-PPIx-QuoteLike-p0.tar.gz