diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-24 23:59:54 +0000 |
commit | 401101f9c8077911929d3f2b60a37098460a5d89 (patch) | |
tree | c2bef4719f6787550f0916aeaa8f4f403a9296af /media-sound/dagrab/files/dagrab-0.513-build.patch | |
parent | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff) |
gentoo resync : 25.03.2022
Diffstat (limited to 'media-sound/dagrab/files/dagrab-0.513-build.patch')
-rw-r--r-- | media-sound/dagrab/files/dagrab-0.513-build.patch | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/media-sound/dagrab/files/dagrab-0.513-build.patch b/media-sound/dagrab/files/dagrab-0.513-build.patch index 43408d56b374..1c85aecd0986 100644 --- a/media-sound/dagrab/files/dagrab-0.513-build.patch +++ b/media-sound/dagrab/files/dagrab-0.513-build.patch @@ -1,5 +1,5 @@ ---- dagrab-S0.513/dagrab.c -+++ dagrab-S0.513/dagrab.c +--- a/dagrab.c ++++ b/dagrab.c @@ -776,6 +776,7 @@ thread_save(NULL); #endif @@ -8,8 +8,8 @@ } /**************************************************************** * Close output file * ---- dagrab-S0.513/jit_in.c -+++ dagrab-S0.513/jit_in.c +--- a/jit_in.c ++++ b/jit_in.c @@ -74,5 +74,6 @@ *p = (*(p + SSIZE) + *(p - SSIZE)) / 2; view_status(ID_JITTER, NULL); @@ -17,9 +17,9 @@ + ; } } ---- dagrab-S0.513/Makefile -+++ dagrab-S0.513/Makefile -@@ -3,14 +3,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -3,23 +3,15 @@ # Note: PTHREAD support is optional, you can comment it out ################################################################################ @@ -31,20 +31,26 @@ -ifneq ($(wildcard /usr/include/linux/ucdrom.h),) - CFLAGS +=-DUSE_UCDROM -endif -+CC ?= gcc -+CFLAGS ?= -O +CFLAGS += -W -Wall -DPTHREAD -+LDFLAGS ?= -O +LIBS = -lpthread all: dagrab -@@ -28,7 +26,7 @@ + SOURCES=cddb.c dagrab.c jitter.c jit_in.c print.c err.c + OBJ= $(SOURCES:.c=.o) + +-%.o: %.c +- $(CC) $(CFLAGS) -c $< -o $@ +- + cddb.o: main.h const.h version.h dagrab.h + dagrab.o: main.h const.h jit_in.h jitter.h cddb.h print.h err.c Makefile + jitter.o: main.h dagrab.h print.h const.h +@@ -28,7 +20,7 @@ err.o: dagrab.h main.h dagrab: $(OBJ) Makefile - $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o dagrab -+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o dagrab ++ $(CC) $(CFLAGS) $(LDFLAGS) -o dagrab $(OBJ) $(LIBS) clean: rm -f dagrab *.o *.wav *.mp[23] *.ogg .*swp *~ gmon.out tags |