public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Schwendt <mschwendt@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/fluxbox] epel10: Fix build for FC3/GCC 3.4.
Date: Mon, 09 Nov 2026 12:24:21 GMT	[thread overview]
Message-ID: <179422706189.1.5532030653992532274.rpms-fluxbox-6d940f05aaf8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fluxbox
Branch : epel10
Commit : 6d940f05aaf871c4998742fef8ee314e13cf2854
Author : Michael Schwendt <mschwendt@fedoraproject.org>
Date   : 2004-11-13T00:10:24+00:00
Stats  : +39/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/fluxbox/c/6d940f05aaf871c4998742fef8ee314e13cf2854?branch=epel10

Log:
Fix build for FC3/GCC 3.4.

---
diff --git a/fluxbox-0.9.9-gcc34.patch b/fluxbox-0.9.9-gcc34.patch
new file mode 100644
index 0000000..64e47eb
--- /dev/null
+++ b/fluxbox-0.9.9-gcc34.patch
@@ -0,0 +1,31 @@
+diff -Nur fluxbox-0.9.9-orig/src/FbTk/Resource.hh fluxbox-0.9.9/src/FbTk/Resource.hh
+--- fluxbox-0.9.9-orig/src/FbTk/Resource.hh	2003-12-19 19:25:39.000000000 +0100
++++ fluxbox-0.9.9/src/FbTk/Resource.hh	2004-11-13 01:01:01.000000000 +0100
+@@ -33,9 +33,11 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xresource.h>
+ 
++#include "XrmDatabaseHelper.hh"
++
+ namespace FbTk {
+ 
+-class XrmDatabaseHelper;
++//class XrmDatabaseHelper;
+ 
+ /// Base class for resources, this is only used in ResourceManager
+ class Resource_base:private FbTk::NotCopyable
+diff -Nur fluxbox-0.9.9-orig/src/FbTk/Menu.cc fluxbox-0.9.9/src/FbTk/Menu.cc
+--- fluxbox-0.9.9-orig/src/FbTk/Menu.cc	2004-04-20 00:47:36.000000000 +0200
++++ fluxbox-0.9.9/src/FbTk/Menu.cc	2004-11-13 01:00:36.000000000 +0100
+@@ -489,9 +489,8 @@
+     if (m_need_update && (m_frame_pm.width() != menu.frame.width() ||
+                           m_frame_pm.height() != menu.frame.height() )){
+ 
+-        m_frame_pm = FbTk::FbPixmap(menu.frame.window(),
+-                                    menu.frame.width(), menu.frame.height(),
+-                                    menu.frame.depth());
++      FbTk::FbPixmap tmp(menu.frame.window(), menu.frame.width(), menu.frame.height(), menu.frame.depth());
++      m_frame_pm = tmp;
+ 
+         if (m_frame_pm.drawable() == 0) {
+             cerr<<"FbTk::Menu: Warning: Failed to create pixmap ("<<

diff --git a/fluxbox.spec b/fluxbox.spec
index 6b10c2c..5626917 100644
--- a/fluxbox.spec
+++ b/fluxbox.spec
@@ -1,7 +1,6 @@
 Name:		fluxbox
 Version:	0.9.9
-Release:	0.fdr.1.2
-Epoch:		0
+Release:	2
 Summary:	Fluxbox is a windowmanager that is based on Blackbox.
 
 Group:          User Interface/Desktops 
@@ -15,11 +14,13 @@ Source3: fluxbox.desktop
 Source4: artwiz-aleczapka.tar.bz2
 
 Patch0: fluxbox-0.9.9.startfluxbox-UTF-8.patch
+Patch1: fluxbox-0.9.9-gcc34.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
 BuildRequires:	XFree86-devel
 Buildrequires: zlib-devel
-Requires(post,postun): chkfontpath
+Requires(post): chkfontpath
+Requires(postun): chkfontpath
 
 
 %description
@@ -35,6 +36,7 @@ Have a look at the homepage for more info ;)
 %prep
 %setup -q
 %patch0 -p1 -b .UTF-8
+%patch1 -p1 -b .gcc34
 
 %build
 
@@ -112,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/X11R6/lib/X11/fonts/artwiz-aleczapka
 
 %changelog
+* Sat Nov 13 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.9-2
+- Fix build for GCC 3.4.
+
 * Mon Apr 26 2004 Arnaud Ab�lard
 - rebuilt against Fluxbox-0.9.9
 

                 reply	other threads:[~2026-11-09 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179422706189.1.5532030653992532274.rpms-fluxbox-6d940f05aaf8@fedoraproject.org \
    --to=mschwendt@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox