git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/3] contrib/svn-fe: Fix IncludePath

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jul 29, 2010, 05:36 UTC
Message-ID
<1280381780-6265-3-git-send-email-artagnon@gmail.com>
In-Reply-To
<1280381780-6265-1-git-send-email-artagnon@gmail.com>

Include the path "../../vcs-svn" while compiling it in the Makefile and change svn-fe.c to include svndump.h.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 contrib/svn-fe/Makefile |    2 +-
 contrib/svn-fe/svn-fe.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/svn-fe/Makefile b/contrib/svn-fe/Makefile
index 4cc8d15..360d8da 100644
--- a/contrib/svn-fe/Makefile
+++ b/contrib/svn-fe/Makefile
@@ -38,7 +38,7 @@ svn-fe$X: svn-fe.o $(VCSSVN_LIB) $(GIT_LIB)
 		$(ALL_LDFLAGS) $(LIBS)
 
 svn-fe.o: svn-fe.c ../../vcs-svn/svndump.h
-	$(QUIET_CC)$(CC) -o $*.o -c $(ALL_CFLAGS) $<
+	$(QUIET_CC)$(CC) -I../../vcs-svn -o $*.o -c $(ALL_CFLAGS) $<
 
 svn-fe.html: svn-fe.txt
 	$(QUIET_SUBDIR0)../../Documentation $(QUIET_SUBDIR1) \
diff --git a/contrib/svn-fe/svn-fe.c b/contrib/svn-fe/svn-fe.c
index 43c4320..e9b9ba4 100644
--- a/contrib/svn-fe/svn-fe.c
+++ b/contrib/svn-fe/svn-fe.c
@@ -4,7 +4,7 @@
  */
 
 #include <stdlib.h>
-#include "vcs-svn/svndump.h"
+#include "svndump.h"
 
 int main(int argc, char **argv)
 {
-- 
1.7.1
Previous: Ramkumar RamachandraNext: Ramkumar Ramachandra
Message 3 of 4 in “svn-fe fixes”
  1. 0/3 svn-fe fixesRamkumar Ramachandra, Jul 29, 2010
  2. 1/3 vcs-svn: Remove stray calls to removed functionsRamkumar Ramachandra, Jul 29, 2010
  3. 2/3 contrib/svn-fe: Fix IncludePathRamkumar Ramachandra, Jul 29, 2010
  4. 3/3 contrib/svn-fe: Add the svn-fe target to .gitignoreRamkumar Ramachandra, Jul 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.