Update to 0.4.23
This commit is contained in:
parent
07da044621
commit
86917f6381
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
/orc-0.*.tar.gz
|
/orc-0.4.23.tar.xz
|
||||||
/orc-0.*.tar.bz2
|
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
From 0e31d7fc6a03faf1076dfd51b49401539c3ebed9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Fabian Deutsch <fabiand@fedoraproject.org>
|
|
||||||
Date: Tue, 2 Sep 2014 10:38:17 +0200
|
|
||||||
Subject: TMPDIR becomes the last option
|
|
||||||
|
|
||||||
Previously $TMPDIR and /tmp were the first options to try to use for
|
|
||||||
intermediate files. To prevent name collisions, now user specific dirs ($HOME
|
|
||||||
and $XDG_RUNTIME_DIR) are prefered over the user unspecific dirs ($TMP and
|
|
||||||
/tmp).
|
|
||||||
|
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=735871
|
|
||||||
|
|
||||||
diff --git a/orc/orccodemem.c b/orc/orccodemem.c
|
|
||||||
index 7bb78d2..8bc2a48 100644
|
|
||||||
--- a/orc/orccodemem.c
|
|
||||||
+++ b/orc/orccodemem.c
|
|
||||||
@@ -266,21 +266,21 @@ orc_code_region_allocate_codemem (OrcCodeRegion *region)
|
|
||||||
{
|
|
||||||
const char *tmpdir;
|
|
||||||
|
|
||||||
- tmpdir = getenv ("TMPDIR");
|
|
||||||
+ tmpdir = getenv ("XDG_RUNTIME_DIR");
|
|
||||||
if (tmpdir && orc_code_region_allocate_codemem_dual_map (region,
|
|
||||||
tmpdir, FALSE)) return;
|
|
||||||
|
|
||||||
- if (orc_code_region_allocate_codemem_dual_map (region,
|
|
||||||
- "/tmp", FALSE)) return;
|
|
||||||
-
|
|
||||||
- tmpdir = getenv ("XDG_RUNTIME_DIR");
|
|
||||||
+ tmpdir = getenv ("HOME");
|
|
||||||
if (tmpdir && orc_code_region_allocate_codemem_dual_map (region,
|
|
||||||
tmpdir, FALSE)) return;
|
|
||||||
|
|
||||||
- tmpdir = getenv ("HOME");
|
|
||||||
+ tmpdir = getenv ("TMPDIR");
|
|
||||||
if (tmpdir && orc_code_region_allocate_codemem_dual_map (region,
|
|
||||||
tmpdir, FALSE)) return;
|
|
||||||
|
|
||||||
+ if (orc_code_region_allocate_codemem_dual_map (region,
|
|
||||||
+ "/tmp", FALSE)) return;
|
|
||||||
+
|
|
||||||
if (orc_code_region_allocate_codemem_anon_map (region)) return;
|
|
||||||
|
|
||||||
ORC_ERROR("Failed to create write and exec mmap regions. This "
|
|
||||||
--
|
|
||||||
cgit v0.10.2
|
|
||||||
|
|
16
orc.spec
16
orc.spec
@ -1,18 +1,12 @@
|
|||||||
Name: orc
|
Name: orc
|
||||||
Version: 0.4.22
|
Version: 0.4.23
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The Oil Run-time Compiler
|
Summary: The Oil Run-time Compiler
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://cgit.freedesktop.org/gstreamer/orc/
|
URL: http://cgit.freedesktop.org/gstreamer/orc/
|
||||||
|
Source0: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
|
||||||
# Source0: http://code.entropywave.com/download/orc/orc-%{version}.tar.gz
|
|
||||||
# Tarfile created using git
|
|
||||||
# git clone git://anongit.freedesktop.org/gstreamer/orc
|
|
||||||
# git archive --format=tar --prefix=%{name}-%{version}/ %{name}-%{version} | bzip2 > %{name}-%{version}.tar.bz2
|
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
|
||||||
Patch0: orc-selinux-tmplocation.patch
|
|
||||||
|
|
||||||
BuildRequires: gtk-doc, libtool
|
BuildRequires: gtk-doc, libtool
|
||||||
|
|
||||||
@ -55,7 +49,6 @@ The Orc compiler, to produce optimized code.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .selinux
|
|
||||||
NOCONFIGURE=1 autoreconf -vif
|
NOCONFIGURE=1 autoreconf -vif
|
||||||
|
|
||||||
|
|
||||||
@ -107,6 +100,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 5 2015 Wim Taymans <wtaymans@redhat.com> 0.4.23-1
|
||||||
|
- Update to 0.4.23
|
||||||
|
|
||||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.4.22-4
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.4.22-4
|
||||||
- Rebuilt for Fedora 23 Change
|
- Rebuilt for Fedora 23 Change
|
||||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||||
|
Loading…
Reference in New Issue
Block a user