summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-zupdate.patch
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:30:48 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:30:48 +0000
commit1764d9dc3ded76464e2a82f680d7accd622b9264 (patch)
tree6138de0570464de71872e14f4d04f1217ad027d8 /debian/patches/0002-zupdate.patch
parentMerging upstream version 1.2~pre3. (diff)
downloadzutils-1764d9dc3ded76464e2a82f680d7accd622b9264.tar.xz
zutils-1764d9dc3ded76464e2a82f680d7accd622b9264.zip
Adding debian version 1.2~pre3-1.debian/1.2_pre3-1
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'debian/patches/0002-zupdate.patch')
-rw-r--r--debian/patches/0002-zupdate.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/0002-zupdate.patch b/debian/patches/0002-zupdate.patch
index 93e179f..d77c97c 100644
--- a/debian/patches/0002-zupdate.patch
+++ b/debian/patches/0002-zupdate.patch
@@ -4,12 +4,12 @@ Description: Avoid linking zupdate statically.
diff -Naurp zutils.orig/Makefile.in zutils/Makefile.in
--- zutils.orig/Makefile.in
+++ zutils/Makefile.in
-@@ -53,7 +53,7 @@ ztest : ztest.in
- chmod a+x ztest
+@@ -49,7 +49,7 @@ ztest : $(ztest_objs)
+ $(CXX) $(LDFLAGS) -o $@ $(ztest_objs)
zupdate : $(zupdate_objs)
- $(CXX) $(LDFLAGS) -o $@ $(zupdate_objs)
+ $(CXX) -o $@ $(zupdate_objs)
- main.o : main.cc
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DGREP=\"$(GREP)\" -c -o $@ $<
+ rc.o : rc.cc
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DPROGVERSION=\"$(pkgversion)\" -DSYSCONFDIR=\"$(sysconfdir)\" -c -o $@ $<