Projects
Multimedia
lxdvdrip
lxdvdrip.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lxdvdrip.patch of Package lxdvdrip
--- dvdbackup.c | 1 + mbuffer/Makefile | 4 ++-- mbuffer/mbuffer.c | 6 +++--- requant/Makefile | 2 +- systools.c | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) --- a/dvdbackup.c +++ b/dvdbackup.c @@ -40,6 +40,7 @@ COMMENTAIRE : #include "ac.h" #include "dvdcell.h" #include "dvdbackup.h" +#include "dvdcopy.h" #include "mpeg2dec.h" #include "badsect.h" #include "vapcontext.h" --- a/mbuffer/Makefile +++ b/mbuffer/Makefile @@ -9,9 +9,9 @@ all: buffer buffer: log.c mbuffer.c network.c if test -f log.o; then rm *.o; fi - gcc -g -O2 -c log.c -Wno-unused-result + gcc -g -O2 -c log.c gcc -g -O2 -c mbuffer.c -w - gcc -g -O2 -c network.c -Wno-unused-result + gcc -g -O2 -c network.c gcc -pthread -O2 -g -o mbuffer_lxdvdrip *o -lrt -lm if test -f log.o; then rm *.o; fi --- a/mbuffer/mbuffer.c +++ b/mbuffer/mbuffer.c @@ -1581,7 +1581,7 @@ int main(int argc, const char **argv) unsigned short netPortOut = 0; char *argv0 = strdup(argv[0]), *progname, null; const char *outfile = 0; - struct sigaction sig; + struct sigaction sig = {}; dest_t *dest = 0; #if defined(_SC_AVPHYS_PAGES) && defined(_SC_PAGESIZE) && !defined(__CYGWIN__) long pgsz, nump; @@ -2042,8 +2042,8 @@ int main(int argc, const char **argv) } debugmsg("checking if we have a controlling terminal...\n"); - sig.sa_sigaction = SIG_IGN; - err = sigaction(SIGTTIN,&sig,0); + sig.sa_handler = SIG_IGN; + err = sigaction(SIGTTIN,&sig,NULL); assert(err == 0); fl = fcntl(STDERR_FILENO,F_GETFL); err = fcntl(STDERR_FILENO,F_SETFL,fl | O_NONBLOCK); --- a/requant/Makefile +++ b/requant/Makefile @@ -7,7 +7,7 @@ PREFIX ?= /usr/local CC = gcc CFLAGS ?= -O2 -g -D_LARGEFILE_SOURCE -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_REENTRANT -CFLAGS += -Wall -Wno-unused-result +CFLAGS += -Wall LDFLAGS += -s LOADLIBES += -lm --- a/systools.c +++ b/systools.c @@ -20,9 +20,9 @@ COMMENTAIRE : #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> +#include <sys/ioctl.h> #if defined(__sun) # include <sys/statvfs.h> -# include <sys/ioctl.h> #else # include <sys/statfs.h> #endif
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
.