Problem getting expanded diff: bad link: could not apply patch 'project.diff'

Changes of Revision 23

project.diff Deleted
x
 
1
@@ -1,58 +0,0 @@
2
---- x265.spec.orig
3
-+++ x265.spec
4
-@@ -30,11 +30,20 @@ Group:          Productivity/Multimedia/
5
- URL:            https://bitbucket.org/multicoreware/x265_git
6
- Source0:        https://bitbucket.org/multicoreware/x265_git/downloads/%{name}_%{version}.tar.gz
7
- Patch1:         x265.pkgconfig.patch
8
--Patch2:         x265-fix_enable512.patch
9
- Patch3:         0001-Fix-arm-flags.patch
10
- Patch4:         0004-Do-not-build-with-assembly-support-on-arm.patch
11
--BuildRequires:  cmake >= 2.8.8
12
-+BuildRequires:  cmake
13
-+%if 0%{?suse_version} > 1500
14
- BuildRequires:  gcc-c++
15
-+%else
16
-+%if 0%{?sle_version} > 150500
17
-+BuildRequires:  gcc13
18
-+BuildRequires:  gcc13-c++
19
-+%else
20
-+BuildRequires:  gcc10
21
-+BuildRequires:  gcc10-c++
22
-+%endif
23
-+%endif
24
- BuildRequires:  nasm >= 2.13
25
- BuildRequires:  pkgconfig
26
- %ifarch x86_64
27
-@@ -73,16 +82,27 @@ x265 is a free library for encoding next
28
- streams.
29
- 
30
- %prep
31
--%setup -q -n %{name}_%{version}
32
--%autopatch -p1
33
-+%autosetup -p1 -n %{name}_%{version}
34
- 
35
-+%build
36
-+test -x "$(type -p gcc)"    && CC="$_"
37
-+test -x "$(type -p g++)"    && CXX="$_"
38
-+test -x "$(type -p gcc-10)" && CC="$_"
39
-+test -x "$(type -p g++-10)" && CXX="$_"
40
-+test -x "$(type -p gcc-13)" && CC="$_"
41
-+test -x "$(type -p g++-13)" && CXX="$_"
42
-+export CC="$(readlink -f ${CC})"
43
-+export CXX="$(readlink -f ${CXX})"
44
-+CFLAGS='%optflags -Wno-misleading-indentation -Wno-unused-parameter -Wno-unused-variable'
45
-+CXXFLAGS='%optflags -Wno-misleading-indentation -Wno-unused-parameter -Wno-unused-variable'
46
- # set the version by hand
47
--sed -i "/^include(Version)/d" source/CMakeLists.txt
48
-+sed -i~ "/^include(Version)/d" source/CMakeLists.txt
49
-+diff -u "$_"~ "$_" && exit 1
50
- # force version number in the soname
51
--sed -i 's/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus-%{version}/' \
52
-+sed -i~ 's/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus-%{version}/' \
53
-        source/CMakeLists.txt
54
-+diff -u "$_"~ "$_" && exit 1
55
- 
56
--%build
57
- SOURCE_DIR="$PWD"/source
58
- COMMON_FLAGS="-DENABLE_TESTS=OFF -DENABLE_PIC=ON -Wno-dev"
59
- HIGH_BIT_DEPTH_FLAGS="-DENABLE_CLI=OFF -DENABLE_SHARED=OFF -DEXPORT_C_API=OFF -DHIGH_BIT_DEPTH=ON"
60
_link Changed
9
 
1
@@ -1,6 +1,1 @@
2
-<link project="Essentials" cicount="add" baserev="14faec77a6141375dcad6ffc2fbbca95">
3
-  <patches>
4
-    <delete name="x265-fix_enable512.patch"/>
5
-    <apply name="project.diff"/>
6
-  </patches>
7
-</link>
8
+<link project="Essentials" cicount="add"/>
9