Rebuild with gcc4.3
This commit is contained in:
parent
1e0f14a71f
commit
4c00864d74
14
groff-1.18.1.4-gcc4.3.0.patch
Normal file
14
groff-1.18.1.4-gcc4.3.0.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -up groff-1.18.1.4/src/devices/grolbp/lbp.cc.old groff-1.18.1.4/src/devices/grolbp/lbp.cc
|
||||
--- groff-1.18.1.4/src/devices/grolbp/lbp.cc.old 2008-01-03 15:38:25.000000000 +0100
|
||||
+++ groff-1.18.1.4/src/devices/grolbp/lbp.cc 2008-01-03 15:38:33.000000000 +0100
|
||||
@@ -25,7 +25,9 @@ TODO
|
||||
|
||||
- Add X command to include bitmaps
|
||||
*/
|
||||
-#define _GNU_SOURCE
|
||||
+#ifndef _GNU_SOURCE
|
||||
+#define _GNU_SOURCE 1
|
||||
+#endif
|
||||
|
||||
#include "driver.h"
|
||||
#include "lbp.h"
|
@ -3,7 +3,7 @@
|
||||
Summary: A document formatting system
|
||||
Name: groff
|
||||
Version: 1.18.1.4
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: GPLv2 and GFDL
|
||||
Group: Applications/Publishing
|
||||
URL: http://groff.ffii.org
|
||||
@ -34,7 +34,8 @@ Patch18: groff-1.18.1.1-do_char.patch
|
||||
Patch23: groff-1.18.1.1-spacefix.patch
|
||||
Patch24: groff-1.18.1.4-sectmp.patch
|
||||
Patch25: groff-1.18.1.4-grofferpath.patch
|
||||
|
||||
Patch26: groff-1.18.1.4-gcc4.3.0.patch
|
||||
|
||||
Requires: mktemp
|
||||
Requires: /sbin/install-info
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -101,6 +102,7 @@ System display.
|
||||
%patch23 -p1 -b .spacefix
|
||||
%patch24 -p1 -b .sectmp
|
||||
%patch25 -p1 -b .grofferpath
|
||||
%patch26 -p1 -b .gcc43
|
||||
|
||||
for i in contrib/mm/{groff_mm,groff_mmse,mmroff}.man \
|
||||
src/devices/grolbp/grolbp.man; do
|
||||
@ -239,6 +241,9 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Jan 3 2008 Marcela Maslanova <mmaslano@redhat.com> - 1.18.1.4-11
|
||||
- fix for gcc4.3.0
|
||||
|
||||
* Mon Oct 8 2007 Marcela Maslanova <mmaslano@redhat.com> - 1.18.1.4-10
|
||||
- path for groffer wasn't set correctly #89210
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user