pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/freesci Make build on current, convert to buildl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce06ea8df821
branches: trunk
changeset: 471161:ce06ea8df821
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Mar 20 15:16:10 2004 +0000
description:
Make build on current, convert to buildlink3, and add some working
MASTER_SITES.
diffstat:
games/freesci/Makefile | 17 +++++++++--------
games/freesci/distinfo | 8 +++++++-
games/freesci/patches/patch-aa | 13 +++++++++++++
games/freesci/patches/patch-ab | 13 +++++++++++++
games/freesci/patches/patch-ac | 13 +++++++++++++
games/freesci/patches/patch-ad | 13 +++++++++++++
games/freesci/patches/patch-ae | 13 +++++++++++++
games/freesci/patches/patch-af | 29 +++++++++++++++++++++++++++++
8 files changed, 110 insertions(+), 9 deletions(-)
diffs (174 lines):
diff -r 162a8354577d -r ce06ea8df821 games/freesci/Makefile
--- a/games/freesci/Makefile Sat Mar 20 14:44:07 2004 +0000
+++ b/games/freesci/Makefile Sat Mar 20 15:16:10 2004 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2004/03/08 19:40:38 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/20 15:16:10 wiz Exp $
#
DISTNAME= freesci-0.3.4a
PKGREVISION= 1
CATEGORIES= games
-MASTER_SITES= http://savannah.nongnu.org/download/freesci/stable.pkg/0.3.4a/
+MASTER_SITES= http://www-plan.cs.colorado.edu/reichenb/freesci/ \
+ http://teksolv.de/~jameson/
MAINTAINER= dillo%NetBSD.org@localhost
HOMEPAGE= http://freesci.linuxgames.com/
@@ -12,7 +13,7 @@
DEPENDS+= xdg-dirs>=1.1:../../misc/xdg-dirs
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -21,9 +22,9 @@
${INSTALL_DATA_DIR} ${LOCALBASE}/share/examples/freesci
${INSTALL_DATA} ${FILESDIR}/config ${LOCALBASE}/share/examples/freesci
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../devel/readline/buildlink2.mk"
-.include "../../devel/ncurses/buildlink2.mk"
-#.include "../../mk/motif.buildlink2.mk"
-#.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+#.include "../../mk/motif.buildlink3.mk"
+#.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 162a8354577d -r ce06ea8df821 games/freesci/distinfo
--- a/games/freesci/distinfo Sat Mar 20 14:44:07 2004 +0000
+++ b/games/freesci/distinfo Sat Mar 20 15:16:10 2004 +0000
@@ -1,4 +1,10 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/08/16 18:27:30 dillo Exp $
+$NetBSD: distinfo,v 1.2 2004/03/20 15:16:10 wiz Exp $
SHA1 (freesci-0.3.4a.tar.gz) = 65291ac18f668b245e7652023e754e19e6ccb0e8
Size (freesci-0.3.4a.tar.gz) = 1178834 bytes
+SHA1 (patch-aa) = ec90d23cb4830b4903c32118280766bfb3baf38e
+SHA1 (patch-ab) = 9e5e62d8d06c69d5f96cbe32c13140a4093ddb94
+SHA1 (patch-ac) = b1d01703301dffb233e1c300a8717785b224c3e9
+SHA1 (patch-ad) = f413de3289ac2a424d5ee35de62a78a5dcef7e35
+SHA1 (patch-ae) = 137ec032ad33e647ea4ecf80955ad8916e8dd383
+SHA1 (patch-af) = a2897fcf2d3526797c3cef3ce9003b071d2125be
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-aa Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midi_adlib.c.orig 2002-11-08 22:45:06.000000000 +0100
++++ src/sound/midi_adlib.c
+@@ -31,7 +31,7 @@
+ #include <midiout.h>
+ #include <soundserver.h>
+
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined(HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+
+ #include <sys/ioctl.h>
+ #include <sys/time.h>
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-ab Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midi_device.c.orig 2003-01-19 22:57:33.000000000 +0100
++++ src/sound/midi_device.c
+@@ -26,7 +26,7 @@ midi_device_t midi_device_null;
+ midi_device_t *midi_devices[] = {
+ &midi_device_mt32gm,
+ &midi_device_mt32,
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined(HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+ &midi_device_adlib,
+ #endif
+ &midi_device_adlibemu,
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-ac Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midiout.c.orig 2003-01-09 23:08:18.000000000 +0100
++++ src/sound/midiout.c
+@@ -22,7 +22,7 @@
+ midiout_driver_t *midiout_driver = NULL;
+
+ midiout_driver_t *midiout_drivers[] = {
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined(HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+ &midiout_driver_ossseq,
+ &midiout_driver_ossopl3,
+ #endif /* HAVE_SYS_SOUNDCARD_H */
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-ad Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midiout_ossopl3.c.orig 2002-09-16 15:19:15.000000000 +0200
++++ src/sound/midiout_ossopl3.c
+@@ -63,7 +63,7 @@ Fmplay includes the following notice:
+
+ #include <midiout.h>
+
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined (HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+ #include <stdio.h>
+ #include <errno.h>
+ #include <sys/ioctl.h>
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-ae Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/midiout_ossseq.c.orig 2002-09-16 15:19:15.000000000 +0200
++++ src/sound/midiout_ossseq.c
+@@ -19,7 +19,7 @@
+
+ #include <midiout.h>
+
+-#ifdef HAVE_SYS_SOUNDCARD_H
++#if defined (HAVE_SYS_SOUNDCARD_H) && !defined(__NetBSD__)
+ #include <sys/soundcard.h>
+ #include <stdio.h>
+ #include <errno.h>
diff -r 162a8354577d -r ce06ea8df821 games/freesci/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freesci/patches/patch-af Sat Mar 20 15:16:10 2004 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-af,v 1.1 2004/03/20 15:16:10 wiz Exp $
+
+--- src/sound/pcmout_oss.c.orig 2003-01-17 06:56:47.000000000 +0100
++++ src/sound/pcmout_oss.c
+@@ -70,7 +70,7 @@ static int pcmout_oss_open(gint16 *b, gu
+ return -1;
+ }
+
+- if (ioctl (oss_fd, SNDCTL_DSP_RESET)) {
++ if (ioctl (oss_fd, SNDCTL_DSP_RESET, &i)) {
+ fprintf(stderr, "[PCM-OSS] Failed to reset device\n");
+ return -1;
+ }
+@@ -115,13 +115,13 @@ static int pcmout_oss_open(gint16 *b, gu
+ }
+
+ static int pcmout_oss_close() {
+- int err;
++ int err, i;
+
+ run = 0;
+
+ pthread_join(thread, NULL);
+
+- ioctl (oss_fd, SNDCTL_DSP_SYNC);
++ ioctl (oss_fd, SNDCTL_DSP_SYNC, &i);
+ close (oss_fd);
+
+ return 0;
- Prev by Date:
[pkgsrc/trunk]: pkgsrc/doc + TeXmacs-1.0.3.4, atk-1.6.0, clisp-2.33, coreutil...
- Next by Date:
[pkgsrc/trunk]: pkgsrc/doc Assign the glib2, atk, pango and gtk2 updates to me.
- Previous by Thread:
[pkgsrc/trunk]: pkgsrc/doc + TeXmacs-1.0.3.4, atk-1.6.0, clisp-2.33, coreutil...
- Next by Thread:
[pkgsrc/trunk]: pkgsrc/doc Assign the glib2, atk, pango and gtk2 updates to me.
- Indexes:
Home |
Main Index |
Thread Index |
Old Index