CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 01:42:03

Modified files:
sysutils/monit : Makefile 

Log message:
take over maintainership

ok ben lovett (previous maintainer)



CVS: cvs.openbsd.org: ports

2012-11-30 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2012/11/30 02:41:54

Modified files:
www/youtube-dl : Makefile distinfo 
www/youtube-dl/files: setup.py 
www/youtube-dl/patches: patch-youtube_dl_FileDownloader_py 

Log message:
Bugfix update to youtube-dl-2012.11.29

ok pirofti@, sthen@



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/11/30 03:23:55

Modified files:
x11/gnome/ekiga: Makefile 

Log message:
Missing BUILD+RUN_DEPENDS.
spotted by sthen@



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/11/30 04:29:05

Modified files:
lang/smlnj : Makefile 

Log message:
mark as BROKEN.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/11/30 04:55:45

Modified files:
x11/gnome/ekiga: Makefile 

Log message:
uncomment MODGNOME_TOOLS=yelp; ok aja@



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 05:00:09

Modified files:
net/gupnp  : Makefile 

Log message:
unhook gupnp-vala



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 05:01:01

Removed files:
net/gupnp/vala : Makefile distinfo 
net/gupnp/vala/pkg: DESCR PLIST 

Log message:
remove gupnp-vala, it's been dropped upstream and the vala bindings
are generated through GOI nowadays.

ok aja@



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 05:13:04

Modified files:
x11/gnome/rygel: Makefile 

Log message:
- no need for vala here.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/11/30 05:26:15

Modified files:
audio/pulseaudio: Makefile 
audio/pulseaudio/pkg: PLIST 
Added files:
audio/pulseaudio/patches: patch-src_daemon_main_c 
  patch-src_daemon_pulseaudio_desktop_in 

Log message:
Enable X11 and xdg/autostart support.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2012/11/30 05:54:45

Modified files:
x11/gnome/rygel: Makefile 

Log message:
Add commented MODGNOME_TOOLS since it'll be needed on next release... so
that we don't forget.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/11/30 05:56:02

Modified files:
lang/php   : Makefile.inc 
lang/php/5.2   : Makefile 
lang/php/5.3   : Makefile 

Log message:
For the ap2 flavour, strip the unwanted subpackages from MULTI_PACKAGES rather
than BUILD_PACKAGES (which is for pseudo-flavours). Reported by naddy.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 06:31:02

Modified files:
databases/kyotocabinet: Makefile 

Log message:
mark broken on mips64 for the same reasons it's broken on hppa/powerpc.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 08:16:48

Modified files:
lang/swi-prolog: Makefile 

Log message:
mark broken on mips64



CVS: cvs.openbsd.org: ports

2012-11-30 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2012/11/30 08:52:56

Modified files:
audio/pianobar : Makefile 
Added files:
audio/pianobar/patches: patch-src_libwaitress_waitress_c 
patch-src_libwaitress_waitress_h 
patch-src_settings_c 

Log message:
Unbreak after pandora.com's api changes:

waitress: Fix chunked decoder
Fix Get stations... Network error: Invalid encoded data.

New default TLS fingerprint
Fix (i) Login... Network error: TLS handshake failed.

From upstream github.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/11/30 08:53:20

Modified files:
www/squidguard : Makefile 

Log message:
bump; @depend change due to squid update. spotted by naddy.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2012/11/30 08:59:42

Modified files:
x11/gmrun/patches: patch-src_gtkcompletionline_cc 

Log message:
fix build now that our scandir() prototype conforms to POSIX; ok kili@



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 11:24:54

Modified files:
x11/gnome/grilo-plugins: Makefile distinfo 
x11/gnome/grilo-plugins/pkg: PLIST 

Log message:
- update to grilo-plugins-0.2.4



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2012/11/30 11:24:59

Modified files:
x11/gnome/grilo: Makefile distinfo 
Removed files:
x11/gnome/grilo/patches: patch-libs_net_grl-net-mock_c 

Log message:
- update to grilo-0.2.4



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Christopher Zimmermann
CVSROOT:/cvs
Module name:ports
Changes by: chr...@cvs.openbsd.org  2012/11/30 12:38:09

Modified files:
devel/ocaml-pcre: Makefile 
devel/ocaml-react: Makefile 
devel/ocaml-zed: Makefile 
devel/omake: Makefile 
devel/ounit: Makefile 
graphics/ocaml-camlimages: Makefile 
lang/obc   : Makefile 
lang/ocaml : Makefile distinfo ocaml.port.mk 
lang/ocaml/pkg : PFRAG.dynlink-native PFRAG.native PFRAG.shared 
 PLIST 
lang/ocamlduce : Makefile 
math/coq   : Makefile 
net/mldonkey/stable: Makefile 
net/unison : Makefile.inc 
net/unison/snapshot: Makefile 
net/unison/stable: Makefile 
productivity/wyrd: Makefile 
security/ocaml-cryptokit: Makefile 
security/ocaml-ssl: Makefile 
sysutils/findlib: Makefile 
textproc/gonzui: Makefile 
textproc/hevea : Makefile 
textproc/ocaml-csv: Makefile 
textproc/ocaml-rss: Makefile 
textproc/ocaml-text: Makefile 
textproc/ocaml-xml-light: Makefile 
textproc/ocaml-xmlm: Makefile 
x11/lablgtk2   : Makefile 

Log message:
update lang/ocaml to 4.00.1.
Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2012/11/30 14:16:30

Modified files:
devel/git  : Makefile distinfo 
devel/git/patches: patch-Makefile patch-gitweb_gitweb_perl 
   patch-perl_Makefile_PL 
devel/git/pkg  : PLIST-main PLIST-svn PLIST-x11 
Added files:
devel/git/patches: patch-t_t-basic_sh 
Removed files:
devel/git/patches: patch-t_t9400-git-cvsserver-server_sh 

Log message:
Update to git 1.8.0.1.
* do not install/build documentation except for manpages.
* re-enable threads

ok jasper@ benoit@ (MAINTAINER) on earlier update



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2012/11/30 14:23:27

Modified files:
www/xombrero   : Makefile distinfo 
www/xombrero/pkg: PLIST 

Log message:
Update to xombrero 1.4.0; do not use custom do-install.

ok gonzalo@ (MAINTAINER)



CVS: cvs.openbsd.org: ports

2012-11-30 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2012/11/30 14:37:11

ports/devel/hs-concurrent-extra/patches

Update of /cvs/ports/devel/hs-concurrent-extra/patches
In directory cvs.openbsd.org:/tmp/cvs-serv2275/patches

Log Message:
Directory /cvs/ports/devel/hs-concurrent-extra/patches added to the repository



Re: UPDATE: audio/deadbeef

2012-11-30 Thread Brad Smith
- Original message -
 On 2012/11/28 23:14, Brad Smith wrote:
  On Thu, Nov 29, 2012 at 12:14:33AM +0600, Alexandr Shadchin wrote:
   On Mon, Nov 19, 2012 at 11:33:09PM +0600, Alexandr Shadchin wrote:
Hi,

This update package deadbeef to the latest release 0.5.6.
Tested on amd64.

Split package on -main, -gtk2 and -gtk3.
Please make review this change.

Comments ? OK ?

   
   Fix BUILD_DEPENDS.
  
  The gtk2 sub-package should have a @pkgpath marker so upgrading
  from the older package to the new main + gtk2 package set will
  have the expected result.
 
 good luck getting that to work ;)

Am I crazy for expecting that to actually work? I was fairly certain it would 
but maybe it is another thing with the pkg tools that doesn't work.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: UPDATE: audio/deadbeef

2012-11-30 Thread Stuart Henderson
On 2012/11/30 05:47, Brad Smith wrote:
 - Original message -
  On 2012/11/28 23:14, Brad Smith wrote:
   On Thu, Nov 29, 2012 at 12:14:33AM +0600, Alexandr Shadchin wrote:
On Mon, Nov 19, 2012 at 11:33:09PM +0600, Alexandr Shadchin wrote:
 Hi,
 
 This update package deadbeef to the latest release 0.5.6.
 Tested on amd64.
 
 Split package on -main, -gtk2 and -gtk3.
 Please make review this change.
 
 Comments ? OK ?
 

Fix BUILD_DEPENDS.
   
   The gtk2 sub-package should have a @pkgpath marker so upgrading
   from the older package to the new main + gtk2 package set will
   have the expected result.
  
  good luck getting that to work ;)
 
 Am I crazy for expecting that to actually work? I was fairly
 certain it would but maybe it is another thing with the pkg tools
 that doesn't work.

The gtk2 package is named deadbeef-gtk2-0.5.6, so it isn't considered
as a replacement for deadbeef-0.5.5, so pkg_add -u doesn't consult the
deadbeef-gtk2 package at all to even see the @pkgpath line.

One thing that could be done would be to name the -main package
something like deadbeef-core-0.5.6, name the -gtk2 package deadbeef-0.5.6,
remove @pkgpath in PLIST-main, add @pkgpath in PLIST-gtk2, and add @conflicts
as necessary.

More than this would need Quirks.pm to be able to do version comparisons
rather than the fast hash lookups, but doing those checks for every
updated package will slow down pkg_add -u ..



Re: [www/uzbl] new port

2012-11-30 Thread Dmitrij D. Czarkoff
On Wed, Nov 28, 2012 at 09:24:18PM +0100, Landry Breuil wrote:
 Comments portswise :
 
 - this is not the way we fix the shebang for python scripts. see
   python module and MODPY_ADJ_FILES.
 - no need to RUN_DEPENDS on www/webkit, since you already LIB_DEPENDS on
   it. and for gtk2, no need to use 'www/webkit,' the extra comma is
 useless.

I updated the port, see attachment. BTW, is the gtk2 flavor really needed? I
would happily drop it if nobody is going to use it. Doing so would also
require less patching of source, which is a significant benefit IMO.

On Wed, Nov 28, 2012 at 09:26:44PM +0100, Landry Breuil wrote:
 and added to that, share/uzbl/{docs,examples} is usually not the way we
 do things, rather share/{doc,examples}/uzbl.

I initially tried to make it this way, and even succeeded, but I ended up with
quite a lot of patches. Furthermore, the content of examples is not exactly
the examples one would expect; it is a set of scripts that are loaded from the
program unless overriden by user.

Effectively, fixing the layout would turn into maintenance pain, as the
share/uzbl/examples part of the path is hardcoded in several places and IIRC
in 3rd party scripts on Uzbl wiki.


BTW, the port has several optional hidden dependencies - the scripts uzbl
relies upon invoke zenity and dmenu. These dependencies are easy to override
in user configuration, and even if not done so, they are only required for
several features (bookmarks, namely). How should I manage these dependencies?
In pkg/README? How verbose should I be about them?

-- 
Dmitrij D. Czarkoff


uzbl-port.tar.gz
Description: application/tar-gz


Cfengine 3.4.0 segfaults (rthreads?)

2012-11-30 Thread Martijn Rijkeboer
Hi,

I'm working on updating sysutils/cfengine to 3.4.0 (see attachment for
port). When running cf-agent it segfaults on both 5.2/amd64 and
current/amd64. In gdb, on current/amd64, it looks like the segfault happens
in the rthread library.

Cfengines pipes.c:139 calls /usr/src/librthread/rthread_fork.c. Now I can
do next line (n) till rthread_fork.c:100. When I try to step (s) from line
100, I'm getting the following error:

  100 newid = sys_fork();
  (gdb) s
  [New process 22237]

  Program received signal SIGSEGV, Segmentation fault.
  0x06286ee04fc2 in strlen (
  str=0x6286afe0490 Address 0x6286afe0490 out of bounds)
  at /usr/src/lib/libc/string/strlen.c:43
  43  for (s = str; *s; ++s)
  (gdb)

Any suggestions on how to fix this?

Kind regards,


Martijn Rijkeboer


PS: I can provide a core dump if needed.

cfengine.tgz
Description: application/compressed-tar


Re: UPDATE: audio/deadbeef

2012-11-30 Thread Mike Belopuhov
On 28 November 2012 19:14, Alexandr Shadchin
alexandr.shadc...@gmail.com wrote:
 On Mon, Nov 19, 2012 at 11:33:09PM +0600, Alexandr Shadchin wrote:
 Hi,

 This update package deadbeef to the latest release 0.5.6.
 Tested on amd64.

 Split package on -main, -gtk2 and -gtk3.
 Please make review this change.

 Comments ? OK ?


 Fix BUILD_DEPENDS.


builds and works fine for me.



python bulk build problem / trac / ImportError: No module named core.utils.dist

2012-11-30 Thread Stuart Henderson
Naddy saw this in dpb, and frankly I have no idea why.. anyone
have a clue?

I don't know the python infrastructure particularly well but setuptools
and python itself are both listed dependencies so dpb shouldn't have junked
them, and I can't see what else the missing module might come from.

Full log available on request.

writing top-level names to Trac.egg-info/top_level.txt
writing dependency_links to Trac.egg-info/dependency_links.txt
writing entry points to Trac.egg-info/entry_points.txt
Traceback (most recent call last):
  File ./setup.py, line 162, in module
**extra
  File /usr/local/lib/python2.7/distutils/core.py, line 152, in setup
dist.run_commands()
  File /usr/local/lib/python2.7/distutils/dist.py, line 953, in run_commands
self.run_command(cmd)
  File /usr/local/lib/python2.7/distutils/dist.py, line 972, in run_command
cmd_obj.run()
  File /usr/local/lib/python2.7/site-packages/setuptools/command/install.py, 
line 56, in run
return _install.run(self)
  File /usr/local/lib/python2.7/distutils/command/install.py, line 575, in run
self.run_command(cmd_name)
  File /usr/local/lib/python2.7/distutils/cmd.py, line 326, in run_command
self.distribution.run_command(command)
  File /usr/local/lib/python2.7/distutils/dist.py, line 972, in run_command
cmd_obj.run()
  File 
/usr/local/lib/python2.7/site-packages/setuptools/command/install_egg_info.py,
 line 29, in run
self.run_command('egg_info')
  File /usr/local/lib/python2.7/distutils/cmd.py, line 326, in run_command
self.distribution.run_command(command)
  File /usr/local/lib/python2.7/distutils/dist.py, line 972, in run_command
cmd_obj.run()
  File /usr/local/lib/python2.7/site-packages/setuptools/command/egg_info.py, 
line 169, in run
writer = ep.load(installer=installer)
  File /usr/local/lib/python2.7/site-packages/pkg_resources.py, line 1954, in 
load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named core.utils.dist



Re: New port: net/tkabber

2012-11-30 Thread Brett
Hello!

I made a port for Tkabber jabber client (probably one of the most advanced
jabber clients out there, though development slowed down several years ago).

Comments? OKs?

-- 
Dmitrij D. Czarkoff

Hi ports,

I wonder if this can go in? I've been using it for the last week with 
googlechat (on amd64) and it works well. From looking at the ports archives, it 
seems like earlier versions used plaintext login, but not this one.

Thanks,
Brett.



UPDATE: Balance-3.54

2012-11-30 Thread Gonzalo L. R.
Hi,

Update for Balance to 3.54:

* A bug with hash_fold() regarding incoming IPv4 and IPv6 source 
  addresses has been fixed. The hash group mechanism is now working as 
  expected.
* Buffering has been disabled for interactive shell IO. A new 
  assign command has been added to allow changing of the host:port 
  assignment of a channel (only if disabled). A locking bug has been 
  fixed.
* A new option -6 has been added to force IPv6 bind.
* Problems with setting IPV6_V6ONLY socket option are now handled 
  more nicely with a syslog warning message.
* Balance now compiles also on systems where IPV6_V6ONLY is 
  undefined (like some Solaris systems).
* IPv6 support on the listening side has been added. MAXCHANNELS in 
  balance.h has been increased to 64. 

While here GROFF is not needed.

Ok? Coments?

Cheers.

-- 
Sending from my VCR...
Index: Makefile
===
RCS file: /cvs/ports/net/balance/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- Makefile15 Oct 2012 15:18:32 -  1.15
+++ Makefile30 Nov 2012 20:15:17 -
@@ -2,9 +2,8 @@
 
 COMMENT=   tcp proxy with load balancing and failover mechanisms
 
-DISTNAME=  balance-3.35
-REVISION=  1
-CATEGORIES=net
+DISTNAME=  balance-3.54
+CATEGORIES=net
 
 HOMEPAGE=  http://www.inlab.de/balance.html
 
@@ -13,6 +12,7 @@ PERMIT_PACKAGE_CDROM= Yes
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
+
 WANTLIB=   c
 
 MASTER_SITES=  http://www.inlab.de/
@@ -20,7 +20,6 @@ MASTER_SITES= http://www.inlab.de/
 MAKE_FLAGS=CC=${CC} CFLAGS=${CFLAGS}
 ALL_TARGET=balance
 
-USE_GROFF =Yes
 NO_REGRESS=Yes
 
 do-install:
Index: distinfo
===
RCS file: /cvs/ports/net/balance/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo29 May 2007 18:56:24 -  1.4
+++ distinfo30 Nov 2012 20:15:17 -
@@ -1,5 +1,2 @@
-MD5 (balance-3.35.tar.gz) = dx+FI/ek7hGUYef3H4onXw==
-RMD160 (balance-3.35.tar.gz) = hnQeuV2MHoxm7NY5ahBKW2mTwtE=
-SHA1 (balance-3.35.tar.gz) = ZyuJE4NVkSeAM4M5idJewdBYFM0=
-SHA256 (balance-3.35.tar.gz) = GNxK/UcKoRWJH4u5vmdOkhYjFmYVLI8Fp36zoFuv6F0=
-SIZE (balance-3.35.tar.gz) = 32903
+SHA256 (balance-3.54.tar.gz) = FwsaXdYKVmp4W3Kv3kKjSeIP4B9TJj2xJ59x7xiO/kU=
+SIZE (balance-3.54.tar.gz) = 35166
Index: patches/patch-balance_c
===
RCS file: /cvs/ports/net/balance/patches/patch-balance_c,v
retrieving revision 1.7
diff -u -p -r1.7 patch-balance_c
--- patches/patch-balance_c 29 May 2007 18:56:24 -  1.7
+++ patches/patch-balance_c 30 Nov 2012 20:15:17 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-balance_c,v 1.7 2007/05/29 18:56:24 rui Exp $
 balance.c.orig Sun May 27 18:49:46 2007
-+++ balance.c  Sun May 27 18:55:58 2007
-@@ -809,11 +809,13 @@ void initialize_release_variables(void)
+--- balance.c.orig Fri Dec  3 09:50:22 2010
 balance.c  Fri Nov 30 17:07:52 2012
+@@ -945,11 +945,13 @@ void initialize_release_variables(void)
char *version;
char *revision_copy;
char *token;
@@ -17,7 +17,7 @@ $OpenBSD: patch-balance_c,v 1.7 2007/05/
  token = strtok(revision_copy,  );
  token = strtok(NULL,  );
  version = token != NULL ? token : 0.0;
-@@ -1136,7 +1138,8 @@ int shell(char *argument)
+@@ -1276,7 +1278,8 @@ int shell(char *argument)
  printf(syntax error\n);
}
} else if (mycmp(command, group)) {
@@ -27,25 +27,3 @@ $OpenBSD: patch-balance_c,v 1.7 2007/05/
if ((arg = strtok(NULL,  \t\n)) != NULL) {
  n = atoi(arg);
  if (n = MAXGROUPS || n  0) {
-@@ -1472,10 +1475,10 @@ int main(int argc, char *argv[])
-   serv_addr.sin_family = AF_INET;
-   if (bindhost != NULL) {
- setipaddress(serv_addr.sin_addr, bindhost);
--sprintf(bindhost_address, inet_ntoa(serv_addr.sin_addr));
-+snprintf(bindhost_address, sizeof(bindhost_address), 
inet_ntoa(serv_addr.sin_addr));
-   } else {
- serv_addr.sin_addr.s_addr = htonl(INADDR_ANY);
--sprintf(bindhost_address, 0.0.0.0);
-+snprintf(bindhost_address, sizeof(bindhost_address), 0.0.0.0);
-   }
-   serv_addr.sin_port = htons(source_port);
- 
-@@ -1493,7 +1496,7 @@ int main(int argc, char *argv[])
- }
- umask(old);
-   }
--  sprintf(rendezvousfile, %sbalance.%d.%s, SHMDIR, source_port,
-+  snprintf(rendezvousfile, sizeof(rendezvousfile), %sbalance.%d.%s, SHMDIR, 
source_port,
- bindhost_address);
- 
-   if (stat(rendezvousfile, buffer) == -1) {
Index: patches/patch-balance_h
===
RCS file: /cvs/ports/net/balance/patches/patch-balance_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-balance_h
--- 

Re: Switch BasiliskII to sdl

2012-11-30 Thread Ryan Freeman
On Tue, Nov 27, 2012 at 10:50:18PM +0100, Jonathan Armani wrote:
 
 Switch BasiliskII from esd to sdl, makes the audio works for Ryan
 Freeman who also spoted that I forgot to regen WANTLIB.
 
 Comment / Ok ?

looks good.  OK rfreeman@

-ryan

 
 Index: Makefile
 ===
 RCS file: /cvs/ports/emulators/BasiliskII/Makefile,v
 retrieving revision 1.29
 diff -u -p -u -p -r1.29 Makefile
 --- Makefile  19 Aug 2012 22:30:37 -  1.29
 +++ Makefile  24 Nov 2012 08:28:46 -
 @@ -4,7 +4,7 @@ COMMENT=  open source 68k Macintosh emul
  
  DISTNAME=BasiliskII_src_01052006
  PKGNAME= BasiliskII-1.0
 -REVISION=4
 +REVISION=5
  CATEGORIES=  emulators
  
  HOMEPAGE=http://basilisk.cebix.net/
 @@ -20,25 +20,25 @@ MODULES=  devel/gettext
  MASTER_SITES=http://distfiles.nl/
  EXTRACT_SUFX=.tar.bz2
  
 -WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
 +WANTLIB += SDL Xcomposite Xcursor Xdamage Xext Xfixes Xi
  WANTLIB += Xinerama Xrandr Xrender Xxf86dga Xxf86vm atk-1.0 c
 -WANTLIB += cairo esd expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 -WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
 -WANTLIB += gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
 -WANTLIB += pthread sndio stdc++ z
 +WANTLIB += cairo expat fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0
 +WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0 
 +WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread stdc++ z
 +WANTLIB += GL X11 pixman-1 png pthread-stubs xcb xcb-render xcb-shm
  
 -LIB_DEPENDS= audio/esound \
 +LIB_DEPENDS= devel/sdl \
   x11/gtk+2
  
  USE_GMAKE=   Yes
  USE_GROFF =  Yes
  
 -AUTOCONF_VERSION=2.59
 -CONFIGURE_STYLE= autoconf
 -
  WRKDIST= ${WRKDIR}/BasiliskII-1.0
  WRKSRC=  ${WRKDIR}/BasiliskII-1.0/src/Unix
 -
 +CONFIGURE_STYLE= gnu
 +CONFIGURE_ARGS=  --enable-sdl-audio \
 + --with-esd=no \
 + --disable-fbdev-dga
  NO_REGRESS=  Yes
  
  post-install:
 Index: patches/patch-src_Unix_configure_ac
 ===
 RCS file: 
 /cvs/ports/emulators/BasiliskII/patches/patch-src_Unix_configure_ac,v
 retrieving revision 1.1
 diff -u -p -u -p -r1.1 patch-src_Unix_configure_ac
 --- patches/patch-src_Unix_configure_ac   25 Mar 2010 08:10:56 -  
 1.1
 +++ patches/patch-src_Unix_configure_ac   24 Nov 2012 08:28:46 -
 @@ -1,33 +0,0 @@
 -$OpenBSD: patch-src_Unix_configure_ac,v 1.1 2010/03/25 08:10:56 jasper Exp $
  src/Unix/configure.ac.orig   Thu Mar 25 08:53:10 2010
 -+++ src/Unix/configure.acThu Mar 25 08:54:55 2010
 -@@ -194,14 +194,23 @@ if [[ x$WANT_SDL = xno ]]; then
 - fi
 - 
 - dnl We want pthreads. Try libpthread first, then libc_r (FreeBSD), then PTL.
 -+dnl For OpenBSD we should use -pthread
 - HAVE_PTHREADS=yes
 --AC_CHECK_LIB(pthread, pthread_create, , [
 --  AC_CHECK_LIB(c_r, pthread_create, , [
 --AC_CHECK_LIB(PTL, pthread_create, , [
 --  HAVE_PTHREADS=no
 -+case `uname` in
 -+  OpenBSD*)
 -+LIBS=$LIBS -pthread
 -+;;
 -+  *)
 -+AC_CHECK_LIB(pthread, pthread_create, , [
 -+  AC_CHECK_LIB(c_r, pthread_create, , [
 -+AC_CHECK_LIB(PTL, pthread_create, , [
 -+  HAVE_PTHREADS=no
 -+])
 -+  ])
 - ])
 --  ])
 --])
 -+;;
 -+esac
 -+
 - if [[ x$HAVE_PTHREADS = xyes ]]; then
 -   AC_DEFINE(HAVE_PTHREADS, 1, [Define if pthreads are available.])
 - fi
 



new devel/hs-async

2012-11-30 Thread Matthias Kilian
This new port is required for an update to Haskell-Platform-2012.4.0.0.

DESCR:
A higher-level interface over threads, in which an Async a is a
concurrent thread that will eventually deliver a value of type a.
The package provides ways to create Async computations, wait for
their results, and cancel them.

Using Async is safer than using threads in two ways:

* When waiting for a thread to return a result, if the thread dies
  with an exception then the caller must either re-throw the exception
  ('wait') or handle it ('waitCatch'); the exception cannot be
  ignored.

* The API makes it possible to build a tree of threads that are
  automatically killed when their parent dies (see 'withAsync').


ok to import?


hs-async.tgz
Description: application/tar-gz