dcraw: Bump revision to rebuild
This commit is contained in:
parent
351534ff08
commit
f4b99bc418
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Raw digital camera images decoding utility"
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=9.28.0
|
TERMUX_PKG_VERSION=9.28.0
|
||||||
TERMUX_PKG_REVISION=3
|
TERMUX_PKG_REVISION=4
|
||||||
TERMUX_PKG_SRCURL=https://mirrors.dotsrc.org/pub/mirrors/exherbo/dcraw-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://mirrors.dotsrc.org/pub/mirrors/exherbo/dcraw-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=2890c3da2642cd44c5f3bfed2c9b2c1db83da5cec09cc17e0fa72e17541fb4b9
|
TERMUX_PKG_SHA256=2890c3da2642cd44c5f3bfed2c9b2c1db83da5cec09cc17e0fa72e17541fb4b9
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
@ -11,7 +11,7 @@ TERMUX_PKG_DEPENDS="littlecms, libjasper, libjpeg-turbo"
|
|||||||
|
|
||||||
termux_step_make_install() {
|
termux_step_make_install() {
|
||||||
# See the "install" script for flags:
|
# See the "install" script for flags:
|
||||||
$CC $CFLAGS $CPPFLAGS $LDFLAGS dcraw.c $TERMUX_PKG_BUILDER_DIR/swab.c -lm -ljasper -ljpeg -llcms2 -o $TERMUX_PREFIX/bin/dcraw
|
$CC $CFLAGS $CPPFLAGS $LDFLAGS dcraw.c -lm -ljasper -ljpeg -llcms2 -o $TERMUX_PREFIX/bin/dcraw
|
||||||
chmod +w dcraw.1 # Add missing write permission
|
chmod +w dcraw.1 # Add missing write permission
|
||||||
cp dcraw.1 $TERMUX_PREFIX/share/man/man1/
|
cp dcraw.1 $TERMUX_PREFIX/share/man/man1/
|
||||||
}
|
}
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
/* Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
|
||||||
License along with the GNU C Library; if not, write to the Free
|
|
||||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
||||||
02111-1307 USA. */
|
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
void
|
|
||||||
swab (const void *bfrom, void *bto, ssize_t n)
|
|
||||||
{
|
|
||||||
const char *from = (const char *) bfrom;
|
|
||||||
char *to = (char *) bto;
|
|
||||||
|
|
||||||
n &= ~((ssize_t) 1);
|
|
||||||
while (n > 1)
|
|
||||||
{
|
|
||||||
const char b0 = from[--n], b1 = from[--n];
|
|
||||||
to[n] = b0;
|
|
||||||
to[n + 1] = b1;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user