1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 3.0.0

PR:		ports/189735
Submitted by:	Kuan-Chung Chiu <buganini@gmail.com>
This commit is contained in:
Ganael LAPLANCHE 2014-05-14 12:14:58 +00:00
parent 7e160d2e19
commit ba8e7aed18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354044
6 changed files with 23 additions and 30 deletions

View File

@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= fgrun
PORTVERSION= 1.7.0
PORTREVISION= 1
PORTVERSION= 3.0.0
CATEGORIES= games
MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy=
MASTER_SITES= https://gitorious.org/${GO_ACCOUNT}/${GO_PROJECT}/archive/${GO_TAGNAME}.tar.gz?dummy= \
LOCAL/martymac
MAINTAINER= buganini@gmail.com
COMMENT= A graphical frontend to run FlightGear Flight Simulator
@ -23,13 +23,12 @@ WRKSRC= ${WRKDIR}/${GO_ACCOUNT}-${GO_PROJECT}
CMAKE_ARGS+= -DLIB_DIR=${PREFIX}/lib
USE_GCC= yes
USES= cmake
USE_GL= gl
GO_ACCOUNT= fg
GO_PROJECT= fgrun
GO_TAGNAME= 90e936c01e28feac4a9c3e28d5227980fb8f1e1d
GO_TAGNAME= e13e42811239008fded7685d8f2311bb571f6a58
FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES}
OPTIONS_DEFINE= NLS

View File

@ -1,2 +1,2 @@
SHA256 (fgrun-1.7.0.tar.gz) = 768d2c5353e6260d1b5625781f66cd46f8fff9f8f1607ba1bd370c778193900c
SIZE (fgrun-1.7.0.tar.gz) = 187221
SHA256 (fgrun-3.0.0.tar.gz) = df8299cae9334fb6563be2cf0f78cfe397b569a3d64fbd3a39a26034132ab5d8
SIZE (fgrun-3.0.0.tar.gz) = 194601

View File

@ -1,6 +1,6 @@
--- CMakeLists.txt.orig 2013-11-18 06:56:58.000000000 +0800
+++ CMakeLists.txt 2013-11-18 06:57:32.000000000 +0800
@@ -138,7 +138,6 @@
--- CMakeLists.txt.orig 2014-05-12 04:37:55.000000000 +0800
+++ CMakeLists.txt 2014-05-12 04:38:05.000000000 +0800
@@ -137,7 +137,6 @@
if (ENABLE_NLS AND GETTEXT_FOUND)
@ -8,7 +8,7 @@
FIND_LIBRARY(INTL_LIBRARY
NAMES intl
HINTS
@@ -154,7 +153,6 @@
@@ -153,7 +152,6 @@
if (NOT INTL_LIBRARY)
set( ENABLE_NLS 0 )
endif (NOT INTL_LIBRARY)

View File

@ -1,12 +1,14 @@
--- src/fgrun_pty.cxx.orig 2008-10-18 17:32:33.000000000 +0800
+++ src/fgrun_pty.cxx 2008-10-18 17:33:12.000000000 +0800
@@ -28,6 +28,9 @@
# include <pty.h>
--- src/fgrun_pty.cxx.orig 2014-05-12 04:35:04.000000000 +0800
+++ src/fgrun_pty.cxx 2014-05-12 04:35:29.000000000 +0800
@@ -40,6 +40,11 @@
#include <fcntl.h> // O_RDWR
#endif
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <termios.h>
+#include <libutil.h>
+
#if defined(HAVE_UTMP_H)
# include <utmp.h>
#endif
#include <stdlib.h> //needed on some linux systems for grantpt()
#include <string.h> //strcpy is not necessarily already included
/**

View File

@ -1,6 +1,6 @@
--- src/run_posix.cxx.orig 2009-01-25 17:01:58.000000000 +0000
+++ src/run_posix.cxx 2009-03-09 01:08:38.080801315 +0000
@@ -59,7 +59,7 @@
--- src/run_posix.cxx.orig 2014-05-12 04:32:03.000000000 +0800
+++ src/run_posix.cxx 2014-05-12 04:32:24.000000000 +0800
@@ -60,7 +60,7 @@
#if defined(HAVE_TERMIOS_H)
struct termios term;
tcgetattr( STDOUT_FILENO, &term );
@ -9,12 +9,3 @@
pid = pty_fork( &master, 0, &term, 0 );
#else
@@ -171,7 +171,7 @@
#if defined(HAVE_TERMIOS_H)
struct termios term;
tcgetattr( STDOUT_FILENO, &term );
- term.c_oflag &= ~( OLCUC | ONLCR );
+ term.c_oflag &= ~ONLCR;
tsPid = pty_fork( &master, 0, &term, 0 );
#else

View File

@ -3,6 +3,7 @@ bin/fgrun
%%NLS%%share/locale/es/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/fr/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/it/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/ja/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/nl/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/pl/LC_MESSAGES/fgrun.mo
%%NLS%%share/locale/pt/LC_MESSAGES/fgrun.mo