From owner-svn-ports-head@FreeBSD.ORG Mon Jul 29 16:54:36 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTP id 8664B465; Mon, 29 Jul 2013 16:54:36 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 63D472223; Mon, 29 Jul 2013 16:54:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6TGsa3x056163; Mon, 29 Jul 2013 16:54:36 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6TGsZN6056159; Mon, 29 Jul 2013 16:54:35 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201307291654.r6TGsZN6056159@svn.freebsd.org> From: Alexey Dokuchaev Date: Mon, 29 Jul 2013 16:54:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323894 - in head/emulators/vba: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 16:54:36 -0000 Author: danfe Date: Mon Jul 29 16:54:35 2013 New Revision: 323894 URL: http://svnweb.freebsd.org/changeset/ports/323894 Log: - Add PROFILING_DESC (should be part of r323888) - Unbreak the build on amd64 (and make it generally type safe) - Remove gtkmm-2.4 from LIB_DEPENDS, glademm-2.4 implies it Added: head/emulators/vba/files/patch-src-System.h (contents, props changed) Modified: head/emulators/vba/Makefile head/emulators/vba/files/patch-src-prof_gmon.h Modified: head/emulators/vba/Makefile ============================================================================== --- head/emulators/vba/Makefile Mon Jul 29 16:25:39 2013 (r323893) +++ head/emulators/vba/Makefile Mon Jul 29 16:54:35 2013 (r323894) @@ -33,6 +33,7 @@ PORTDOCS= AUTHORS NEWS README ChangeLog OPTIONS_DEFINE= GTK2 PROFILING DOCS OPTIONS_SUB= yes +PROFILING_DESC= Enable profiling GTK2_CONFIGURE_ON= --enable-gtk=2.4 PROFILING_CONFIGURE_ENABLE= profiling @@ -40,8 +41,7 @@ PROFILING_CONFIGURE_ENABLE= profiling .include .if ${PORT_OPTIONS:MGTK2} -LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \ - glademm-2.4:${PORTSDIR}/devel/libglademm24 +LIB_DEPENDS+= glademm-2.4:${PORTSDIR}/devel/libglademm24 PROG_FILES+= ${WRKSRC}/src/gtk/gvba GTK2_DATA_FILES= ${WRKSRC}/src/gtk/vba.glade .endif Added: head/emulators/vba/files/patch-src-System.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/vba/files/patch-src-System.h Mon Jul 29 16:54:35 2013 (r323894) @@ -0,0 +1,42 @@ +--- src/System.h.orig 2004-05-13 22:02:43.000000000 +0800 ++++ src/System.h 2013-07-30 00:13:30.000000000 +0800 +@@ -20,30 +20,31 @@ + #ifndef VBA_SYSTEM_H + #define VBA_SYSTEM_H + ++#include + #include "unzip.h" + + #ifndef NULL + #define NULL 0 + #endif + +-typedef unsigned char u8; +-typedef unsigned short u16; +-typedef unsigned int u32; ++typedef uint8_t u8; ++typedef uint16_t u16; ++typedef uint32_t u32; + + #ifdef _MSC_VER + typedef unsigned __int64 u64; + #else +-typedef unsigned long long u64; ++typedef uint64_t u64; + #endif + +-typedef signed char s8; +-typedef signed short s16; +-typedef signed int s32; ++typedef int8_t s8; ++typedef int16_t s16; ++typedef int32_t s32; + + #ifdef _MSC_VER + typedef signed __int64 s64; + #else +-typedef signed long long s64; ++typedef int64_t s64; + #endif + + struct EmulatedSystem { Modified: head/emulators/vba/files/patch-src-prof_gmon.h ============================================================================== --- head/emulators/vba/files/patch-src-prof_gmon.h Mon Jul 29 16:25:39 2013 (r323893) +++ head/emulators/vba/files/patch-src-prof_gmon.h Mon Jul 29 16:54:35 2013 (r323894) @@ -1,6 +1,15 @@ --- src/prof/gmon.h.orig 2007-10-04 01:06:18.000000000 +0200 +++ src/prof/gmon.h 2007-10-04 01:06:48.000000000 +0200 -@@ -119,7 +119,7 @@ +@@ -29,6 +29,8 @@ + #ifndef gmon_h + #define gmon_h + ++#include ++ + /* Size of the 4.4BSD gmon header */ + #define GMON_HDRSIZE_BSD44_32 (4 + 4 + 4 + 4 + 4 + (3 * 4)) + #define GMON_HDRSIZE_BSD44_64 (8 + 8 + 4 + 4 + 4 + (3 * 4)) +@@ -119,7 +121,7 @@ struct tostruct {