pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/guile-fcgi Make guile-fcgi work with guile-1.6.x...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fa1d3b08bcf
branches:  trunk
changeset: 529448:7fa1d3b08bcf
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 05 05:44:37 2007 +0000

description:
Make guile-fcgi work with guile-1.6.x. Bump PKGREVISION.
Patch provided by Aleksej Saushev.

diffstat:

 devel/guile-fcgi/Makefile         |   6 +-
 devel/guile-fcgi/distinfo         |   3 +-
 devel/guile-fcgi/patches/patch-ab |  60 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 65 insertions(+), 4 deletions(-)

diffs (97 lines):

diff -r c68c7b6d6265 -r 7fa1d3b08bcf devel/guile-fcgi/Makefile
--- a/devel/guile-fcgi/Makefile Tue Jun 05 05:43:46 2007 +0000
+++ b/devel/guile-fcgi/Makefile Tue Jun 05 05:44:37 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2006/10/04 21:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2007/06/05 05:44:37 wiz Exp $
 
 DISTNAME=      guile-fcgi-0.1
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    devel www
 MASTER_SITES=  ${MASTER_SITE_LOCAL}
 
@@ -18,6 +18,6 @@
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} guile-fcgi.x
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}
 
-.include "../../lang/guile14/buildlink3.mk"
+.include "../../lang/guile/buildlink3.mk"
 .include "../../www/fcgi/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c68c7b6d6265 -r 7fa1d3b08bcf devel/guile-fcgi/distinfo
--- a/devel/guile-fcgi/distinfo Tue Jun 05 05:43:46 2007 +0000
+++ b/devel/guile-fcgi/distinfo Tue Jun 05 05:44:37 2007 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:16 agc Exp $
+$NetBSD: distinfo,v 1.4 2007/06/05 05:44:37 wiz Exp $
 
 SHA1 (guile-fcgi-0.1.tar.gz) = 878d1f1e2a7a2ce618043cd19567f9fd1fa7ee4c
 RMD160 (guile-fcgi-0.1.tar.gz) = 96aaf411ed6db3276f8f7d3cebf52f9e5ef9ba16
 Size (guile-fcgi-0.1.tar.gz) = 110853 bytes
 SHA1 (patch-aa) = 44bb69029dd16d8be1696b69cf258bb968cde989
+SHA1 (patch-ab) = 13fa69f67e74efdffe569a1df1328fa7ecde0b3b
diff -r c68c7b6d6265 -r 7fa1d3b08bcf devel/guile-fcgi/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/guile-fcgi/patches/patch-ab Tue Jun 05 05:44:37 2007 +0000
@@ -0,0 +1,60 @@
+$NetBSD: patch-ab,v 1.1 2007/06/05 05:44:37 wiz Exp $
+
+--- src/guile-fcgi.c.orig      2007-06-04 01:13:05.000000000 +0400
++++ src/guile-fcgi.c   2007-06-04 01:13:16.000000000 +0400
+@@ -43,11 +43,11 @@
+ /****************************************************************************/
+ 
+ static long tagFCGX_Stream;
+-#define SCM_FCGX_STREAMP(smob) (SCM_NIMP(smob) && SCM_CAR(smob)==tagFCGX_Stream)
++#define SCM_FCGX_STREAMP(smob) (SCM_NIMP(smob) && (long)(SCM_CAR(smob))==tagFCGX_Stream)
+ #define SCM_FCGX_STREAM(smob) ((FCGX_Stream*)SCM_CDR(smob))
+ 
+ static long tagFCGX_Request;
+-#define SCM_FCGX_REQUESTP(smob) (SCM_NIMP(smob) && SCM_CAR(smob)==tagFCGX_Request)
++#define SCM_FCGX_REQUESTP(smob) (SCM_NIMP(smob) && (long)(SCM_CAR(smob))==tagFCGX_Request)
+ #define SCM_FCGX_REQUEST(smob) (FCGX_Request*)SCM_CDR(smob)
+ 
+ long fcgi_ptype=0;
+@@ -524,7 +524,7 @@
+ {
+   SCM_ASSERT((SCM_FCGX_STREAMP(stream)), stream, SCM_ARG1, s_scm_FCGX_FFlush);
+ 
+-  return (-1==FCGX_FFlush(SCM_FCGX_STREAM(stream)));
++  return (void*)(-1==FCGX_FFlush(SCM_FCGX_STREAM(stream)));
+ }
+ /*DLLAPI int FCGX_FClose(FCGX_Stream *stream);*/
+ SCM_DEFINE (scm_FCGX_FClose,"FCGX:FClose",1,0,0,
+@@ -544,7 +544,7 @@
+ {
+   SCM_ASSERT((SCM_FCGX_STREAMP(stream)), stream, SCM_ARG1, s_scm_FCGX_FClose);
+ 
+-  return (-1==FCGX_FClose(SCM_FCGX_STREAM(stream)));
++  return (void*)(-1==FCGX_FClose(SCM_FCGX_STREAM(stream)));
+ }
+ /*DLLAPI int FCGX_GetError(FCGX_Stream *stream);*/
+ SCM_DEFINE (scm_FCGX_GetError,"FCGX:GetError",1,0,0,
+@@ -702,7 +702,7 @@
+ 
+ static SCM
+ fcgi_port_mark(SCM port){
+-  scm_gc_mark (SCM_STREAM(port));
++  scm_gc_mark ((void*)SCM_STREAM(port));
+   return SCM_BOOL_F;
+ }
+ 
+@@ -842,12 +842,12 @@
+           (SCM port),"")
+ {
+   SCM_ASSERT(SCM_PORTP(port) && 
+-        ((SCM_CAR(port) & fcgi_ptype)==fcgi_ptype),
++        (((long)SCM_CAR(port) & fcgi_ptype)==fcgi_ptype),
+         port,
+         SCM_ARG1,
+         s_scm_fcgi_make_stream);
+ 
+-  return SCM_STREAM(port);
++  return (void*)SCM_STREAM(port);
+ }
+ 
+ void



Home | Main Index | Thread Index | Old Index