- update to 1.2.9: - Various small fixes that got visible with new compiler versions and/or LLVM. - Fixed URI canonicalization (UTF8) - refreshed patches fsvs-1.2.5-linking.patch, fsvs-destdir.patch OBS-URL: https://build.opensuse.org/request/show/827514 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/fsvs?expand=0&rev=17
53 lines
1.9 KiB
Diff
53 lines
1.9 KiB
Diff
Index: src/fsvs.c
|
|
===================================================================
|
|
--- src/fsvs.c.orig
|
|
+++ src/fsvs.c
|
|
@@ -640,8 +640,7 @@ const char* Version(FILE *output)
|
|
" version " FSVS_VERSION "\n");
|
|
if (opt__is_verbose()>0)
|
|
{
|
|
- fprintf(output, "compiled on " __DATE__ " " __TIME__
|
|
- ", with options:\n\t"
|
|
+ fprintf(output, "compiled on with options:\n\t"
|
|
#ifdef HAVE_VALGRIND
|
|
STRINGIFY(HAVE_VALGRIND)
|
|
#endif
|
|
Index: src/Makefile.in
|
|
===================================================================
|
|
--- src/Makefile.in.orig
|
|
+++ src/Makefile.in
|
|
@@ -16,7 +16,7 @@ HEADREV := "$Revision: 2506 $"
|
|
VERSION = $(shell perl -e '($$r) = (q( $(HEADREV) ) =~ m:(\d+):); $$t= q( $(HEADURL) ) =~ m:/tags/([^/]+): ? $$1 : "trunk"; print "$$t:$$r\n";' )
|
|
|
|
CFLAGS := @CFLAGS@
|
|
-CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations
|
|
+CFLAGS += -Wall -funsigned-char -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations
|
|
LDFLAGS := @LDFLAGS@
|
|
FSVS_LDFLAGS = $(LDFLAGS) -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm -ldl
|
|
EXTRALIBS := @EXTRALIBS@
|
|
@@ -148,13 +148,13 @@ docs: $(MANDEST)/fsvs-howto-backup.5 $(M
|
|
################################ 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) -Wl,--unresolved-symbols=report-all -Wl,-z,noexecstack -o $@ $^ $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS)
|
|
ifeq (@ENABLE_RELEASE@, 1)
|
|
-strip $@
|
|
endif
|
|
@@ -171,7 +171,7 @@ endif
|
|
deps: $(D_FILES)
|
|
.%.d: %.c
|
|
@echo " deps for $<"
|
|
- @$(CC) $(CFLAGS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@
|
|
+ $(CC) $(CFLAGS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@
|
|
include $(D_FILES)
|
|
|
|
tools/fsvs-chrooter: tools/fsvs-chrooter.c
|