summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-13 14:20:46 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-13 14:20:46 +0100
commit2f5ff6aee0647703cc08d45c9d570beacd30b1ea (patch)
tree37cde20e1c55d99d3a6ed10ff0c184fd8bed1fa2 /media-video/subtitler-yuv/files
parentmedia-video/atomicparsley: Port to EAPI 7 (diff)
downloadgentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.tar.gz
gentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.tar.bz2
gentoo-2f5ff6aee0647703cc08d45c9d570beacd30b1ea.zip
media-video/subtitler-yuv: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video/subtitler-yuv/files')
-rw-r--r--media-video/subtitler-yuv/files/subtitler-yuv-0.6.5-fix-build-system.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/media-video/subtitler-yuv/files/subtitler-yuv-0.6.5-fix-build-system.patch b/media-video/subtitler-yuv/files/subtitler-yuv-0.6.5-fix-build-system.patch
new file mode 100644
index 000000000000..da5ec86e40b3
--- /dev/null
+++ b/media-video/subtitler-yuv/files/subtitler-yuv-0.6.5-fix-build-system.patch
@@ -0,0 +1,55 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,28 +1,7 @@
+ #need -O2 for io in beep.c
+-CFLAGS = -O2 -Wall
+-
+-#CC = gcc
+-#CC=/usr/local/bin/gcc
+-
+-SRC1 = \
+-subtitler-yuv.c \
+-color_processor.c \
+-frame_list.c \
+-load_font.c \
+-load_pictures.c \
+-load_ppml_file.c \
+-object_list.c \
+-parser.c \
+-text_processing.c \
+-external_programs.c \
+-x11.c
+-
+-SRC2 = \
+-process_wave.c
+-
++CFLAGS += -Wall
+
+ OBJECT1 = \
+-subtitler-yuv.o \
+ color_processor.o \
+ frame_list.o \
+ load_font.o \
+@@ -34,20 +13,11 @@
+ external_programs.o \
+ x11.o
+
+-OBJECT2 = \
+-process_wave.o
+-
+-LIBRARY1 = -lm -lXt -lXpm -lXaw
+-LIBRARY2 =
++LDLIBS = -lm -lXt -lX11 -lXaw
+
+ #$(XLIB) $(XAWLIB) $(XTOOLLIB) $(XLIB)
+
+-all:
+- gcc $(CFLAGS) -c $(SRC1)
+- gcc $(CFLAGS) -c $(SRC2)
+-
+- gcc -o subtitler-yuv -L/usr/X11R6/lib/ $(OBJECT1) $(LIBRARY1)
+- gcc -o process_wave -L/usr/X11R6/lib/ $(OBJECT2) $(LIBRARY2)
++subtitler-yuv: $(OBJECT1)
+
+ # DEPENDENCIES
+