From a93e7f4a43e7814cf3274e307c759b2989308457 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 20 Aug 2009 20:17:24 +0000 Subject: main/xdelta3: new aport A diff utility which works with binary files http://xdelta.org/ --- main/xdelta3/xdelta3-makefile.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 main/xdelta3/xdelta3-makefile.patch (limited to 'main/xdelta3/xdelta3-makefile.patch') diff --git a/main/xdelta3/xdelta3-makefile.patch b/main/xdelta3/xdelta3-makefile.patch new file mode 100644 index 0000000000..f7fc6a657d --- /dev/null +++ b/main/xdelta3/xdelta3-makefile.patch @@ -0,0 +1,33 @@ +diff -Naur xdelta3.0v-old/Makefile xdelta3.0v/Makefile +--- xdelta3.0v-old/Makefile 2009-03-12 01:44:51.000000000 +0000 ++++ xdelta3.0v/Makefile 2009-03-14 17:02:33.000000000 +0000 +@@ -4,7 +4,7 @@ + UNAME = $(shell uname) + CYGWIN = $(findstring CYGWIN, $(UNAME)) + DARWIN = $(findstring Darwin, $(UNAME)) +-PYVER = 2.5 ++PYVER = 2.6 + + ifeq ("$(CYGWIN)", "") + SWIGTGT = xdelta3module.so +@@ -200,6 +200,9 @@ + xdelta3.o: $(SOURCES) + $(CC) -O3 $(CFLAGS) -c xdelta3.c $(SWIG_FLAGS) -o xdelta3.o + ++xdelta3_PIC.o: $(SOURCES) ++ $(CC) -O3 $(CFLAGS) -fPIC -c xdelta3.c $(SWIG_FLAGS) -o xdelta3_PIC.o ++ + xdelta3_wrap.o: xdelta3_wrap.c + $(CC) -O3 $(CFLAGS) $(SWIG_FLAGS) \ + -DHAVE_CONFIG_H \ +@@ -218,8 +221,8 @@ + cp $(SWIGTGT) /usr/lib/python$(PYVER)/site-packages + + ifeq ("$(DARWIN)", "") +-xdelta3module.so: xdelta3_wrap.o xdelta3.o +- ld -shared xdelta3.o xdelta3_wrap.o \ ++xdelta3module.so: xdelta3_wrap.o xdelta3_PIC.o ++ cc -shared xdelta3_PIC.o xdelta3_wrap.o \ + -o xdelta3module.so \ + /usr/lib/libpython$(PYVER).so \ + -lc -- cgit v1.2.3