Projects
Multimedia
subtitleripper
subtitleripper-gcc44.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File subtitleripper-gcc44.patch of Package subtitleripper
diff -ur subtitleripper.orig/Makefile subtitleripper/Makefile --- subtitleripper.orig/Makefile 2003-12-08 10:28:02.000000000 +0100 +++ subtitleripper/Makefile 2009-09-23 13:19:27.000000000 +0200 @@ -4,7 +4,7 @@ # use always: DEFINES := -LIBS := -lm +LIBS := -g -lm INCLUDES := ### enable ppm support ### @@ -19,7 +19,7 @@ DEFINES += -D_HAVE_ZLIB_ LIBS += -lz -CC = gcc +CC = gcc -std=gnu99 $(RPM_OPT_FLAGS) WARN = -Wall -Wstrict-prototypes COPT = -g -O2 @@ -70,19 +70,19 @@ # Target subtitle2pgm: subtitle2pgm.o spudec.o @echo "Linking $@" - @$(CC) $(LIBS) $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) subtitle2vobsub: subtitle2vobsub.o vobsub.o @echo "Linking $@" - @$(CC) $(LIBS) $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) srttool: srttool.o @echo "Linking $@" - @$(CC) $(LIBS) -g $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o @echo "Linking $@" - @$(CC) $(LIBS) -g $^ -o $@ + @$(CC) $^ -o $@ $(LIBS) .PHONY: clean dist rpm clean: diff -ur subtitleripper.orig/vobsub.c subtitleripper/vobsub.c --- subtitleripper.orig/vobsub.c 2003-12-08 10:28:02.000000000 +0100 +++ subtitleripper/vobsub.c 2009-09-23 12:55:39.000000000 +0200 @@ -50,6 +50,8 @@ extern int verbose; +#define HAVE_GETLINE 1 + #ifdef HAVE_GETLINE extern ssize_t getline(char **, size_t *, FILE *); #else
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
.