public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/weechat] epel9: Update to 4.9.0
@ 2026-06-12 11:21 LuK1337
  0 siblings, 0 replies; only message in thread
From: LuK1337 @ 2026-06-12 11:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/weechat
Branch : epel9
Commit : ba0dc6736757da45193b0b66091772c74b0a16e3
Author : LuK1337 <priv.luk@gmail.com>
Date   : 2026-03-29T18:02:58+02:00
Stats  : +34/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/weechat/c/ba0dc6736757da45193b0b66091772c74b0a16e3?branch=epel9

Log:
Update to 4.9.0

---
diff --git a/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch b/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch
new file mode 100644
index 0000000..3913282
--- /dev/null
+++ b/4ed73757d3a8702e5824a7fd3a8ad3686dcfc1ca.patch
@@ -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

diff --git a/sources b/sources
index 091a135..b342af3 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (weechat-4.8.2.tar.xz) = adf640c21f9e94fd7ec8cbdc8bd4c10d600b1d5277f0052e0546442a49d0704e82c951d457ffe46ec5cd3733c368b92a82629bb50b2b995d0ebdead4850d99ee
-SHA512 (weechat-4.8.2.tar.xz.asc) = 29a5fe54d91fc5108bb392b3a0bfa219972f2aaead77e460708fa69af2d6d2653f0a1ce2d4fca56112dd05b0f8d07ed68d56d00d7271b0b7bdb47bcb8cf000e7
+SHA512 (weechat-4.9.0.tar.xz) = 3c2dec099637b4f71bb1e4f6821e41a8157d2fe7b24565d1d7fd3fd393e3e1e3152a77cf6fa9493f8562871d449653e06b1bda40cdeb12bc238854f5476f22cd
+SHA512 (weechat-4.9.0.tar.xz.asc) = f41b438bd945a19e4267f09de824b41962e0258eba03b76907cba5b01cb07baef59373b17737a8a0ab8e6fc36849994b84f400f685b18fc2f12578c6c2952193

diff --git a/weechat.spec b/weechat.spec
index 85662c6..0459f77 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -1,7 +1,7 @@
 %global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$
 
 Name:      weechat
-Version:   4.8.2
+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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-12 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 11:21 [rpms/weechat] epel9: Update to 4.9.0 LuK1337

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox