From nobody@FreeBSD.org  Mon May 12 19:53:28 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 4CF66E5D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 May 2014 19:53:28 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 2D4FA28B2
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 May 2014 19:53:28 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CJrSfC057155
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 May 2014 19:53:28 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4CJrSI8057148;
	Mon, 12 May 2014 19:53:28 GMT
	(envelope-from nobody)
Message-Id: <201405121953.s4CJrSI8057148@cgiserv.freebsd.org>
Date: Mon, 12 May 2014 19:53:28 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer-update] update games/fgrun to 3.0.0
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         189735
>Category:       ports
>Synopsis:       [maintainer-update] update games/fgrun to 3.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    martymac
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 20:00:00 UTC 2014
>Closed-Date:    Wed May 14 12:15:46 UTC 2014
>Last-Modified:  Wed May 14 12:20:00 UTC 2014
>Originator:     Kuan-Chung Chiu
>Release:        
>Organization:
>Environment:
>Description:
Update games/fgrun to 3.0.0
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN fgrun.orig/Makefile fgrun/Makefile
--- fgrun.orig/Makefile	2014-05-12 04:23:27.000000000 +0800
+++ fgrun/Makefile	2014-05-12 04:30:39.000000000 +0800
@@ -2,8 +2,7 @@
 # $FreeBSD: head/games/fgrun/Makefile 347809 2014-03-10 20:55:20Z gerald $
 
 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=
 
@@ -23,13 +22,12 @@
 
 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
diff -ruN fgrun.orig/distinfo fgrun/distinfo
--- fgrun.orig/distinfo	2014-05-12 04:23:27.000000000 +0800
+++ fgrun/distinfo	2014-05-12 04:26:03.000000000 +0800
@@ -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
diff -ruN fgrun.orig/files/patch-CMakeLists.txt fgrun/files/patch-CMakeLists.txt
--- fgrun.orig/files/patch-CMakeLists.txt	1970-01-01 08:00:00.000000000 +0800
+++ fgrun/files/patch-CMakeLists.txt	2014-05-12 04:38:23.000000000 +0800
@@ -0,0 +1,18 @@
+--- 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)
+ 
+-    if (MSVC)
+         FIND_LIBRARY(INTL_LIBRARY
+           NAMES intl
+           HINTS
+@@ -153,7 +152,6 @@
+         if (NOT INTL_LIBRARY)
+             set( ENABLE_NLS 0 )
+         endif (NOT INTL_LIBRARY)
+-    endif (MSVC)
+ 
+ 	if (ENABLE_NLS)
+ 		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_NLS")
diff -ruN fgrun.orig/files/patch-src-CMakeLists.txt fgrun/files/patch-src-CMakeLists.txt
--- fgrun.orig/files/patch-src-CMakeLists.txt	2014-05-12 04:23:27.000000000 +0800
+++ fgrun/files/patch-src-CMakeLists.txt	1970-01-01 08:00:00.000000000 +0800
@@ -1,18 +0,0 @@
---- 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 @@
- 
- if (ENABLE_NLS AND GETTEXT_FOUND)
- 
--    if (MSVC)
-         FIND_LIBRARY(INTL_LIBRARY
-           NAMES intl
-           HINTS
-@@ -154,7 +153,6 @@
-         if (NOT INTL_LIBRARY)
-             set( ENABLE_NLS 0 )
-         endif (NOT INTL_LIBRARY)
--    endif (MSVC)
- 
- 	if (ENABLE_NLS)
- 		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_NLS")
diff -ruN fgrun.orig/files/patch-src-fgrun_pty.cxx fgrun/files/patch-src-fgrun_pty.cxx
--- fgrun.orig/files/patch-src-fgrun_pty.cxx	2014-05-12 04:23:27.000000000 +0800
+++ fgrun/files/patch-src-fgrun_pty.cxx	2014-05-12 04:36:03.000000000 +0800
@@ -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
+ /**
diff -ruN fgrun.orig/files/patch-src-run_posix.cxx fgrun/files/patch-src-run_posix.cxx
--- fgrun.orig/files/patch-src-run_posix.cxx	2014-05-12 04:23:27.000000000 +0800
+++ fgrun/files/patch-src-run_posix.cxx	2014-05-12 04:32:46.000000000 +0800
@@ -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


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sunpoet 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon May 12 20:00:05 UTC 2014 
Responsible-Changed-Why:  
sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189735 
Responsible-Changed-From-To: sunpoet->martymac 
Responsible-Changed-By: sunpoet 
Responsible-Changed-When: Tue May 13 08:14:42 UTC 2014 
Responsible-Changed-Why:  
martymac@ is working on this port with maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189735 
State-Changed-From-To: open->closed 
State-Changed-By: martymac 
State-Changed-When: Wed May 14 12:15:45 UTC 2014 
State-Changed-Why:  
Committed with minor changes, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189735 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/189735: commit references a PR
Date: Wed, 14 May 2014 12:15:03 +0000 (UTC)

 Author: martymac
 Date: Wed May 14 12:14:58 2014
 New Revision: 354044
 URL: http://svnweb.freebsd.org/changeset/ports/354044
 QAT: https://qat.redports.org/buildarchive/r354044/
 
 Log:
   Update to 3.0.0
   
   PR:		ports/189735
   Submitted by:	Kuan-Chung Chiu <buganini@gmail.com>
 
 Added:
   head/games/fgrun/files/patch-CMakeLists.txt   (contents, props changed)
 Deleted:
   head/games/fgrun/files/patch-src-CMakeLists.txt
 Modified:
   head/games/fgrun/Makefile
   head/games/fgrun/distinfo
   head/games/fgrun/files/patch-src-fgrun_pty.cxx
   head/games/fgrun/files/patch-src-run_posix.cxx
   head/games/fgrun/pkg-plist
 
 Modified: head/games/fgrun/Makefile
 ==============================================================================
 --- head/games/fgrun/Makefile	Wed May 14 12:09:16 2014	(r354043)
 +++ head/games/fgrun/Makefile	Wed May 14 12:14:58 2014	(r354044)
 @@ -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_PR
  
  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
 
 Modified: head/games/fgrun/distinfo
 ==============================================================================
 --- head/games/fgrun/distinfo	Wed May 14 12:09:16 2014	(r354043)
 +++ head/games/fgrun/distinfo	Wed May 14 12:14:58 2014	(r354044)
 @@ -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
 
 Added: head/games/fgrun/files/patch-CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/games/fgrun/files/patch-CMakeLists.txt	Wed May 14 12:14:58 2014	(r354044)
 @@ -0,0 +1,18 @@
 +--- 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)
 + 
 +-    if (MSVC)
 +         FIND_LIBRARY(INTL_LIBRARY
 +           NAMES intl
 +           HINTS
 +@@ -153,7 +152,6 @@
 +         if (NOT INTL_LIBRARY)
 +             set( ENABLE_NLS 0 )
 +         endif (NOT INTL_LIBRARY)
 +-    endif (MSVC)
 + 
 + 	if (ENABLE_NLS)
 + 		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DENABLE_NLS")
 
 Modified: head/games/fgrun/files/patch-src-fgrun_pty.cxx
 ==============================================================================
 --- head/games/fgrun/files/patch-src-fgrun_pty.cxx	Wed May 14 12:09:16 2014	(r354043)
 +++ head/games/fgrun/files/patch-src-fgrun_pty.cxx	Wed May 14 12:14:58 2014	(r354044)
 @@ -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
 + /**
 
 Modified: head/games/fgrun/files/patch-src-run_posix.cxx
 ==============================================================================
 --- head/games/fgrun/files/patch-src-run_posix.cxx	Wed May 14 12:09:16 2014	(r354043)
 +++ head/games/fgrun/files/patch-src-run_posix.cxx	Wed May 14 12:14:58 2014	(r354044)
 @@ -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
 
 Modified: head/games/fgrun/pkg-plist
 ==============================================================================
 --- head/games/fgrun/pkg-plist	Wed May 14 12:09:16 2014	(r354043)
 +++ head/games/fgrun/pkg-plist	Wed May 14 12:14:58 2014	(r354044)
 @@ -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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
