- fix for #816370 - rem2ps should not require margins to be at least 1/2 inch

- Patch from Jonathan Kamens
This commit is contained in:
Jaromir Capik 2012-05-03 15:02:25 +02:00
parent 794433bfcf
commit da6d779890
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/rem2ps.c~ 2011-12-05 17:08:21.000000000 -0500
+++ src/rem2ps.c 2012-04-25 17:46:19.831719343 -0400
@@ -772,7 +772,7 @@
case 'o':
if (i == argc) Usage("Offset must be supplied");
offset = atoi(argv[i++]);
- if (offset < 36) offset = 36;
+ if (offset < 0) offset = 0;
if (!*s) Usage("Offset must specify l, r, t or b");
while(*s) {
switch(*s++) {

View File

@ -1,6 +1,6 @@
Name: remind
Version: 03.01.12
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A sophisticated calendar and alarm program
Group: Applications/Productivity
@ -9,6 +9,7 @@ URL: http://www.roaringpenguin.com/en/penguin/openSourceProducts/remi
Source0: http://www.roaringpenguin.com/files/download/remind-%{version}.tar.gz
Source1: tkremind.desktop
Patch0: remind-nostrip.patch
Patch1: remind-03.01.12-rem2ps-margins.patch
Requires: tcl
BuildRequires: desktop-file-utils
@ -38,10 +39,12 @@ iconv -c -t UTF8 remind.1 > remind.1.utf8
%{__mv} remind.1.utf8 remind.1
popd
%patch0 -p1
%patch1
pushd www
find . -type f -exec chmod -x {} \;
popd
%build
%configure
%{__make} %{?_smp_mflags}
@ -91,6 +94,10 @@ desktop-file-install --vendor "fedora" \
%{_mandir}/man1/tkremind.1.gz
%changelog
* Thu May 03 2012 Jaromir Capik <jcapik@redhat.com> - 03.01.12-2
- fix for #816370 - rem2ps should not require margins to be at least 1/2 inch
- Patch from Jonathan Kamens
* Mon Apr 30 2012 Jaromir Capik <jcapik@redhat.com> - 03.01.12-1
- Updated to 03.01.12