mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
subtle: update to 0.11.6610.
This commit is contained in:
parent
282120218d
commit
ad3e2f38b0
2 changed files with 6 additions and 38 deletions
|
@ -1,34 +0,0 @@
|
||||||
--- a/src/shared/shared.h
|
|
||||||
+++ b/src/shared/shared.h
|
|
||||||
@@ -18,6 +18,7 @@
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
+#include <stdint.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <assert.h>
|
|
||||||
--- a/data/sur/server.rb
|
|
||||||
+++ b/data/sur/server.rb
|
|
||||||
@@ -148,8 +148,8 @@
|
|
||||||
#DataMapper::Model.raise_on_save_failure = true
|
|
||||||
|
|
||||||
# Create database and store
|
|
||||||
- DataMapper.auto_migrate! unless File.exists?(DATABASE)
|
|
||||||
- Dir.mkdir(REPOSITORY) unless File.exists?(REPOSITORY)
|
|
||||||
+ DataMapper.auto_migrate! unless File.exist?(DATABASE)
|
|
||||||
+ Dir.mkdir(REPOSITORY) unless File.exist?(REPOSITORY)
|
|
||||||
|
|
||||||
# Configure sinatra application
|
|
||||||
set :port, port
|
|
||||||
--- a/Rakefile
|
|
||||||
+++ b/Rakefile
|
|
||||||
@@ -288,7 +288,7 @@
|
|
||||||
end
|
|
||||||
|
|
||||||
# Get revision
|
|
||||||
- if File.exists?(".hg") and (hg = find_executable0("hg"))
|
|
||||||
+ if File.exist?(".hg") and (hg = find_executable0("hg"))
|
|
||||||
match = `#{hg} tip`.match(/^[^:]+:\s*(\d+).*/)
|
|
||||||
|
|
||||||
if !match.nil? and 2 == match.size
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'subtle'
|
# Template file for 'subtle'
|
||||||
pkgname=subtle
|
pkgname=subtle
|
||||||
version=0.11.6579
|
version=0.11.6610
|
||||||
revision=6
|
revision=1
|
||||||
hostmakedepends="python3 mercurial ruby-devel pkg-config"
|
hostmakedepends="python3 mercurial ruby-devel pkg-config"
|
||||||
makedepends="ruby-devel libX11-devel libXpm-devel libXft-devel
|
makedepends="ruby-devel libX11-devel libXpm-devel libXft-devel
|
||||||
libXinerama-devel libXrandr-devel libXtst-devel"
|
libXinerama-devel libXrandr-devel libXtst-devel"
|
||||||
|
@ -10,15 +10,17 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://hg.unexist.dev/subtle/"
|
homepage="https://hg.unexist.dev/subtle/"
|
||||||
distfiles="https://hg.unexist.dev/subtle/archive/${version#*.*.}.tar.gz"
|
distfiles="https://hg.unexist.dev/subtle/archive/${version#*.*.}.tar.gz"
|
||||||
checksum=58b4bf85ae348f120a77001042f036570c239cd3327802b012506ea0158d8d86
|
checksum=7aff9833ebe97b49f53c36a3efa644e4ee0cf169befb8facb4941c4ece5d9234
|
||||||
conf_files="/etc/xdg/subtle/subtle.rb"
|
conf_files="/etc/xdg/subtle/subtle.rb"
|
||||||
|
|
||||||
|
CFLAGS="-Wno-int-conversion"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
||||||
broken="Word size must match"
|
broken="Word size must match"
|
||||||
fi
|
fi
|
||||||
hostmakedepends+=" $makedepends"
|
hostmakedepends+=" $makedepends"
|
||||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-3.2.0/"
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/ruby-3.4.0/"
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue