ports/textproc/eruby/files/patch-eruby.h
Dirk Meyer 08a5a0f3a7 - make configure work with ruby19
- set PKGNAMEPREFIX
- ugly fix for threads with ruby-1.8.7.160
- replace obsolteted funtions, experimental build with ruby19
2009-07-12 14:36:01 +00:00

11 lines
408 B
C

--- eruby.h.orig 2003-12-23 16:11:54.000000000 +0100
+++ eruby.h 2009-06-21 19:15:36.000000000 +0200
@@ -30,7 +30,7 @@
extern int eruby_noheader;
extern VALUE eruby_charset;
extern VALUE eruby_default_charset;
-#define ERUBY_CHARSET RSTRING(eruby_charset)->ptr
+#define ERUBY_CHARSET RSTRING_PTR(eruby_charset)
const char *eruby_version();
int eruby_parse_options(int argc, char **argv, int *optind);