diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile index 5412736c416..9b3c0dcc262 100644 --- a/devel/libgtop2/Makefile +++ b/devel/libgtop2/Makefile @@ -1,12 +1,13 @@ -# $OpenBSD: Makefile,v 1.51 2010/10/26 09:44:59 sthen Exp $ +# $OpenBSD: Makefile,v 1.52 2010/10/27 12:52:42 ajacoutot Exp $ COMMENT= portable library for obtaining system information GNOME_VERSION= 2.28.2 GNOME_PROJECT= libgtop -REVISION= 0 PKGNAME= libgtop2-${VERSION} +REVISION= 1 + SHARED_LIBS= gtop-2.0 9.0 # .9.0 CATEGORIES= devel diff --git a/devel/libgtop2/patches/patch-sysdeps_bsd_cpu_c b/devel/libgtop2/patches/patch-sysdeps_bsd_cpu_c new file mode 100644 index 00000000000..457e6340319 --- /dev/null +++ b/devel/libgtop2/patches/patch-sysdeps_bsd_cpu_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-sysdeps_bsd_cpu_c,v 1.1 2010/10/27 12:52:42 ajacoutot Exp $ +--- sysdeps/bsd/cpu.c.orig Wed Oct 27 14:15:06 2010 ++++ sysdeps/bsd/cpu.c Wed Oct 27 14:15:22 2010 +@@ -26,7 +26,7 @@ + + #include + +-#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__OpenBSD__) + #include + #endif +