Date: Thu, 12 Sep 2013 20:02:59 GMT From: Olivier Cochard-Labbé <olivier@cochard.me> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182051: sysutils/wiimms upgrade to 2.23a and fix head compilation Message-ID: <201309122002.r8CK2xuf085927@oldred.freebsd.org> Resent-Message-ID: <201309122010.r8CKA0Up058698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182051 >Category: ports >Synopsis: sysutils/wiimms upgrade to 2.23a and fix head compilation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 20:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbé >Release: 10.0 >Organization: >Environment: FreeBSD orange.bsdrp.net 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r255295M: Fri Sep 6 14:01:54 CEST 2013 root@orange.bsdrp.net:/usr/obj/usr/local/BSDRP/BSDRPcur/FreeBSD/src/sys/PROD amd64 >Description: Here is a patch that update sysutils/wiimms to 2.23a and fix compilation problem on head (no more gcc). Regards, >How-To-Repeat: >Fix: Patch attached with submission follows: Index: sysutils/wiimms/Makefile =================================================================== --- sysutils/wiimms/Makefile (revision 327103) +++ sysutils/wiimms/Makefile (working copy) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= wiimms -DISTVERSION= 2.10a +DISTVERSION= 2.23a CATEGORIES= sysutils MASTER_SITES= http://gugus69.free.fr/wiimms/ \ LOCAL/martymac @@ -18,6 +18,7 @@ WRKSRC= ${WRKDIR}/wiimms-iso-tools USE_GMAKE= yes +USE_GCC= any .include <bsd.port.pre.mk> Index: sysutils/wiimms/distinfo =================================================================== --- sysutils/wiimms/distinfo (revision 327103) +++ sysutils/wiimms/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (wit-2.10a.tar.gz) = 847abdff776bc823d5a0dbb458a51607ef9d0a12ff5fc39241bef5f5332ec78c -SIZE (wit-2.10a.tar.gz) = 1762759 +SHA256 (wit-2.23a.tar.gz) = b49e1f161cb4cb7da9db7b8a3447cbd94b8d9ac15d088097c7e47c39c7808b6e +SIZE (wit-2.23a.tar.gz) = 1810162 Index: sysutils/wiimms/files/patch-Makefile =================================================================== --- sysutils/wiimms/files/patch-Makefile (revision 0) +++ sysutils/wiimms/files/patch-Makefile (working copy) @@ -0,0 +1,31 @@ +--- Makefile.orig 2013-07-12 20:59:10.000000000 +0200 ++++ Makefile 2013-09-12 21:36:58.340976359 +0200 +@@ -27,7 +27,7 @@ + #------------------------------------------------------------------------------- + # global settings + +-#SHELL = /bin/bash ++#SHELL = /usr/local/bin/bash + SHELL = /usr/bin/env bash + + AUTHOR = Dirk Clemens +@@ -99,8 +99,8 @@ + # compiler settings + + PRE ?= +-CC = $(PRE)gcc +-CPP = $(PRE)g++ ++#CC = $(PRE)cc ++#CPP = $(PRE)cpp + STRIP = $(PRE)strip + + #------------------------------------------------------------------------------- +@@ -248,7 +248,7 @@ + + #------------------------------------------------------------------------------- + +-SHARE_PATH = $(INSTALL_PATH)/share/wit ++SHARE_PATH = $(INSTALL_PATH)/share/wiimms + INSTALL_SCRIPTS = install.sh load-titles.sh + RM_FILES += $(INSTALL_SCRIPTS) + SCRIPTS = ./scripts Property changes on: sysutils/wiimms/files/patch-Makefile ___________________________________________________________________ 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 Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: sysutils/wiimms/files/patch-setup.sh =================================================================== --- sysutils/wiimms/files/patch-setup.sh (revision 327103) +++ sysutils/wiimms/files/patch-setup.sh (working copy) @@ -1,5 +1,5 @@ ---- setup.sh.orig 2011-07-08 20:21:46.000000000 +0200 -+++ setup.sh 2011-08-04 01:55:05.000000000 +0200 +--- setup.sh.orig 2013-02-09 21:55:43.000000000 +0100 ++++ setup.sh 2013-09-12 21:34:08.051742488 +0200 @@ -19,8 +19,9 @@ tim=($(date '+%s %Y-%m-%d %T')) @@ -27,5 +27,13 @@ +# FreeBSD didn't support Pre-alloc +defines="$defines -DNO_PREALLOC" - [[ $STATIC = 1 ]] || STATIC=0 + [[ -r /usr/include/linux/fiemap.h ]] \ + && grep -qw fiemap_extent /usr/include/linux/fiemap.h \ +@@ -110,6 +115,6 @@ + ---EOT--- + +-gcc $xflags system.c -o system.tmp && ./system.tmp >>Makefile.setup ++${CC} $xflags system.c -o system.tmp && ./system.tmp >>Makefile.setup + rm -f system.tmp + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309122002.r8CK2xuf085927>