Update to 0.4.23

This commit is contained in:
Wim Taymans 2015-05-05 11:33:18 +02:00
parent 07da044621
commit 86917f6381
4 changed files with 8 additions and 60 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
/orc-0.*.tar.gz
/orc-0.*.tar.bz2
/orc-0.4.23.tar.xz

View File

@ -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

View File

@ -1,18 +1,12 @@
Name: orc
Version: 0.4.22
Release: 4%{?dist}
Version: 0.4.23
Release: 1%{?dist}
Summary: The Oil Run-time Compiler
Group: System Environment/Libraries
License: BSD
URL: http://cgit.freedesktop.org/gstreamer/orc/
# 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
Source0: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc, libtool
@ -55,7 +49,6 @@ The Orc compiler, to produce optimized code.
%prep
%setup -q
%patch0 -p1 -b .selinux
NOCONFIGURE=1 autoreconf -vif
@ -107,6 +100,9 @@ make check
%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
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code

View File

@ -1 +1 @@
a130c227ded6e314f31a6fd75267d77a orc-0.4.22.tar.bz2
72e0612ace54d77aa2f7a006348ee81a orc-0.4.23.tar.xz