- Add LICENSE

- Add missing gl depends
- Fix build with clang 6
- Regenerate patches
This commit is contained in:
Dmitry Marakasov 2018-06-22 21:04:21 +00:00
parent 4e36995bda
commit 8899d5f033
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473074
6 changed files with 27 additions and 23 deletions

View file

@ -11,13 +11,17 @@ MASTER_SITES= http://www.stolk.org/stormbaancoureur/download/ \
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simulated obstacle course for automobiles COMMENT= Simulated obstacle course for automobiles
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \ BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib \
${LOCALBASE}/lib/libode.a:devel/ode ${LOCALBASE}/lib/libode.a:devel/ode
USE_GL= glut USE_GL= gl glu glut
MAKE_ENV= DATADIR="${DATADIR}" MAKE_ENV= DATADIR="${DATADIR}"
CXXFLAGS+= -Wno-c++11-narrowing
BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur BUILD_WRKSRC= ${WRKSRC}/src-stormbaancoureur
INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur

View file

@ -1,6 +1,6 @@
--- src-common/soundenginealsa.cxx.orig 2008-03-22 21:45:22.000000000 +0300 --- src-common/soundenginealsa.cxx.orig 2008-06-18 01:36:34 UTC
+++ src-common/soundenginealsa.cxx 2008-03-30 17:58:09.000000000 +0400 +++ src-common/soundenginealsa.cxx
@@ -38,219 +38,46 @@ @@ -38,219 +38,46 @@ SoundEngineAlsa::SoundEngineAlsa(int lag
complexfeed(0), complexfeed(0),
enginefeed(0), enginefeed(0),
activefeed(0), activefeed(0),

View file

@ -1,15 +1,15 @@
--- src-common/soundenginealsa.h.orig 2008-01-03 07:29:23.000000000 +0300 --- src-common/soundenginealsa.h.orig 2008-04-20 16:00:03 UTC
+++ src-common/soundenginealsa.h 2008-02-09 00:52:09.000000000 +0300 +++ src-common/soundenginealsa.h
@@ -2,8 +2,6 @@ @@ -4,8 +4,6 @@
#ifndef SOUNDENGINE_ALSA_H
#define SOUNDENGINE_ALSA_H #include <string>
-#include <alsa/asoundlib.h> -#include <alsa/asoundlib.h>
- -
class SoundClip; class SoundClip;
class SoundFeed; class SoundFeed;
class SoundFeedSimple; class SoundFeedSimple;
@@ -29,9 +27,6 @@ @@ -31,9 +29,6 @@ class SoundEngineAlsa
SoundFeedModulated *modulatedfeed; SoundFeedModulated *modulatedfeed;
SoundFeedEngine *enginefeed; SoundFeedEngine *enginefeed;
SoundFeed *activefeed; SoundFeed *activefeed;

View file

@ -1,6 +1,6 @@
--- src-stormbaancoureur/Makefile.orig 2008-06-11 18:12:01.000000000 +0400 --- src-stormbaancoureur/Makefile.orig 2009-12-01 03:23:51 UTC
+++ src-stormbaancoureur/Makefile 2013-09-30 06:14:07.576519380 +0400 +++ src-stormbaancoureur/Makefile
@@ -5,23 +5,20 @@ @@ -5,23 +5,20 @@ VERSION=2.1.6-generic
GLPREFIX=/usr GLPREFIX=/usr
PLIBPREFIX=/usr PLIBPREFIX=/usr
ODEPREFIX=/usr ODEPREFIX=/usr
@ -29,7 +29,7 @@
OBJS=\ OBJS=\
@@ -39,15 +36,15 @@ @@ -39,15 +36,15 @@ OBJS=\
LIBS=\ LIBS=\
@ -48,7 +48,7 @@
$(CXX) -o stormbaancoureur $(OBJS) $(LFLAGS) $(LIBS) $(CXX) -o stormbaancoureur $(OBJS) $(LFLAGS) $(LIBS)
staticworldobject.o: ../src-common/staticworldobject.cxx ../src-common/staticworldobject.h ../src-common/worldobject.h staticworldobject.o: ../src-common/staticworldobject.cxx ../src-common/staticworldobject.h ../src-common/worldobject.h
@@ -92,16 +89,15 @@ @@ -92,16 +89,15 @@ run: stormbaancoureur
clean: clean:
rm -f *.o stormbaancoureur rm -f *.o stormbaancoureur

View file

@ -1,6 +1,6 @@
--- src-stormbaancoureur/controllerpad.cxx.orig Mon Jul 17 00:26:08 2006 --- src-stormbaancoureur/controllerpad.cxx.orig 2008-04-20 15:56:35 UTC
+++ src-stormbaancoureur/controllerpad.cxx Mon Jul 17 00:28:23 2006 +++ src-stormbaancoureur/controllerpad.cxx
@@ -14,7 +14,6 @@ @@ -15,7 +15,6 @@
#include <windows.h> #include <windows.h>
#include <mmsystem.h> #include <mmsystem.h>
#else #else
@ -8,7 +8,7 @@
#include <sys/ioctl.h> // for ioctl() #include <sys/ioctl.h> // for ioctl()
#include <unistd.h> // for close() #include <unistd.h> // for close()
#include <stdio.h> // for perror() #include <stdio.h> // for perror()
@@ -81,100 +80,7 @@ @@ -82,100 +81,7 @@ action_button(-1),
accel_axis(-1), accel_axis(-1),
accel_button(-1) accel_button(-1)
{ {
@ -110,7 +110,7 @@
} }
@@ -194,80 +100,6 @@ @@ -195,80 +101,6 @@ ControllerPad::~ControllerPad()
void ControllerPad::Sustain(float dt) void ControllerPad::Sustain(float dt)
{ {

View file

@ -1,6 +1,6 @@
--- src-stormbaancoureur/main.cxx.orig 2007-12-28 23:09:41.000000000 +0300 --- src-stormbaancoureur/main.cxx.orig 2008-04-20 15:58:29 UTC
+++ src-stormbaancoureur/main.cxx 2007-12-31 16:48:41.000000000 +0300 +++ src-stormbaancoureur/main.cxx
@@ -1176,12 +1176,7 @@ @@ -837,12 +837,7 @@ int main(int argc, char *argv[])
fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n"); fprintf(stderr,"OpenDE is (c) by Russel L. Smith\n");
char *bindirname = dirname(argv[0]); char *bindirname = dirname(argv[0]);