CVS: cvs.openbsd.org: ports

2016-10-20 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2016/10/20 18:45:43

Modified files:
infrastructure/lib/DPB: Engine.pm State.pm User.pm 
infrastructure/lib/DPB/Heuristics: Size.pm 

Log message:
dpb cleans the permanent logs, always using the same pattern,
so write a method for that.

And don't fail silently when it doesn't work, because that causes
trouble down the line.

(e.g., your log user must be able to write into build-stats!!!)



Re: UPDATE devel/sdl 2.0.5

2016-10-20 Thread Jeremie Courreges-Anglas
David CARLIER  writes:

> Hi,
>
> here an update of SDL which seems small but now has now an
> implementation of SDL_GetBasePath function which can benefit to few
> video games (like supertux), maybe future Adam Wolk port of
> falltergeist ...

I'm not sure how I understand how important why this function is
important.  Right now it seems to return the current working directory.


#include 
#include 

int
main(void)
{
char *p;

p = SDL_GetBasePath();
if (!p)
return 1;
printf("%s\n", p);

return 0;
}


Anyway, functions were added and the size of the SDL_DropEvent struct
increased - though in a compatible manner.  So it needs a minor bump.

  http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs

Which consumers of this library have you tested?


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [NEW] cbmc - Bounded Model Checker for C and C++

2016-10-20 Thread Jeremie Courreges-Anglas
Stuart Henderson  writes:

> On 2016/10/20 22:11, Jeremie Courreges-Anglas wrote:
>> Jeremie Courreges-Anglas  writes:
>> 
>> > Simon Mages  writes:
>> >
>> >> Anything else i have to do?
>> >>
>> >> Or only wait until somebody picks it up and commits it?
>> >
>> > New ports must be reviewed by at least a second developer.
>> >
>> > As far as I'm concerned, the port looks good as is. ok jca@ is if
>> > someone wants to import it.
>> >
>> > Tarball attached for convenience.
>> 
>> Updated tarball, fcambus@ spotted a missing build dep on devel/bison.
>
> | CBMC is a Bounded Model Checker for C and C++ programs. It supports C89, 
> C99,
> | most of C11 and most compiler extensions provided by gcc and Visual Studio. 
> It
> | also supports SystemC using Scoot. We have recently added experimental 
> support
> | for Java Bytecode.
>
> "we" sounds a bit funny here. Maybe "using Scoot, and has experimental..." ?

Yup.

> | CBMC verifies array bounds (buffer overflows), pointer safety, 
> ex­\cep­\tions
> | and user-specified as­\ser­\tions. Furthermore, it can check C and C++ for 
> | consistency with other languages, such as Verilog. The verification is
> | performed by unwinding the loops in the program and passing the 
> re­\sul­\ting
> | equation to a decision procedure.
>
> There are some odd unicode characters in that paragraph which don't add
> anything to it and I think should be removed. Also whitespace at eol.

Heh, nice catch.

> | While CBMC is aimed for embedded software, it also supports dynamic memory
> | allocation using malloc and new.
> | 
> | CBMC comes with a built-in solver for bit-vector formulas that is based on
> | MiniSat. As an alternative, CBMC has featured support for external SMT 
> solvers
> | since version 3.3. The solvers we recommend are (in no particular order)
> | Boolector, MathSAT, Yices 2 and Z3. Note that these solvers need to be
> | installed separately and have different licensing conditions.
>
> "we" again, and version history of the project isn't really interesting
> for DESCR here. Maybe trim to "based on MiniSat, and also supports external
> SMT solvers"?

->
CBMC comes with a built-in solver for bit-vector formulas that is based on
MiniSat. As an alternative, CBMC has featured support for external SMT
solvers. Recommended solvers are (in no particular order) Boolector,
MathSAT, Yices 2 and Z3. Note that these solvers need to be installed
separately and have different licensing conditions.

> | share/doc/cbmc/man/
> | share/doc/cbmc/man/cbmc.1
> | @man man/man1/cbmc.1
>
> No need to include the manual twice.

Yeah, I ignored those bits but hey, let's remove them.

> Other than those minor things it looks good to import to me.

Is this an ok? :)

Updated tarball below, thanks.



cbmc.5.tar.gz
Description: Binary data

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


Re: UPDATE: Zile-2.4.12

2016-10-20 Thread Jeremie Courreges-Anglas
"Gonzalo L. Rodriguez"  writes:

> Hello,
>
> Little update for Zile to 2.4.12
>
> Ok?

Looks fine ports wise, ok jca@

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2016/10/20 15:12:38

Modified files:
x11/xfe: Makefile 
x11/xfe/patches: patch-src_SearchWindow_cpp 

Log message:
fix "seach window"



Re: [NEW] cbmc - Bounded Model Checker for C and C++

2016-10-20 Thread Stuart Henderson
On 2016/10/20 22:11, Jeremie Courreges-Anglas wrote:
> Jeremie Courreges-Anglas  writes:
> 
> > Simon Mages  writes:
> >
> >> Anything else i have to do?
> >>
> >> Or only wait until somebody picks it up and commits it?
> >
> > New ports must be reviewed by at least a second developer.
> >
> > As far as I'm concerned, the port looks good as is. ok jca@ is if
> > someone wants to import it.
> >
> > Tarball attached for convenience.
> 
> Updated tarball, fcambus@ spotted a missing build dep on devel/bison.

| CBMC is a Bounded Model Checker for C and C++ programs. It supports C89, C99,
| most of C11 and most compiler extensions provided by gcc and Visual Studio. It
| also supports SystemC using Scoot. We have recently added experimental support
| for Java Bytecode.

"we" sounds a bit funny here. Maybe "using Scoot, and has experimental..." ?

| CBMC verifies array bounds (buffer overflows), pointer safety, ex­\cep­\tions
| and user-specified as­\ser­\tions. Furthermore, it can check C and C++ for 
| consistency with other languages, such as Verilog. The verification is
| performed by unwinding the loops in the program and passing the re­\sul­\ting
| equation to a decision procedure.

There are some odd unicode characters in that paragraph which don't add
anything to it and I think should be removed. Also whitespace at eol.

| While CBMC is aimed for embedded software, it also supports dynamic memory
| allocation using malloc and new.
| 
| CBMC comes with a built-in solver for bit-vector formulas that is based on
| MiniSat. As an alternative, CBMC has featured support for external SMT solvers
| since version 3.3. The solvers we recommend are (in no particular order)
| Boolector, MathSAT, Yices 2 and Z3. Note that these solvers need to be
| installed separately and have different licensing conditions.

"we" again, and version history of the project isn't really interesting
for DESCR here. Maybe trim to "based on MiniSat, and also supports external
SMT solvers"?

| share/doc/cbmc/man/
| share/doc/cbmc/man/cbmc.1
| @man man/man1/cbmc.1

No need to include the manual twice.

Other than those minor things it looks good to import to me.



CVS: cvs.openbsd.org: ports

2016-10-20 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2016/10/20 14:25:19

Modified files:
www/kcaldav: Makefile 
Added files:
www/kcaldav/patches: patch-delete_c patch-dynamic_c patch-get_c 
 patch-options_c patch-principal_c 
 patch-property_c patch-propfind_c 
 patch-proppatch_c patch-put_c 
 patch-resource_c patch-util_c 

Log message:
Make kcaldav compile again after recent update to kcgi

Patches to be submitted upstream and can be removed next release.



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2016/10/20 14:23:49

Modified files:
net/tor: Tag: OPENBSD_6_0 Makefile 
Added files:
net/tor/patches: Tag: OPENBSD_6_0 patch-src_or_buffers_c 

Log message:
SECURITY fix for CVE-2016-8860.

ok danj@ robert@



Re: [Patch] lang/sbcl version bump + threads flavor

2016-10-20 Thread Jeremie Courreges-Anglas
"Solène Rapenne"  writes:

> Hello,

Hi,

> Please find a version bump for sbcl and a flavor which enable thread.
> There is no support for threads in sbcl for macppc and they are considered
> experimental on OpenBSD, so it should not be the default, hence a thread
> flavor.
>
> I'm using it everyday and did not encounter an issue yet.

Your diff is mangled.  Please send it as an attachment or... fix your
mail client. :)

> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/sbcl/Makefile,v
> retrieving revision 1.28
> diff -u -p -r1.28 Makefile
> --- Makefile 3 Sep 2016 15:10:12 - 1.28
> +++ Makefile 19 Oct 2016 14:44:52 -
> @@ -6,8 +6,7 @@ USE_WXNEEDED = Yes
>
> COMMENT= compiler and runtime system for ANSI Common Lisp
>
> -V = 1.2.14
> -REVISION = 1
> +V = 1.3.10
> DISTNAME= sbcl-${V}-source
> PKGNAME= sbcl-${V}
> WRKDIST= ${WRKDIR}/sbcl-${V}
> @@ -28,9 +27,16 @@ MODGCC4_LANGS= c
>
> WANTLIB= c m util
>
> -PSEUDO_FLAVORS= native_bootstrap
> +FLAVORS= threads
> FLAVOR?=
>
> +EXTRA_PARAMS= 
> +.if ${FLAVOR:Mthreads}
> +EXTRA_PARAMS= --with-sb-threads
> +.endif
> +
> +PSEUDO_FLAVORS= native_bootstrap
> +
> .if ${FLAVOR:Mnative_bootstrap}
> BUILD_DEPENDS+= lang/sbcl
> BOOTSTRAP_CMD= ${LOCALBASE}/bin/sbcl \
> @@ -63,7 +69,7 @@ pre-configure:
>
> do-build:
> cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} /bin/sh make.sh \
> - --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}"
> + --prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}" ${EXTRA_PARAMS}
> cd ${WRKSRC}/doc/manual && touch sbcl.texinfo && \
> ${SETENV} ${MAKE_ENV} ${GMAKE} asdf.info sbcl.info
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/lang/sbcl/distinfo,v
> retrieving revision 1.12
> diff -u -p -r1.12 distinfo
> --- distinfo 11 Aug 2015 21:41:04 - 1.12
> +++ distinfo 19 Oct 2016 14:44:52 -
> @@ -1,2 +1,2 @@
> -SHA256 (sbcl-1.2.14-source.tar.bz2) = 
> uRRt1kYMBbylCPbdqDADWAkRgz7t1R28CdjsqAsPXAY=
> -SIZE (sbcl-1.2.14-source.tar.bz2) = 5565538
> +SHA256 (sbcl-1.3.10-source.tar.bz2) = 
> SlZ6rZGzFsIut1bdjlAs/ZqVpMZg+x+i6x5Q4Am4V3c=
> +SIZE (sbcl-1.3.10-source.tar.bz2) = 5763563
>
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [NEW] cbmc - Bounded Model Checker for C and C++

2016-10-20 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas  writes:

> Simon Mages  writes:
>
>> Anything else i have to do?
>>
>> Or only wait until somebody picks it up and commits it?
>
> New ports must be reviewed by at least a second developer.
>
> As far as I'm concerned, the port looks good as is. ok jca@ is if
> someone wants to import it.
>
> Tarball attached for convenience.

Updated tarball, fcambus@ spotted a missing build dep on devel/bison.



cbmc.4.tar.gz
Description: Binary data


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


UPDATE devel/sdl 2.0.5

2016-10-20 Thread David CARLIER
Hi,

here an update of SDL which seems small but now has now an
implementation of SDL_GetBasePath function which can benefit to few
video games (like supertux), maybe future Adam Wolk port of
falltergeist ...

Kind regards.
Index: Makefile
===
RCS file: /cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile19 Mar 2016 11:34:50 -  1.14
+++ Makefile20 Oct 2016 19:50:49 -
@@ -3,8 +3,7 @@
 COMMENT=   cross-platform multimedia library
 BROKEN-hppa=   src/atomic/SDL_spinlock.c:101:2: error: #error Please implement 
for your platform.
 
-V= 2.0.4
-REVISION=  0
+V= 2.0.5
 DISTNAME=  SDL2-${V}
 PKGNAME=   sdl2-${V}
 CATEGORIES=devel
Index: distinfo
===
RCS file: /cvs/ports/devel/sdl2/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo7 Jan 2016 04:49:37 -   1.4
+++ distinfo20 Oct 2016 19:50:49 -
@@ -1,2 +1,2 @@
-SHA256 (SDL2-2.0.4.tar.gz) = 2lXlQL9jMYJBU4BdWLWQopw50tUGxtAvpAmu3qshF0s=
-SIZE (SDL2-2.0.4.tar.gz) = 4136230
+SHA256 (SDL2-2.0.5.tar.gz) = RCA4z1ny/wbZdgMYE95kOvnJ7cnjMb12HCQuh4U=
+SIZE (SDL2-2.0.5.tar.gz) = 4209352


CVS: cvs.openbsd.org: ports

2016-10-20 Thread Dmitrij Czarkoff
CVSROOT:/cvs
Module name:ports
Changes by: czark...@cvs.openbsd.org2016/10/20 11:28:52

Modified files:
multimedia/mpv : Makefile distinfo 
Added files:
multimedia/mpv/patches: patch-video_out_opengl_context_c 
patch-wscript 

Log message:
update to mpv 0.21.0

Two patches that are added in this commit are already upstreamed, so they
should be removed with next update.



Re: Update emulators/mednafen 0.9.38.7 -> 0.9.39.2

2016-10-20 Thread Bryan Steele
On Wed, Oct 19, 2016 at 10:41:27PM -0700, Jeremy Evans wrote:
> Update to the latest medafen release.  The major change in this update
> is the addition of Saturn support, which I tested and does appear to
> work (at least with Shanghai Triple Threat).
> 
> Changelog:
> 
> Added experimental Sega Saturn emulation.
> 
> Low-accuracy "snes_faust" SNES emulation module is now compiled in and
> available by default(but not used by default, except for SPC playback).
> 
> The version is now displayed in the upper right corner of the F1 help
> screen.
> 
> Scrolling in the netplay and cheat consoles is now done in visible line
> units, instead of internal line units as before, and when a console is
> not scrolled all the way down, a green indicator arrow will now be drawn
> in the lower right corner.
> 
> Revamped the layout of the debugger's memory editor.
> 
> MD: Replaced old 68K emulator with new 68K emulator developed for Saturn
> emulation. Fixes major issues in "Double Clutch", "James Pond 3", and
> "Sub-Terrania". However, timing is currently a bit off with the new 68K
> emulation code, so there may be some regressions.
> 
> MD: Implemented kludge to fix a startup lockup in "Turrican".
> 
> NES: Implemented kludge to fix a minor Zelda 2 title screen glitch, a
> status bar glitch in Burai Fighter, and scrolling in the second stage of
> The Young Indiana Jones Chronicles.
> 
> NES: Enabled SSE2 support in the audio resampler(though not used on all
> CPUs with SSE2 support, mostly just newer ones).
> 
> NES, PCE, PC-FX: Added ARM NEON support to the audio resamplers(when
> compiled with -mfpu=neon or similar).
> 
> PCE, PC-FX: Added AVX support to the audio resampler.
> 
> PS1: Enabled emulation of a rarely-used CDC feature; fixes lockup bug in
> "Fantastic Pinball Kyutenkai".
> 
> PS1: Reordered CPU class data layout for a small performance boost on
> ARM CPUs.
> 
> SNES: Updated libco, for ARM support.
> 
> 
> Only significant ports changes are the setting of USE_WXNEEDED, as
> apparently mednafen uses W|X mappings, pointed out by brynet@.  I also
> had to remove the __inline code from the embedded quicklz to get this
> new version to compile.
> 
> Tested briefly on amd64, compiles on i386.  I'll try to do the hard work
> of additional testing this weekend, but assuming no problems I'll commit
> unless I hear objections.
> 
> Thanks,
> Jeremy
>
> ...

Great! :-)

It works well enough again for me to play SNES SMW. It takes
forever to compile though, heh.

ok brynet@, if it helps (tested on amd64)



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Daniel Jakots
CVSROOT:/cvs
Module name:ports
Changes by: d...@cvs.openbsd.org2016/10/20 10:19:11

Modified files:
net/haproxy/patches: patch-Makefile 

Log message:
Patch has been (finally, yay) committed upstream



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/10/20 05:36:12

Modified files:
security/letsencrypt/py-acme: Makefile 

Log message:
re-add py-ndg-httpsclient RDEP, accidentally removed when testing something 
earlier



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Dmitrij Czarkoff
CVSROOT:/cvs
Module name:ports
Changes by: czark...@cvs.openbsd.org2016/10/20 04:49:23

Modified files:
mail/s-nail: Makefile distinfo 
mail/s-nail/patches: patch-nail_rc 

Log message:
update to s-nail 14.8.12

While at it switch from libedit to s-nail's own line editing function to
avoid bugs with non-ASCII input in various places.  (Changing setlocale
call in main.c to use LC_CTYPE solves most of them, but some remain, eg.
saving attachments with non-ASCII names.)

With this commit I take maintainership from william@

OK william@



CVS: cvs.openbsd.org: ports

2016-10-20 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/10/20 01:23:23

Modified files:
sysutils/google-cloud-sdk: Makefile distinfo 
sysutils/google-cloud-sdk/pkg: PLIST 

Log message:
Update to google-cloud-sdk-131.0.0.



sparc64-1.ports.openbsd.org bulk build report

2016-10-20 Thread landry
bulk build on sparc64-1.ports.openbsd.org
started on  Tue Oct 4 12:08:45 MDT 2016
finished at Wed Oct 19 17:36:20 MDT 2016
lasted 15D22h27m
done with kern.version=OpenBSD 6.0-current (GENERIC) #1184: Mon Oct  3 21:28:56 
MDT 2016

built packages:8662
Oct 4:578
Oct 5:1895
Oct 6:153
Oct 7:21
Oct 8:36
Oct 9:85
Oct 10:122
Oct 11:59
Oct 12:88
Oct 13:128
Oct 14:137
Oct 15:215
Oct 16:266
Oct 17:461
Oct 18:922
Oct 19:3495

removing old pkg sets:  drwxr-xr-x 7 _pbuild _pbuild 512 Sep 10 06:44 
/usr/ports/packages/sparc64-2016-09-24-to-sign

hub:/usr/ports/packages/sparc64-2016-10-19-to-sign available for signing

build failures: 12
http://build-failures.rhaalovely.net//sparc64/2016-10-04/audio/moc.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/devel/ctftools.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/devel/keystone.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/games/bastet.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/geo/qgis.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/plan9/drawterm.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/security/sslscan,openssl.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/sysutils/u-boot.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/textproc/calibre.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/www/netsurf/browser.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/www/netsurf/netsurf-fb.log
http://build-failures.rhaalovely.net//sparc64/2016-10-04/x11/spice-gtk.log

recurrent failures
 failures/audio/moc.log
 failures/devel/ctftools.log
 failures/devel/keystone.log
 failures/games/bastet.log
 failures/geo/qgis.log
 failures/security/sslscan,openssl.log
 failures/sysutils/u-boot.log
 failures/textproc/calibre.log
new failures
+++ ls-failures Wed Oct 19 17:36:48 2016
+failures/plan9/drawterm.log
resolved failures
--- ../old/sparc64/last//ls-failuresSat Sep 24 17:17:25 2016
-failures/devel/ocaml-extlib.log
-failures/graphics/tesseract/tesseract.log
-failures/lang/squeak/vm.log
Base libs:
curses.14.0 edit.5.2 event.4.1 expat.11.0 form.6.0 formw.6.0 fuse.1.1
iberty.12.0 menu.6.0 menuw.6.0 ncurses.14.0 ncursesw.14.0 objc.6.0
ossaudio.4.0 panel.6.0 panelw.6.0 pcap.8.1 perl.17.1 radius.1.0
readline.4.0 rpcsvc.2.0 skey.6.0 sndio.6.1 stdc++.57.0 termcap.14.0
.14.0 usbhid.7.0 util.12.1 z.5.0 crypto.38.1 pthread.23.0 ssl.39.1
tls.11.4 c.89.2 c.89.2.a kvm.16.2 m.10.0

X libs:
EGL.1.0 FS.10.0 GLESv1_CM.1.0 GLU.9.0 GLw.6.0 ICE.10.0 SM.9.0
X11-xcb.2.0 X11.16.1 XRes.5.0 Xau.10.0 Xaw.15.0 Xaw7.15.0 Xcomposite.4.0
Xcursor.5.0 Xdamage.4.0 Xdmcp.11.0 Xext.13.0 Xfixes.6.0 Xfontcache.5.0
Xi.12.1 Xinerama.6.0 Xmu.11.0 Xmuu.6.0 Xpm.9.0 Xrandr.7.1 Xrender.6.0
Xss.6.0 Xt.11.0 Xtst.11.0 Xv.6.0 XvMC.6.0 XvMCW.2.0 dmx.2.0 XvMCr600.1.0
Xxf86dga.6.0 Xxf86misc.6.0 Xxf86vm.6.0 drm.7.1 drm_amdgpu.1.1
drm_nouveau.3.0 drm_radeon.4.0 epoxy.2.0 fontenc.4.0 gbm.0.0
pciaccess.2.0 pixman-1.32.6 pthread-stubs.2.0 txc_dxtn.0.0
xcb-composite.1.0 xcb-cursor.0.0 xcb-damage.1.0 xcb-dpms.1.0
xcb-dri2.1.1 xcb-dri3.0.0 xcb-ewmh.2.0 xcb-icccm.4.0 xcb-image.2.0
xcb-keysyms.3.0 xcb-render-util.2.0 xcb-res.1.1 xcb-shm.1.1 xcb-util.0.0
xcb-xevie.1.0 xcb-xf86dri.2.0 xcb-xinerama.1.0 xcb-xtest.1.0
xcb-xvmc.1.0 xkbfile.6.0 xkbui.5.0 GL.17.0 GLESv2.1.1 OSMesa.10.0
Xfont.13.0 Xft.10.0 glapi.0.2 fontconfig.11.0 freetype.26.0 xcb-glx.1.1
xcb-present.0.1 xcb-randr.2.2 xcb-record.1.1 xcb-render.1.1
xcb-screensaver.1.1 xcb-shape.1.1 xcb-sync.1.2 xcb-xfixes.1.2
xcb-xkb.0.1 xcb-xprint.3.0 xcb-xv.1.1 xcb.4.0



Re: UPDATE: emulators/snes9x

2016-10-20 Thread Ryan Freeman
On Tue, Oct 18, 2016 at 12:43:48AM -0600, Anthony J. Bentley wrote:
> Hi,
> 
> Here is an update to the recently released snes9x-1.54.1.
> 
> It looks like there is no longer any asm--would appreciate a test on i386.
> 

No i386 avail unfortunately, but amd64 nonetheless works great.  Played
a few roms without issue, with snapshot as of Oct 13.

-ryan

> ok?
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/emulators/snes9x/Makefile,v
> retrieving revision 1.30
> diff -u -p -r1.30 Makefile
> --- Makefile  2 Apr 2015 14:14:33 -   1.30
> +++ Makefile  18 Oct 2016 06:39:15 -
> @@ -4,43 +4,36 @@ COMMENT =   emulates the Super Nintendo En
>  BROKEN-alpha =   ICE/failure on filter/hq2x.cpp
>  BROKEN-hppa =ICE/failure on filter/hq2x.cpp
>  
> -DISTNAME =   snes9x-1.52-src
> -PKGNAME =${DISTNAME:S/-src//}
> +DISTNAME =   snes9x-1.54.1
>  CATEGORIES = emulators games
>  
> -REVISION =   7
> -
>  HOMEPAGE =   http://www.snes9x.com/
>  
>  # non-commercial
>  PERMIT_PACKAGE_CDROM =   No
>  PERMIT_PACKAGE_FTP = Yes
>  
> -WANTLIB =X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
> - Xi Xinerama Xrandr Xrender Xv atk-1.0 c cairo expat \
> - fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0 \
> - gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 \
> - pangoft2-1.0 pixman-1 pthread pthread-stubs stdc++ \
> - xcb xcb-render xcb-render-util z gdk_pixbuf-2.0 \
> - glade-2.0 SDL png xml2 gtk-x11-2.0 gdk-x11-2.0
> +WANTLIB += SDL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
> +WANTLIB += Xrandr Xrender Xv atk-1.0 c cairo fontconfig freetype
> +WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
> +WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
> +WANTLIB += pangoft2-1.0 png pthread xml2 z
>  
>  MASTER_SITES =   https://sites.google.com/site/bearoso/snes9x/
>  EXTRACT_SUFX =   .tar.bz2
>  
>  RUN_DEPENDS =devel/desktop-file-utils \
>   x11/gtk+3,-guic
> -LIB_DEPENDS =devel/libglade2 \
> - devel/sdl \
> +LIB_DEPENDS =devel/sdl \
>   graphics/png \
>   textproc/libxml \
>   x11/gtk+2 
>  
> -.if ${MACHINE_ARCH} == "i386"
> -BUILD_DEPENDS =  devel/nasm 
> -.endif
> -
>  MODULES =devel/gettext \
> - textproc/intltool
> + textproc/intltool \
> + gcc4
> +MODGCC4_LANGS =  c++
> +MODGCC4_ARCHS =  *
>  
>  USE_GMAKE =  Yes
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/emulators/snes9x/distinfo,v
> retrieving revision 1.6
> diff -u -p -r1.6 distinfo
> --- distinfo  18 Jan 2015 03:13:51 -  1.6
> +++ distinfo  18 Oct 2016 06:39:15 -
> @@ -1,2 +1,2 @@
> -SHA256 (snes9x-1.52-src.tar.bz2) = 
> NuCbLaYrkhD+siTP0YMEehUaccHV5fknSdwovUt/8cs=
> -SIZE (snes9x-1.52-src.tar.bz2) = 1720137
> +SHA256 (snes9x-1.54.1.tar.bz2) = J9urVeQBk9Y3Td7MD9VP5TqzWyqtfu8emJwMC6mCtmI=
> +SIZE (snes9x-1.54.1.tar.bz2) = 1990069
> Index: patches/patch-gtk_configure
> ===
> RCS file: /cvs/ports/emulators/snes9x/patches/patch-gtk_configure,v
> retrieving revision 1.4
> diff -u -p -r1.4 patch-gtk_configure
> --- patches/patch-gtk_configure   1 Jun 2013 19:19:16 -   1.4
> +++ patches/patch-gtk_configure   18 Oct 2016 06:39:15 -
> @@ -1,12 +1,12 @@
> -$OpenBSD: patch-gtk_configure,v 1.4 2013/06/01 19:19:16 ajacoutot Exp $
>  gtk/configure.orig   Sun Jan 10 18:28:11 2010
> -+++ gtk/configureSun Oct  2 09:23:54 2011
> -@@ -2351,7 +2351,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
> - ac_compiler_gnu=$ac_cv_c_compiler_gnu
> +$OpenBSD$
> +--- gtk/configure.orig   Fri Oct 14 20:19:21 2016
>  gtk/configureMon Oct 17 01:16:27 2016
> +@@ -7072,7 +7072,7 @@ else
> +   CFLAGS="$CFLAGS -fomit-frame-pointer"
> + fi
>   
> +-LIBS="$LIBS -lX11 -ldl -lXext"
> ++LIBS="$LIBS -lX11 -lXext"
>   
> --CFLAGS="-O2 -Wall -W -pedantic -Wno-unused-parameter -pipe $CFLAGS"
> -+CFLAGS="-Wall -W -pedantic -Wno-unused-parameter $CFLAGS"
> - CXXFLAGS="$CFLAGS"
> - 
> - ac_ext=c
> + ZSNESFX='#ZSNESFX=yes'
> + ZSNESC4='#ZSNESC4=yes'
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/emulators/snes9x/pkg/PLIST,v
> retrieving revision 1.6
> diff -u -p -r1.6 PLIST
> --- pkg/PLIST 15 Jun 2012 08:32:15 -  1.6
> +++ pkg/PLIST 18 Oct 2016 06:39:15 -
> @@ -8,29 +8,17 @@ share/doc/snes9x/snapshots.txt
>  share/doc/snes9x/snes9x-license.txt
>  share/examples/snes9x/
>  share/examples/snes9x/snes9x.conf.default
> -share/icons/
> -share/icons/hicolor/
> -share/icons/hicolor/16x16/
> -share/icons/hicolor/16x16/apps/
>  share/icons/hicolor/16x16/apps/snes9x.png
> -share/icons/hicolor/24x24/
>