Compare commits
No commits in common. "rawhide" and "f42" have entirely different histories.
3 changed files with 34 additions and 3 deletions
29
4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch
Normal file
29
4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
From 4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca Mon Sep 17 00:00:00 2001
|
||||
From: LuK1337 <priv.luk@gmail.com>
|
||||
Date: Sun, 29 Mar 2026 17:48:04 +0200
|
||||
Subject: [PATCH] cmake: enable position independent code (PIE)
|
||||
|
||||
Fixes the following build error when compiling Fedora 45 RPM:
|
||||
|
||||
/usr/bin/ld.bfd: tests/unit/CMakeFiles/tests.dir/tests.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
|
||||
/usr/bin/ld.bfd: failed to set dynamic section sizes: bad value
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
See: https://cmake.org/cmake/help/latest/prop_tgt/POSITION_INDEPENDENT_CODE.html
|
||||
https://cmake.org/cmake/help/latest/policy/CMP0083.html
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f9e648a5ba2..479c20608b2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -28,6 +28,7 @@ project(weechat C)
|
||||
# CMake options
|
||||
set(CMAKE_VERBOSE_MAKEFILE OFF)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
|
||||
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
set(CMAKE_SKIP_RPATH ON)
|
||||
|
||||
# compiler options
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (weechat-4.10.0.tar.xz) = bba7597bbc83ffe6a4bf59dfbdb03d622a1f0c023bc27f1d417610e2ab84dea7ca68e03b0a6de276464bc35e69ff8b733de3f965142938423db978a2abdf98ae
|
||||
SHA512 (weechat-4.10.0.tar.xz.asc) = 8a8dd8e18e3a27c785b54c2ad573e494d1d49b9f98268e208e34767b4ef702c045c4723ddf03527c33088aa81778cddab02a9b8ded3c8fb33cdad72484b44717
|
||||
SHA512 (weechat-4.9.0.tar.xz) = 3c2dec099637b4f71bb1e4f6821e41a8157d2fe7b24565d1d7fd3fd393e3e1e3152a77cf6fa9493f8562871d449653e06b1bda40cdeb12bc238854f5476f22cd
|
||||
SHA512 (weechat-4.9.0.tar.xz.asc) = f41b438bd945a19e4267f09de824b41962e0258eba03b76907cba5b01cb07baef59373b17737a8a0ab8e6fc36849994b84f400f685b18fc2f12578c6c2952193
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
%global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$
|
||||
|
||||
Name: weechat
|
||||
Version: 4.10.0
|
||||
Version: 4.9.0
|
||||
Release: %autorelease
|
||||
Summary: Portable, fast, light and extensible IRC client
|
||||
Group: Applications/Communications
|
||||
|
|
@ -12,6 +12,8 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz
|
|||
Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc
|
||||
Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8
|
||||
|
||||
Patch: https://github.com/weechat/weechat/commit/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch
|
||||
|
||||
BuildRequires: asciidoctor
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: cjson-devel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue