Created
May 27, 2018 10:27
-
-
Save xabbu/8456f4e90088e04fd1e893163ca1aecb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- xsane/PKGBUILD 2017-11-15 15:11:34.000000000 +0100 | |
+++ xsane-new/PKGBUILD 2018-05-27 12:20:22.679401128 +0200 | |
@@ -11,15 +11,19 @@ | |
license=('GPL2') | |
makedepends=('gtk2' 'lcms' 'sane' 'zlib' 'libjpeg' 'gimp') | |
source=(http://www.xsane.org/download/$pkgname-$pkgver.tar.gz | |
- xsane-0.995-xdg-open.patch) | |
+ xsane-0.995-xdg-open.patch | |
+ trivial.patch) | |
md5sums=('9927f21e1ab6ba96315e7f0e30746deb' | |
- '15541ff0ddc10acfa2059cf99d5478eb') | |
+ '15541ff0ddc10acfa2059cf99d5478eb' | |
+ '8db1de8b5ef4fb0c486e0729d93dee9a') | |
prepare() { | |
cd "$srcdir/$pkgname-$pkgver" | |
# fix use "xdg-open" instead of "netscape" to launch help browser - taken from Fedora | |
patch -Np1 -i ${srcdir}/xsane-0.995-xdg-open.patch | |
sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c | |
+ # trivial patch | |
+ patch -Np1 -i ${srcdir}/trivial.patch | |
} | |
build() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment