[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] hypview compilable again
Hi,
I discovered hypview isn't included into compilation chain in tools so
here's the patch to enable it (there was missing one include path) + I
#undefined some MX_ flags which collide with mintlib ones (I'm not sure
about removing them completely -- it seems Gerhard uses / used PureC for
building it, too).
--
MiKRO / Mystic Bytes
http://mikro.atari.org
Index: Makefile
===================================================================
RCS file: /mint/freemint/tools/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile 1 Aug 2004 12:35:26 -0000 1.8
+++ Makefile 2 Sep 2008 21:16:41 -0000
@@ -10,6 +10,7 @@
fdisk \
fsetter \
gluestik \
+ hypview \
lpflush \
mgw \
minix \
Index: hypview/hyp/Makefile
===================================================================
RCS file: /mint/freemint/tools/hypview/hyp/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- hypview/hyp/Makefile 10 Feb 2006 11:33:34 -0000 1.1
+++ hypview/hyp/Makefile 2 Sep 2008 21:16:42 -0000
@@ -22,6 +22,7 @@
# default overwrites
CFLAGS += -g
+INCLUDES = -I$(top_srcdir)/hypview
# default definitions
OBJS = $(COBJS:.c=.o)
Index: hypview/include/mem.h
===================================================================
RCS file: /mint/freemint/tools/hypview/include/mem.h,v
retrieving revision 1.1
diff -u -r1.1 mem.h
--- hypview/include/mem.h 12 Feb 2006 15:51:18 -0000 1.1
+++ hypview/include/mem.h 2 Sep 2008 21:16:42 -0000
@@ -26,6 +26,16 @@
#ifndef _mem_h
#define _mem_h
+#undef MX_STRAM
+#undef MX_TTRAM
+#undef MX_PREFST
+#undef MX_PREFTT
+#undef MX_MPROT
+#undef MX_PRIVATE
+#undef MX_GLOBAL
+#undef MX_SUPER
+#undef MX_READABLE
+
/* Mxalloc()-Modus */
#define MX_STRAM 0
#define MX_TTRAM 1