FreeBSD Bugzilla – Attachment 98531 Details for
Bug 137466
[maintainer-update] [patch] unbreak and update games/eduke32
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
eduke32-patch
eduke32-patch (text/plain), 4.02 KB, created by
Olivier
on 2009-08-05 23:00:12 UTC
(
hide
)
Description:
eduke32-patch
Filename:
MIME Type:
Creator:
Olivier
Created:
2009-08-05 23:00:12 UTC
Size:
4.02 KB
patch
obsolete
>diff -rNu games/eduke32.orig/Makefile games/eduke32/Makefile >--- games/eduke32.orig/Makefile 2009-08-05 23:13:50.000000000 +0200 >+++ games/eduke32/Makefile 2009-08-05 23:19:35.000000000 +0200 >@@ -5,11 +5,13 @@ > # $FreeBSD: ports/games/eduke32/Makefile,v 1.20 2009/07/06 21:25:45 naddy Exp $ > > PORTNAME= eduke32 >-PORTVERSION= 20080924 >-PORTREVISION= 1 >+PORTVERSION= 20090313 >+DISTVERSION= 20090131 > CATEGORIES= games >-MASTER_SITES= http://wiki.eduke32.com/stuff/source_code/ >-DISTFILES= ${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX} >+MASTER_SITES= http://dukeworld.duke4.net/eduke32/source_code/ >+DISTFILES= ${PORTNAME}_src_${DISTVERSION}${EXTRACT_SUFX} >+PATCH_SITES= ${MASTER_SITES} >+PATCHFILES= ${PORTNAME}_src_${PORTVERSION}.diff > > MAINTAINER= olivier@gid0.org > COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke >@@ -19,11 +21,11 @@ > USE_GL= gl > USE_GNOME= gtk20 > USE_SDL= mixer sdl >-WRKSRC= ${WRKDIR}/${PORTNAME}_src_${PORTVERSION}/${PORTNAME} >+WRKSRC= ${WRKDIR}/${PORTNAME}_src_${DISTVERSION} > >-OPTIONS= MIDI "Enable MIDI support" On \ >+OPTIONS= MIDI "Enable original MIDI music support" On \ > TIMIDITYPLUS "Use Timidity++ instead of Timidity" Off \ >- VORBIS "Enable Ogg Vorbis support" On >+ VORBIS "Enable Ogg Vorbis music files support" On > > .include "${.CURDIR}/../duke3d-data/Makefile.include" > >@@ -63,8 +61,8 @@ > s|/usr/X11R6|${LOCALBASE}|; \ > s|sdl-config|${SDL_CONFIG}|' \ > ${WRKSRC}/Makefile \ >- ${WRKSRC}/../build/Makefile \ >- ${WRKSRC}/../build/Makefile.shared >+ ${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 -rNu games/eduke32.orig/distinfo games/eduke32/distinfo >--- games/eduke32.orig/distinfo 2009-08-05 23:13:50.000000000 +0200 >+++ games/eduke32/distinfo 2009-03-15 18:25:59.000000000 +0100 >@@ -1,3 +1,6 @@ >-MD5 (eduke32_src_20080924.zip) = 3bba448c5b8fb9d6e34e2000e2155eed >-SHA256 (eduke32_src_20080924.zip) = d9645cd3fdf8a4009253ee9524602678b339a9a631cb686a45d64ae417e75c32 >-SIZE (eduke32_src_20080924.zip) = 1664585 >+MD5 (eduke32_src_20090131.zip) = cf5eb51de024f28e8b24aae2702d459e >+SHA256 (eduke32_src_20090131.zip) = e6b8cc2c7e0c32a6aa5a64359be8b8c494dcae08dda87e1de718c030426ef74d >+SIZE (eduke32_src_20090131.zip) = 1694234 >+MD5 (eduke32_src_20090313.diff) = fd9fa13146c9a31b2eb709aff93a4afa >+SHA256 (eduke32_src_20090313.diff) = de13b9600868b98195c18a138fe6dd27fd29f054035ec966d03d28a220b472be >+SIZE (eduke32_src_20090313.diff) = 113568 >diff -rNu games/eduke32.orig/files/patch-build-src-mmulti_unstable.c games/eduke32/files/patch-build-src-mmulti_unstable.c >--- games/eduke32.orig/files/patch-build-src-mmulti_unstable.c 1970-01-01 01:00:00.000000000 +0100 >+++ games/eduke32/files/patch-build-src-mmulti_unstable.c 2009-02-02 23:28:21.000000000 +0100 >@@ -0,0 +1,15 @@ >+--- build/src/mmulti_unstable.c.orig 2009-02-02 23:21:58.000000000 +0100 >++++ build/src/mmulti_unstable.c 2009-02-02 23:27:30.000000000 +0100 >+@@ -971,7 +971,11 @@ >+ { >+ /* !!! FIXME: Might be Linux (not Unix, not BSD, not WinSock) specific. */ >+ int32_t flags = 1; >+- setsockopt(udpsocket, SOL_IP, IP_RECVERR, &flags, sizeof(flags)); >++ int sol_ip; >++ struct protoent *pent; >++ pent = getprotobyname ("ip"); >++ sol_ip = (pent != NULL) ? pent->p_proto : 0; >++ setsockopt(udpsocket, sol_ip, SO_ERROR, &flags, sizeof(flags)); >+ } >+ #endif >+ >diff -rNu games/eduke32.orig/files/patch-source-jaudiolib-dsl.c games/eduke32/files/patch-source-jaudiolib-dsl.c >--- games/eduke32.orig/files/patch-source-jaudiolib-dsl.c 1970-01-01 01:00:00.000000000 +0100 >+++ games/eduke32/files/patch-source-jaudiolib-dsl.c 2009-02-02 23:15:35.000000000 +0100 >@@ -0,0 +1,10 @@ >+--- source/jaudiolib/dsl.c.orig 2009-02-02 23:13:40.000000000 +0100 >++++ source/jaudiolib/dsl.c 2009-02-02 23:13:53.000000000 +0100 >+@@ -22,6 +22,7 @@ >+ */ >+ #include <stdlib.h> >+ #include <string.h> >++#include <sys/types.h> >+ >+ #include "dsl.h" >+ #include "compat.h"
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 Raw
Actions:
View
Attachments on
bug 137466
: 98531 |
98532
|
98533