FreeBSD Bugzilla – Attachment 87619 Details for
Bug 124231
[MAINTAINER] [UPDATE] games/eduke32 : new snapshot and some fixes/changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
eduke32.patch
eduke32.patch (text/plain), 3.14 KB, created by
Olivier
on 2008-06-03 12:10:01 UTC
(
hide
)
Description:
eduke32.patch
Filename:
MIME Type:
Creator:
Olivier
Created:
2008-06-03 12:10:01 UTC
Size:
3.14 KB
patch
obsolete
>diff -ruN games/eduke32.orig/Makefile games/eduke32/Makefile >--- games/eduke32.orig/Makefile 2008-06-03 11:30:55.000000000 +0200 >+++ games/eduke32/Makefile 2008-06-03 11:00:37.000000000 +0200 >@@ -5,8 +5,7 @@ > # $FreeBSD: ports/games/eduke32/Makefile,v 1.11 2008/04/19 17:48:58 miwi Exp $ > > PORTNAME= eduke32 >-PORTVERSION= 20080206 >-PORTREVISION= 1 >+PORTVERSION= 20080602 > CATEGORIES= games > MASTER_SITES= http://wiki.eduke32.com/stuff/ > DISTFILES= ${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX} >@@ -21,7 +20,9 @@ > USE_SDL= mixer sdl > WRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION}/${PORTNAME} > >-OPTIONS= MIDI "Enable MIDI support" on >+OPTIONS= MIDI "Enable MIDI support" On \ >+ TIMIDITYPLUS "Use Timidity++ instead of Timidity" Off \ >+ VORBIS "Enable Ogg Vorbis support" On > > .include "${.CURDIR}/../duke3d-data/Makefile.include" > >@@ -31,11 +32,22 @@ > BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm > .endif > >-.if !defined(WITHOUT_MIDI) >+.if defined(WITH_MIDI) >+.if defined(WITH_TIMIDITYPLUS) >+RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity++ >+.else > RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity > .endif >+.endif >+ >+.if defined(WITH_VORBIS) >+LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis >+.endif > > post-patch: >+.if defined(WITHOUT_VORBIS) >+ @${REINPLACE_CMD} -e '/LIBS+= -lvorbis/d' ${WRKSRC}/Makefile >+.endif > .if ${ARCH} != "i386" > @${REINPLACE_CMD} -Ee 's|^(NOASM =).*|\1 1|' ${WRKSRC}/Makefile > .endif >@@ -47,6 +59,7 @@ > ${WRKSRC}/Makefile \ > ${WRKSRC}/../build/Makefile \ > ${WRKSRC}/../build/Makefile.shared >+ @${REINPLACE_CMD} -e 's|LINUX|BSD|' ${WRKSRC}/Makefile > @${REINPLACE_CMD} -e 's|/usr/share/games/eduke32|${DN3DDIR}|' \ > ${WRKSRC}/source/game.c ${WRKSRC}/source/astub.c > >diff -ruN games/eduke32.orig/distinfo games/eduke32/distinfo >--- games/eduke32.orig/distinfo 2008-06-03 11:30:55.000000000 +0200 >+++ games/eduke32/distinfo 2008-06-03 11:04:01.000000000 +0200 >@@ -1,3 +1,3 @@ >-MD5 (eduke32_src_20080206.zip) = 2706f66ea5a043e5020a6b5960c72594 >-SHA256 (eduke32_src_20080206.zip) = a1d0d3fb47cb1eb21f5a299bc257ca0edb0ae91c6b7491690017418220825027 >-SIZE (eduke32_src_20080206.zip) = 1523615 >+MD5 (eduke32_src_20080602.zip) = c478f1f98c1ac57844604a1ba8c98997 >+SHA256 (eduke32_src_20080602.zip) = 0b98ef85548015f199a4253521f1bc82d80f63977b5b94fbaf55924b912950ab >+SIZE (eduke32_src_20080602.zip) = 1629666 >diff -ruN games/eduke32.orig/files/patch-Makefile games/eduke32/files/patch-Makefile >--- games/eduke32.orig/files/patch-Makefile 2008-06-03 11:30:55.000000000 +0200 >+++ games/eduke32/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100 >@@ -1,31 +0,0 @@ >---- Makefile.orig 2007-10-10 23:28:16.000000000 +0200 >-+++ Makefile 2007-10-10 23:30:35.000000000 +0200 >-@@ -51,18 +51,18 @@ >- >- include $(EROOT)/Makefile.shared >- >--ifeq ($(PLATFORM),LINUX) >-+ifeq ($(PLATFORM),WINDOWS) >-+ OBJ=obj_win >-+ EOBJ=eobj_win >-+else >- OBJ=obj >- EOBJ=eobj >-- NASMFLAGS+= -f elf >--else >-- ifeq ($(PLATFORM),WINDOWS) >-- OBJ=obj_win >-- EOBJ=eobj_win >-- else >-- OBJ=obj >-- EOBJ=eobj >-- endif >-+ ifeq ($(PLATFORM),LINUX) >-+ NASMFLAGS+= -f elf >-+ endif >-+ ifeq ($(PLATFORM),BSD) >-+ NASMFLAGS+= -f elf >-+ endif >- endif >- >- JMACTOBJ=$(OBJ)/util_lib.$o \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124231
: 87619