diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/fsvs/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/fsvs/files')
-rw-r--r-- | app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch b/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch new file mode 100644 index 000000000000..f06070f4beee --- /dev/null +++ b/app-admin/fsvs/files/fsvs-1.2.5-as-needed.patch @@ -0,0 +1,31 @@ +Fixes --as-needed support(bug #294834) +Verbose build +Fixes underlinking(bug #463684) - patch went upstream + +--- fsvs-1.2.5/src/Makefile.in.orig 2011-11-11 22:19:12.000000000 +0400 ++++ fsvs-1.2.5/src/Makefile.in 2013-08-19 13:30:16.186082295 +0400 +@@ -18,7 +18,7 @@ + CFLAGS := @CFLAGS@ @NEED_FNESTED_FUNCTIONS@ + CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"' + LDFLAGS := @LDFLAGS@ +-FSVS_LDFLAGS = $(LDFLAGS) -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm ++FSVS_LIBS = -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm -ldl + EXTRALIBS := @EXTRALIBS@ + WAA_CHARS?= @WAA_WC_MD5_CHARS@ + +@@ -146,13 +146,13 @@ + ################################ Rules ###################################### + %.o: %.c + @echo " CC $<" +- @$(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + # if the Makefile has changed, the output will (at least sometimes) + # change, too. + $(DEST): $(C_FILES:%.c=%.o) + @echo " Link $@" +- @$(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS) -o $@ $^ ++ $(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(LIBS) $(FSVS_LIBS) $(EXTRALIBS) + ifeq (@ENABLE_RELEASE@, 1) + -strip $@ + endif |