diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /media-sound/rawrec/files | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'media-sound/rawrec/files')
-rw-r--r-- | media-sound/rawrec/files/rawrec-0.9.991-fix-build-system.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-sound/rawrec/files/rawrec-0.9.991-fix-build-system.patch b/media-sound/rawrec/files/rawrec-0.9.991-fix-build-system.patch new file mode 100644 index 000000000000..bef125094f13 --- /dev/null +++ b/media-sound/rawrec/files/rawrec-0.9.991-fix-build-system.patch @@ -0,0 +1,24 @@ +--- a/Makefile ++++ b/Makefile +@@ -6,19 +6,15 @@ + HEADERS = $(wildcard *.h) + OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) + +-CC = gcc + WARNFLAGS = -Wall -W -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes +-DEBUGFLAGS = -O0 -g +-OPTFLAGS = -O2 + + # Uncomment this to try to use untested priority ceiling/inheritance + # code (if system supports it). + #FANCY_THREAD_DEFINES = -DUSE_FANCY_PRIORITY_CODE + + # FIXME: USEBUFFLOCK appears to be historic, and should probably go some day. +-CFLAGS = $(WARNFLAGS) $(OPTFLAGS) $(DEBUGFLAGS) -DUSEBUFFLOCK \ +- $(FANCY_THREAD_DEFINES) -D_REENTRANT -D_GNU_SOURCE \ +- -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE ++CFLAGS += $(WARNFLAGS) ++CPPFLAGS += -DUSEBUFFLOCK -D_REENTRANT -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + LIBS = -lm -lpthread + + # The GNU way is just too painful. I'm not writing three tiers of |