commit
c43c9b20dd
4 changed files with 45 additions and 0 deletions
|
@ -2105,3 +2105,4 @@ libgoocanvas.so.3 goocanvas1-1.0.0_1
|
|||
libplatform.so.1.0 platform-1.0.10_1
|
||||
libfacter.so.3.0.2 facter-3.0.2_1
|
||||
libOIS-1.3.0.so ois-1.3_1
|
||||
libSILLY.so.1 silly-0.1.0_1
|
||||
|
|
1
srcpkgs/silly-devel
Symbolic link
1
srcpkgs/silly-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
silly
|
15
srcpkgs/silly/patches/png_longjmp.patch
Normal file
15
srcpkgs/silly/patches/png_longjmp.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/loaders/SILLYPNGImageLoader.cpp 2006-06-19 00:42:12.000000000 +0200
|
||||
+++ src/loaders/SILLYPNGImageLoader.cpp 2015-08-03 15:39:36.102606369 +0200
|
||||
@@ -64,10 +64,8 @@
|
||||
png_const_charp error)
|
||||
{
|
||||
// printf("PNG Error: %s\n", error);
|
||||
- // copied from libpng's pngerror.cpp
|
||||
- jmp_buf buf;
|
||||
- memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
|
||||
- longjmp(buf, 1);
|
||||
+ // use png-1.6.18 png_longjmp() function
|
||||
+ png_longjmp(png_ptr, 1);
|
||||
}
|
||||
|
||||
|
28
srcpkgs/silly/template
Normal file
28
srcpkgs/silly/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'silly'
|
||||
pkgname=silly
|
||||
version=0.1.0
|
||||
revision=1
|
||||
wrksrc=${pkgname^^}-${version}
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libjpeg-turbo-devel libpng-devel"
|
||||
short_desc="Simple image loading library"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="MIT"
|
||||
homepage="http://sourceforge.net/projects/crayzedsgui/"
|
||||
distfiles="${SOURCEFORGE_SITE}/project/crayzedsgui/${pkgname^^}/${version}/${pkgname^^}-${version}.tar.gz"
|
||||
checksum=afa064f70433008ec9837fb601c8d73e73db07856e4566f8bee010758c5304ac
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
}
|
||||
silly-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue