Skip to content

Commit

Permalink
multimedia/sms1xxx-kmod: Fix build and mark DEPRECATED
Browse files Browse the repository at this point in the history
- Fix build on 13.0 and -CURRENT to leave the port in good shape
- mark driver DEPRECATED as it supports legacy DVB API v3 only

Users should probably use multimedia/webcamd now.
  • Loading branch information
martymac committed Jul 15, 2021
1 parent dbb0b74 commit 63ac2ce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 5 additions & 3 deletions multimedia/sms1xxx-kmod/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= sms1xxx
PORTVERSION= 20120113
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://contribs.martymac.org/FreeBSD-siano/
PKGNAMESUFFIX= -kmod
Expand All @@ -14,7 +14,11 @@ COMMENT= Native FreeBSD driver for Siano-based USB DVB devices

LICENSE= GPLv2

DEPRECATED= Supports DVB API v3 only. Use multimedia/webcamd instead
EXPIRATION_DATE=2021-09-30

ONLY_FOR_ARCHS= amd64 i386
USES= kmod tar:tgz

WRKSRC= ${WRKDIR}/siano-${PORTVERSION}

Expand All @@ -40,8 +44,6 @@ STELLAR_FW= stellar_dvbt
NOVA_FW= novab0_dvbbda
BUILD_FWS=

USES= kmod tar:tgz

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSTELLAR}
Expand Down
4 changes: 2 additions & 2 deletions multimedia/sms1xxx-kmod/files/patch-8cf5b276
Expand Up @@ -4,7 +4,7 @@ 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.orig 2012-01-13 09:45:26 UTC
+++ sms1xxx-gpio.h
@@ -88,7 +88,7 @@ struct sms1xxx_gpio {
/* Other */
Expand All @@ -15,7 +15,7 @@ Date: Wed Feb 11 09:04:46 2015 +0100
};

int sms1xxx_gpio_get_pin_params(u32, u32 *, u32 *, u32 *);
--- sms1xxx-ir.h.orig
--- sms1xxx-ir.h.orig 2012-01-13 09:45:26 UTC
+++ sms1xxx-ir.h
@@ -37,9 +37,9 @@
/* Board IR configuration */
Expand Down
6 changes: 3 additions & 3 deletions multimedia/sms1xxx-kmod/files/patch-Makefile
@@ -1,6 +1,6 @@
--- Makefile.orig 2013-12-03 06:24:57.000000000 +0100
+++ Makefile 2013-12-03 06:25:48.000000000 +0100
@@ -26,8 +26,8 @@
--- Makefile.orig 2012-01-13 08:51:27 UTC
+++ Makefile
@@ -26,8 +26,8 @@ installkld:
${MAKE} -f Makefile.kld install

installman:
Expand Down
4 changes: 2 additions & 2 deletions multimedia/sms1xxx-kmod/files/patch-firmwares-Makefile
@@ -1,5 +1,5 @@
--- firmwares/Makefile.orig 2010-02-12 07:09:22.519462110 +0000
+++ firmwares/Makefile 2010-02-12 07:17:10.216239773 +0000
--- firmwares/Makefile.orig 2012-01-13 08:51:31 UTC
+++ firmwares/Makefile
@@ -1,8 +1,3 @@
-SUBDIR= stellar_dabtdmb \
- stellar_dvbh \
Expand Down

0 comments on commit 63ac2ce

Please sign in to comment.