From 0c764edfecb7e9e124d4669acd98bed09e23b6c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Aug 2022 03:14:33 +0100 Subject: gentoo auto-resync : 01:08:2022 - 03:14:32 --- .../birthday/files/birthday-1.6.2-makefile.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-misc/birthday/files/birthday-1.6.2-makefile.patch (limited to 'app-misc/birthday/files/birthday-1.6.2-makefile.patch') diff --git a/app-misc/birthday/files/birthday-1.6.2-makefile.patch b/app-misc/birthday/files/birthday-1.6.2-makefile.patch new file mode 100644 index 000000000000..f48102d929b7 --- /dev/null +++ b/app-misc/birthday/files/birthday-1.6.2-makefile.patch @@ -0,0 +1,44 @@ +--- a/Makefile ++++ b/Makefile +@@ -12,7 +12,7 @@ + else + OSCFLAGS=-Wall -Wstrict-prototypes + endif +-CFLAGS=-O2 $(DEBUG) -D$(OS) $(OSCFLAGS) ++CFLAGS += $(DEBUG) -D$(OS) $(OSCFLAGS) + + # engine + ENGSRC=bdengine.c xmalloc.c +@@ -48,16 +48,15 @@ + + else + birthday: $(CMDOBJ) +- $(CC) $(LDFLAGS) $(CMDOBJ) -o $@ ++ $(CC) $(LDFLAGS) $(CMDOBJ) -o $@ $(LIBS) + + # you can override this to use the new FHS locations. +-SHARE= +-#SHARE=/share ++SHARE=/share + + install: birthday birthday.man +- install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr$(SHARE)/man/man1 +- install -s birthday $(DESTDIR)/usr/bin/birthday +- install -m 0644 birthday.man $(DESTDIR)/usr$(SHARE)/man/man1/birthday.1 ++ install -d $(DESTDIR)$(EPREFIX)/usr/bin $(DESTDIR)$(EPREFIX)/usr$(SHARE)/man/man1 ++ install birthday $(DESTDIR)$(EPREFIX)/usr/bin/birthday ++ install -m 0644 birthday.man $(DESTDIR)$(EPREFIX)/usr$(SHARE)/man/man1/birthday.1 + + test: birthday + sh runtest.sh -exec `pwd`/birthday test/*.t +--- a/runtest.sh ++++ b/runtest.sh +@@ -7,7 +7,7 @@ + unset PASSED FAILED TAKEN KEEP + + extract_section() { +- sed -ne "/^\\*$1/,/^\\*/p" "$2" | grep -v '^*' ++ sed -ne "/^\\*$1/,/^\\*/p" "$2" | grep --binary-files=text -v '^*' + } + + runtest() { -- cgit v1.2.3