[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-buildservice
Subject: [opensuse-buildservice] Re: Debian package fails to build because of different line endings in patch
From: Timotheus Pokorra <timotheus () pokorra ! de>
Date: 2015-06-04 8:42:16
Message-ID: CAJ0=nQeV=e39FzLvdtWaWHbeQQF1i7Rtev7ELeRHw4ieK_YdeQ () mail ! gmail ! com
[Download RAW message or body]
Hello,
> Is there something similar for Debian? Some step in debian.rules
> before applying the patches?
I think I found a solution that works for me.
In debian.rules, in the build-stamp section:
# fix line ending differences first before applying the patches manually
dos2unix src/addins/AspNet/Properties/MonoDevelop.AspNet.addin.xml
patch -p1 < ../SOURCES/downgrade_to_mvc3.patch
I guess it is not completely clean, but works reliably on OBS.
Timotheus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic