From owner-svn-ports-head@freebsd.org Wed Jun 15 20:41:43 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3307A476BC; Wed, 15 Jun 2016 20:41:43 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F3101C86; Wed, 15 Jun 2016 20:41:43 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5FKfgVx002393; Wed, 15 Jun 2016 20:41:42 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5FKfg5p002391; Wed, 15 Jun 2016 20:41:42 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201606152041.u5FKfg5p002391@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Wed, 15 Jun 2016 20:41:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416936 - in head/multimedia/sms1xxx-kmod: . 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.22 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: Wed, 15 Jun 2016 20:41:43 -0000 Author: martymac Date: Wed Jun 15 20:41:42 2016 New Revision: 416936 URL: https://svnweb.freebsd.org/changeset/ports/416936 Log: Fix build [1] and remove obsolete distfiles instructions Reported by: Daniel Farfán Muñoz [1] Added: head/multimedia/sms1xxx-kmod/files/patch-8cf5b276 (contents, props changed) Modified: head/multimedia/sms1xxx-kmod/Makefile Modified: head/multimedia/sms1xxx-kmod/Makefile ============================================================================== --- head/multimedia/sms1xxx-kmod/Makefile Wed Jun 15 19:55:25 2016 (r416935) +++ head/multimedia/sms1xxx-kmod/Makefile Wed Jun 15 20:41:42 2016 (r416936) @@ -3,7 +3,7 @@ PORTNAME= sms1xxx PORTVERSION= 20120113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://contribs.martymac.org/FreeBSD-siano/ PKGNAMESUFFIX= -kmod @@ -54,12 +54,7 @@ DISTFILE_INSTRUCTIONS=\n\ .endif DISTFILE_INSTRUCTIONS+= \ \n- Please, get the appropriate firmware for your Stellar device\n\ - and copy the file to '${DISTDIR}/${DIST_SUBDIR}/${STELLAR_FW}.fw'\n\ - e.g. :\n\ - wget 'ftp://ftp.terratec.net/Receiver/Cinergy_Piranha/Update/Cinergy_Piranha_Drv_Vista_XP_3.09.02.00.exe'\n\ - unzip -j 'Cinergy_Piranha_Drv_Vista_XP_3.09.02.00.exe' \\\\\n\ - \t'Cinergy Piranha/BDA Driver 3.09.02.00/Windos XP (32Bit)/SMS100x_Dvbt.inp'\n\ - mv 'SMS100x_Dvbt.inp' '${DISTDIR}/${DIST_SUBDIR}/${STELLAR_FW}.fw'\n + and copy the file to '${DISTDIR}/${DIST_SUBDIR}/${STELLAR_FW}.fw'\n .endif .endif @@ -72,12 +67,7 @@ DISTFILE_INSTRUCTIONS=\n\ .endif DISTFILE_INSTRUCTIONS+= \ \n- Please, get the appropriate firmware for your Nova device\n\ - and copy the file to '${DISTDIR}/${DIST_SUBDIR}/${NOVA_FW}.fw'\n\ - e.g. :\n\ - wget 'http://www.wintvcd.co.uk/drivers/WinTV-MiniStick_4_2_26_28027_WHQL.zip'\n\ - unzip -j 'WinTV-MiniStick_4_2_26_28027_WHQL.zip' \\\\\n\ - \t'driver17/hcw17dvb.1b0'\n\ - mv 'hcw17dvb.1b0' '${DISTDIR}/${DIST_SUBDIR}/${NOVA_FW}.fw'\n + and copy the file to '${DISTDIR}/${DIST_SUBDIR}/${NOVA_FW}.fw'\n .endif .endif Added: head/multimedia/sms1xxx-kmod/files/patch-8cf5b276 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/sms1xxx-kmod/files/patch-8cf5b276 Wed Jun 15 20:41:42 2016 (r416936) @@ -0,0 +1,31 @@ +commit 8cf5b276a25047ed9cef710f73c59e0f63d7f337 +Author: Ganael Laplanche +Date: Wed Feb 11 09:04:46 2015 +0100 + + Use int instead of u8 for variables handled through SYSCTL_ADD_INT + +--- sms1xxx-gpio.h.orig ++++ sms1xxx-gpio.h +@@ -88,7 +88,7 @@ struct sms1xxx_gpio { + /* Other */ + u32 get_res; /* last GET result */ + int status_led_state; /* current status led state */ +- u8 use_lna; /* sysctl, use LNA when tuning ? */ ++ int use_lna; /* sysctl, use LNA when tuning ? */ + }; + + int sms1xxx_gpio_get_pin_params(u32, u32 *, u32 *, u32 *); +--- sms1xxx-ir.h.orig ++++ sms1xxx-ir.h +@@ -37,9 +37,9 @@ + /* Board IR configuration */ + struct sms1xxx_ir { + /* IR module state */ +- u8 module_avail; /* Has board an IR module ? ++ int module_avail; /* Has board an IR module ? + XXX Should be based on GPIO cfg ? */ +- u8 module_started; /* Is IR module started ? */ ++ int module_started; /* Is IR module started ? */ + struct cdev *dev; /* ir0 device */ + + /* MSG_SMS_START_IR_REQ Msg parameters */