ports/85034: Unbreak port: devel/swigruby
Vasil Dimov
vd at datamax.bg
Wed Aug 17 08:20:16 UTC 2005
>Number: 85034
>Category: ports
>Synopsis: Unbreak port: devel/swigruby
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 17 08:20:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Vasil Dimov
>Release: FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:
>Description:
Unbreak swigruby by fixing files/patch-ruby.cxx
>How-To-Repeat:
>Fix:
--- swigruby.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/swigruby/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 4 Feb 2004 05:19:54 -0000 1.10
+++ Makefile 17 Aug 2005 08:09:28 -0000
@@ -27,10 +27,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb --with-swig=swig1.1
Index: files/patch-ruby.cxx
===================================================================
RCS file: /home/ncvs/ports/devel/swigruby/files/patch-ruby.cxx,v
retrieving revision 1.1
diff -u -r1.1 patch-ruby.cxx
--- files/patch-ruby.cxx 7 Nov 2002 18:08:50 -0000 1.1
+++ files/patch-ruby.cxx 17 Aug 2005 08:09:28 -0000
@@ -1,12 +1,29 @@
---- ruby.cxx.orig Thu May 25 01:18:29 2000
-+++ ruby.cxx Fri Nov 8 03:05:43 2002
-@@ -840,3 +840,3 @@
+--- ruby.cxx.orig Wed May 24 19:18:29 2000
++++ ruby.cxx Wed Aug 17 11:08:17 2005
+@@ -24,7 +24,7 @@
+
+ static char *extconf_rb = "\
+ require 'mkmf'\n\
+-
++\
+ #%ext%_dir = with_config('%ext%-dir')\n\
+ #%ext%_include_dir = %ext%_dir + '/include' if %ext%_dir\n\
+ #%ext%_include_dir = with_config('%ext%-include-dir', %ext%_include_dir)\n\
+@@ -838,7 +838,7 @@
+ // target = a string containing the target value
+ // f = a wrapper function object (optional)
// ---------------------------------------------------------------------
-char *RUBY::ruby_typemap_lookup(char *op, DataType *type, char *pname, char *source, char *target, WrapperFunction *f = 0) {
+char *RUBY::ruby_typemap_lookup(char *op, DataType *type, char *pname, char *source, char *target, WrapperFunction *f) {
static String s;
-@@ -903,3 +903,3 @@
+ char *tm;
+ String target_replace = target;
+@@ -901,7 +901,7 @@
+ // value = C value (as a string)
+ // raw = value is raw string (not quoted) ?
// ---------------------------------------------------------------------
-char *RUBY::to_VALUE(DataType *type, char *value, int raw = 0) {
+char *RUBY::to_VALUE(DataType *type, char *value, int raw) {
static String str;
+
+ str = "";
--- swigruby.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list