pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/peace Make this compilable on the recent Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29cc9581f493
branches:  trunk
changeset: 551114:29cc9581f493
user:      kent <kent%pkgsrc.org@localhost>
date:      Sun Dec 07 16:23:45 2008 +0000

description:
Make this compilable on the recent NetBSD-4.
 - support for KERN_OLDSYSVSHM
   patch provided by Sergey Svishchev
 - no support for NetBSD-5 because of /emul/pecoff

diffstat:

 emulators/peace/Makefile         |   5 +++--
 emulators/peace/distinfo         |   3 ++-
 emulators/peace/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r c968723a64e3 -r 29cc9581f493 emulators/peace/Makefile
--- a/emulators/peace/Makefile  Sun Dec 07 15:47:30 2008 +0000
+++ b/emulators/peace/Makefile  Sun Dec 07 16:23:45 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/04/05 16:21:37 kent Exp $
+# $NetBSD: Makefile,v 1.27 2008/12/07 16:23:45 kent Exp $
 #
 PEACE_VERSION= 0.0.20060701
 DISTNAME=      peace-${PEACE_VERSION}
@@ -11,7 +11,8 @@
 
 DISTFILES+=    peace-${PEACE_VERSION}.tar.gz
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=peace/}
-ONLY_FOR_PLATFORM=     NetBSD-[2-9]*-i386
+# This version doesn't work on NetBSD-5.x because of /emul/pecoff removal.
+ONLY_FOR_PLATFORM=     NetBSD-[34].*-i386
 DEPENDS+=      icu>=2.4nb1:../../textproc/icu
 DEPENDS+=      freetype2>=2.2.1:../../graphics/freetype2
 # bin/showstack requires perl5 and cross-i386-netbsdpe
diff -r c968723a64e3 -r 29cc9581f493 emulators/peace/distinfo
--- a/emulators/peace/distinfo  Sun Dec 07 15:47:30 2008 +0000
+++ b/emulators/peace/distinfo  Sun Dec 07 16:23:45 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2006/07/03 04:38:43 kent Exp $
+$NetBSD: distinfo,v 1.15 2008/12/07 16:23:45 kent Exp $
 
 SHA1 (peace-0.0.20060701.tar.gz) = 0307592fc773dec131d75408cf31898f91952f81
 RMD160 (peace-0.0.20060701.tar.gz) = 3a0de978b3979b21fe3813e1267f4edd75802f54
 Size (peace-0.0.20060701.tar.gz) = 1685054 bytes
+SHA1 (patch-aa) = 74f91d96da3a216b8acb2192074c390377eae42a
diff -r c968723a64e3 -r 29cc9581f493 emulators/peace/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/peace/patches/patch-aa  Sun Dec 07 16:23:45 2008 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.3 2008/12/07 16:23:45 kent Exp $
+
+--- dll/ui.so/X11.cc.orig      2008-12-08 01:09:48.000000000 +0900
++++ dll/ui.so/X11.cc
+@@ -41,6 +41,9 @@
+ #include <sys/param.h>
+ #include <sys/shm.h>
+ #include <sys/sysctl.h>
++#ifndef KERN_SYSVSHM
++#define KERN_SYSVSHM KERN_OLDSYSVSHM
++#endif
+ 
+ #include "X11.h"
+ #include "WindowObject.h"



Home | Main Index | Thread Index | Old Index