diff --git a/devel/uisp/patches/patch-Makefile_in b/devel/uisp/patches/patch-Makefile_in index c3a7cb85b49..cb2969e3ade 100644 --- a/devel/uisp/patches/patch-Makefile_in +++ b/devel/uisp/patches/patch-Makefile_in @@ -1,6 +1,6 @@ ---- Makefile.in.orig Fri Apr 22 19:51:15 2005 -+++ Makefile.in Fri Apr 22 19:51:59 2005 -@@ -164,7 +164,7 @@ +--- Makefile.in.orig Mon Feb 7 22:48:03 2005 ++++ Makefile.in Sat May 22 16:17:55 2010 +@@ -164,7 +164,7 @@ install_aux_files = AUTHORS COPYING INSTALL CHANGES CH ChangeLog ChangeLog-2003 ChangeLog-2002 @@ -9,7 +9,7 @@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -@@ -382,7 +382,7 @@ +@@ -382,7 +382,7 @@ distclean-tags: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = . diff --git a/devel/uisp/patches/patch-src_Avr_h b/devel/uisp/patches/patch-src_Avr_h new file mode 100644 index 00000000000..629b7646dd0 --- /dev/null +++ b/devel/uisp/patches/patch-src_Avr_h @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_Avr_h,v 1.1 2010/05/22 14:27:21 espie Exp $ +--- src/Avr.h.orig Sat May 22 16:25:08 2010 ++++ src/Avr.h Sat May 22 16:25:19 2010 +@@ -142,7 +142,7 @@ class TAvr: public TDevice{ + private: + /* AVR Family Device (Part) List */ + struct TPart { +- char* name; ++ const char* const name; + TByte part_family; + TByte part_number; + TAddr flash_size; diff --git a/devel/uisp/patches/patch-src_DAPA_C b/devel/uisp/patches/patch-src_DAPA_C index 099d2d2db14..524a11e5859 100644 --- a/devel/uisp/patches/patch-src_DAPA_C +++ b/devel/uisp/patches/patch-src_DAPA_C @@ -1,10 +1,10 @@ -$OpenBSD: patch-src_DAPA_C,v 1.1 2008/10/12 08:29:39 martin Exp $ +$OpenBSD: patch-src_DAPA_C,v 1.2 2010/05/22 14:27:21 espie Exp $ --- src/DAPA.C.orig Tue Dec 28 15:39:38 2004 -+++ src/DAPA.C Sun Jun 8 18:04:35 2008 ++++ src/DAPA.C Sat May 22 16:17:55 2010 @@ -84,6 +84,35 @@ #define ioport_enable(port, num) i386_set_ioperm(port, num, 1) #define ioport_disable(port, num) i386_set_ioperm(port, num, 0) - + +#elif defined(__OpenBSD__) && defined(__i386__) + +#include @@ -35,5 +35,5 @@ $OpenBSD: patch-src_DAPA_C,v 1.1 2008/10/12 08:29:39 martin Exp $ +} + #else - + /* Direct I/O port access not supported - ppdev/ppi kernel driver