Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/aur-packages/dump $ cat restore-rmdir.patch
- --- restore/restore.c 2015-01-19 10:50:21.629933524 +1100
- +++ restore/restore.c 2015-01-19 10:51:09.219934850 +1100
- @@ -593,7 +593,7 @@
- if (np->e_type == LEAF) {
- removeleaf(np);
- freeentry(np);
- - } else {
- + } else if (np->e_ino != 0) {
- np->e_flags |= TMPNAME;
- deleteino(np->e_ino);
- np->e_next = removelist;
- ~/aur-packages/dump $ makepkg
- ==> Making package: dump 0.4b44-3 (Mon Jan 19 11:00:06 AEDT 2015)
- ==> Checking runtime dependencies...
- ==> Checking buildtime dependencies...
- ==> Retrieving sources...
- -> Found dump-0.4b44.tar.gz
- -> Found dump-buildfix.patch
- -> Found autoreconf.patch
- -> Found restore-rmdir.patch
- ==> Validating source files with md5sums...
- dump-0.4b44.tar.gz ... Passed
- dump-buildfix.patch ... Passed
- autoreconf.patch ... Passed
- restore-rmdir.patch ... Passed
- ==> Extracting sources...
- -> Extracting dump-0.4b44.tar.gz with bsdtar
- ==> Removing existing $pkgdir/ directory...
- ==> Starting build()...
- can't find file to patch at input line 3
- Perhaps you should have used the -p or --strip option?
- The text leading up to this was:
- --------------------------
- |--- restore/restore.c 2015-01-19 10:50:21.629933524 +1100
- |+++ restore/restore.c 2015-01-19 10:51:09.219934850 +1100
- --------------------------
- File to patch:
Add Comment
Please, Sign In to add comment