summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Dryabzhinsky <sergey.dryabzhinsky@gmail.com>2009-04-12 14:17:29 +0000
committerSergey Dryabzhinsky <sergey.dryabzhinsky@gmail.com>2009-04-12 14:17:29 +0000
commit081ed294887afaacf80de24f6f4e1532bdc8974c (patch)
tree8a60106b652babde997f9ca71874c0f9138974c6 /net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch
parentsys-fs/aufs: Remove \n (diff)
downloadsunrise-081ed294887afaacf80de24f6f4e1532bdc8974c.tar.gz
sunrise-081ed294887afaacf80de24f6f4e1532bdc8974c.tar.bz2
sunrise-081ed294887afaacf80de24f6f4e1532bdc8974c.zip
Ebuild for bug 265840. Thanks to pva and Tommy.
svn path=/sunrise/; revision=8276
Diffstat (limited to 'net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch')
-rw-r--r--net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch b/net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch
new file mode 100644
index 000000000..2502fd92b
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-0.3.8-respect-portage-qa-build-unstripped.patch
@@ -0,0 +1,36 @@
+diff -urNd apt-cacher-ng-0.3.8.orig/Makefile apt-cacher-ng-0.3.8/Makefile
+--- apt-cacher-ng-0.3.8.orig/Makefile 2009-04-11 13:25:45.000000000 +0400
++++ apt-cacher-ng-0.3.8/Makefile 2009-04-11 13:27:53.000000000 +0400
+@@ -47,12 +47,12 @@
+ # small build, even replacing libstdc++ with supc++ and gcc linking
+ in.acng: $(OBJSIN)
+ $(CC) -o $@ $(OBJSIN) -lsupc++ -Wl,--as-needed
+- strip $@
++# strip $@
+
+ apt-cacher-ng: $(OBJS)
+ $(CXX) -o $@ $(OBJS) -lpthread $(LDFLAGS) -lz -lbz2
+ @-test -d ../unstripped && cp $@ ../unstripped/$@.$$(dpkg-parsechangelog |grep ^Version: | cut -f2 -d' ') || true
+- strip $@
++# strip $@
+
+ else
+
+@@ -60,7 +60,7 @@
+
+ in.acng: $(OBJSIN) $(OBJS)
+ $(CXX) -o $@ acbuf.o client.o acfg.o filereader.o meta.o md5.o sha1.o aclogger.o -lz -lbz2 -Wl,--as-needed
+- strip $@
++# strip $@
+
+ apt-cacher-ng: $(OBJS)
+ $(CXX) -o $@ $(OBJS) -lpthread $(LDFLAGS) -lz -lbz2
+@@ -69,7 +69,7 @@
+ acngfs: $(OBJSFS)
+ $(CXX) -o acngfs $(OBJSFS) -Wl,--as-needed `pkg-config fuse --libs`
+ @-test -d ../unstripped && cp $@ ../unstripped/$@.$$(dpkg-parsechangelog |grep ^Version: | cut -f2 -d' ') || true
+- strip $@
++# strip $@
+
+ doc: doc/src/README.but doc/src/manpage.but doc/src/acngfs.but
+ mkdir -p doc/.build doc/html doc/man