pkgsrc/graphics/mgl/patches/patch-ak
salo 639c9d97b1 - USE_X11 (duh!). Should fix the breakage as seen in the latest hubertf's
bulk-build.
- Make it compile with gcc3.
- Sort PLIST.
2003-10-14 16:22:21 +00:00

58 lines
1.1 KiB
Text

$NetBSD: patch-ak,v 1.2 2003/10/14 16:22:21 salo Exp $
--- mgterm/mdate.c.orig 2001-03-09 12:05:20.000000000 +0100
+++ mgterm/mdate.c 2003-10-14 17:47:28.000000000 +0200
@@ -66,23 +66,23 @@
void mdate();
static char *icon_mdate="\
-#MGR000200160016
-++++++++++++++++
-+@@@@@@@@@@@@@++
-+@...........@++
-+@...........@++
-+@.@.@.@.@.@.@++
-+@.@.@.@.@.@.@++
-+@...........@++
-+@.@.@.@.@.@.@++
-+@...........@++
-+@.@.@.@.@.@.@++
-+@...........@++
-+@.@.@.@.@.@.@++
-+@...........@++
-+@@@@@@@@@@@@@++
-++++++++++++++++
-++++++++++++++++
+#MGR000200160016\
+++++++++++++++++\
++@@@@@@@@@@@@@++\
++@...........@++\
++@...........@++\
++@.@.@.@.@.@.@++\
++@.@.@.@.@.@.@++\
++@...........@++\
++@.@.@.@.@.@.@++\
++@...........@++\
++@.@.@.@.@.@.@++\
++@...........@++\
++@.@.@.@.@.@.@++\
++@...........@++\
++@@@@@@@@@@@@@++\
+++++++++++++++++\
+++++++++++++++++\
";
main() {
int c;
@@ -670,9 +670,10 @@
#include <sys/swap.h>
#include <sys/param.h>
#include <sys/sysctl.h>
-#include <vm/vm_param.h>
-#ifdef UVM
+#if __NetBSD_Version__ > 105009900
#include <uvm/uvm_extern.h>
+#else
+#include <vm/vm_param.h>
#endif
#include <errno.h>