summaryrefslogtreecommitdiff
path: root/multimedia/dvb-apps/files/patch-util_dvbdate_dvbdate.c
blob: 60af95b61e3515717019ca814a42ad62530e2f7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- util/dvbdate/dvbdate.c.orig	2014-03-21 19:26:36 UTC
+++ util/dvbdate/dvbdate.c
@@ -309,8 +309,8 @@ int atsc_scan_date(time_t *rx_time, unsi
  */
 int set_time(time_t * new_time)
 {
-	if (stime(new_time)) {
-		perror("Unable to set time");
+	if (1) {
+		perror("Unable to set time. stime(2) not supported on FreeBSD");
 		return -1;
 	}
 	return 0;