Projects
Multimedia
vdr-plugin-mcli
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
vdr-plugin-mcli.spec
Changed
@@ -38,6 +38,8 @@ Source1: sysconfig.vdr-mcli Patch0: vdr-mcli-Makefile.diff Patch1: vdr-mcli_device.patch +Patch2: vdr-mcli.abs.patch +Patch3: vdr-mcli.buffersize.patch BuildRequires: gcc-c++ BuildRequires: libxml2-devel BuildRequires: pkg-config @@ -77,9 +79,9 @@ %prep %setup -q -n %{plugindir} %patch0 -%if 0%{?suse_version} > 1310 %patch1 -p1 -%endif +%patch2 -p1 +%patch3 -p1 # Fix file-contains-date-and-time DateTime=$(date --date "`stat --format %y %{_sourcedir}/%{name}.changes`" +"%b %d %H:%M %Y")
View file
vdr-mcli.abs.patch
Added
@@ -0,0 +1,22 @@ +Index: vdr-mcli-plugin/device.c +=================================================================== +--- vdr-mcli-plugin.orig/device.c ++++ vdr-mcli-plugin/device.c +@@ -562,7 +562,7 @@ bool cMcliDevice::SetChannelDevice (cons + case FE_DVBS2: + case FE_QPSK:{ // DVB-S + +- unsigned int frequency = Channel->Frequency (); ++ int frequency = Channel->Frequency (); + + #if VDRVERSNUM < 10714 + fe_sec_voltage_t volt = (Channel->Polarization () == 'v' || Channel->Polarization () == 'V' || Channel->Polarization () == 'r' || Channel->Polarization () == 'R') ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18; +@@ -570,7 +570,7 @@ bool cMcliDevice::SetChannelDevice (cons + fe_sec_voltage_t volt = (dtp.Polarization () == 'v' || dtp.Polarization () == 'V' || dtp.Polarization () == 'r' || dtp.Polarization () == 'R') ? SEC_VOLTAGE_13 : SEC_VOLTAGE_18; + #endif + m_sec.voltage = volt; +- frequency =::abs (frequency); // Allow for C-band, where the frequency is less than the LOF ++ frequency =std::abs (frequency); // Allow for C-band, where the frequency is less than the LOF + m_fep.frequency = frequency * 1000UL; + #if VDRVERSNUM < 10714 + m_fep.inversion = fe_spectral_inversion_t (Channel->Inversion ());
View file
vdr-mcli.buffersize.patch
Added
@@ -0,0 +1,16 @@ +Index: vdr-mcli-plugin/cam_menu.c +=================================================================== +--- vdr-mcli-plugin.orig/cam_menu.c ++++ vdr-mcli-plugin/cam_menu.c +@@ -401,9 +401,9 @@ int cCamMenu::CamFind () + for (n = 0; n < nc_list->nci_num; n++) { + netceiver_info_t *nci = nc_list->nci + n; + //printf ("\nFound NetCeiver: %s \n", nci->uuid); +- char buf[128]; ++ char buf[UUID_SIZE + 16]; + Add (new cOsdItem ("Netceiver", osUnknown, false)); +- snprintf (buf, 128, " %s: %s", "ID", nci->uuid); ++ snprintf (buf, sizeof(buf) - 1, " %s: %s", "ID", nci->uuid); + Add (new cOsdItem (buf, osUnknown, false)); + Add (new cOsdItem ("", osUnknown, false)); + printf (" CAMS [%d]: \n", nci->cam_num);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.