FreeBSD Bugzilla – Attachment 190522 Details for
Bug 225835
[PATCH] games/torcs : Fix build in 12-current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 12-current
torcs-1.3.7_2.diff (text/plain), 3.06 KB, created by
Thibault Payet
on 2018-02-11 21:42:17 UTC
(
hide
)
Description:
patch for 12-current
Filename:
MIME Type:
Creator:
Thibault Payet
Created:
2018-02-11 21:42:17 UTC
Size:
3.06 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (révision 461319) >+++ Makefile (copie de travail) >@@ -3,7 +3,7 @@ > > PORTNAME= torcs > DISTVERSION= 1.3.7 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= games > MASTER_SITES= SF/${PORTNAME}/all-in-one/${PORTVERSION} > >Index: files/patch-Make-default.mk >=================================================================== >--- files/patch-Make-default.mk (révision 461319) >+++ files/patch-Make-default.mk (copie de travail) >@@ -9,3 +9,12 @@ > > dep: .depend > >+@@ -181,7 +181,7 @@ win32setup: win32start exportswin32 installshipswin32 >+ >+ linuxconfstart: >+ @rm -f ${SETUP_LINUX} >+- @echo '#! /bin/bash' >> ${SETUP_LINUX} >++ @echo '#! /usr/local/bin/bash' >> ${SETUP_LINUX} >+ @echo '' >> ${SETUP_LINUX} >+ @echo '[ -z "$$1" ] && exit 1' >> ${SETUP_LINUX} >+ @echo '[ ! -d "$$1" ] && exit 1' >> ${SETUP_LINUX} >Index: files/patch-src_drivers_olethros_driver.cpp >=================================================================== >--- files/patch-src_drivers_olethros_driver.cpp (nonexistent) >+++ files/patch-src_drivers_olethros_driver.cpp (copie de travail) >@@ -0,0 +1,11 @@ >+--- src/drivers/olethros/driver.cpp.orig 2018-02-11 21:23:59 UTC >++++ src/drivers/olethros/driver.cpp >+@@ -802,7 +802,7 @@ namespace olethros { >+ rpmMaxTq, >+ rpmMaxPw, >+ rpmMax, >+- rpmMax*2.0 >++ rpmMax*2.0f >+ }; >+ int N = 5; >+ for (int i=0; i<N - 1; i++) { > >Modification de propriétés sur files/patch-src_drivers_olethros_driver.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_libs_musicplayer_OpenALMusicPlayer.cpp >=================================================================== >--- files/patch-src_libs_musicplayer_OpenALMusicPlayer.cpp (nonexistent) >+++ files/patch-src_libs_musicplayer_OpenALMusicPlayer.cpp (copie de travail) >@@ -0,0 +1,18 @@ >+--- src/libs/musicplayer/OpenALMusicPlayer.cpp.orig 2018-02-11 19:14:32 UTC >++++ src/libs/musicplayer/OpenALMusicPlayer.cpp >+@@ -161,7 +161,7 @@ bool OpenALMusicPlayer::streamBuffer(ALuint buffer) >+ { >+ char pcm[BUFFERSIZE]; >+ int size = 0; >+- const char* error = '\0'; >++ const char* error = nullptr; >+ >+ if (!stream->read(pcm, BUFFERSIZE, &size, &error)) { >+ GfError("OpenALMusicPlayer: Stream read error: %s\n", error); >+@@ -268,4 +268,4 @@ bool OpenALMusicPlayer::startPlayback() >+ alSourcePlay(source); >+ >+ return true; >+-} >+\ No newline at end of file >++} > >Modification de propriétés sur files/patch-src_libs_musicplayer_OpenALMusicPlayer.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Flags:
monwarez
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 225835
: 190522