[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (un)patching patched files



Hi,

Has this been reported as a bug yet?

The only thing I found to work is:

pre_unpatch:
        [ -f orig.c ] || mv new.c orig.c
        ...

override_dh_clean: pre_unpatch
        dh_clean

# This forces the rename right before dpkg-source --after-build
override_dh_builddeb: pre_unpatch
        dh_builddeb

Best,
Jasmine


Reply to: