public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] mpage: Update to 2.5.7
@ 2021-02-08 19:56 Adolf Belka
  0 siblings, 0 replies; only message in thread
From: Adolf Belka @ 2021-02-08 19:56 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]

- Update mpage from 2.5.6 to 2.5.7
- No change to rootfile
- Slight tuning of patch needed due to changes in source file
- Changelog
June 2017
   - Released version 2.5.7
   - Relicensed code under GPLv2 or later

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 lfs/mpage                        |  4 ++--
 src/patches/mpage25-config.patch | 16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/lfs/mpage b/lfs/mpage
index 55a1eac65..e4376619c 100644
--- a/lfs/mpage
+++ b/lfs/mpage
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.5.6
+VER        = 2.5.7
 
 THISAPP    = mpage-$(VER)
 DL_FILE    = $(THISAPP).tgz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 489663c9246e47915cea931348e5175d
+$(DL_FILE)_MD5 = 8d94338445345a554fd3bc664d48525a
 
 install : $(TARGET)
 
diff --git a/src/patches/mpage25-config.patch b/src/patches/mpage25-config.patch
index fefc54766..55bf34caf 100644
--- a/src/patches/mpage25-config.patch
+++ b/src/patches/mpage25-config.patch
@@ -1,7 +1,7 @@
-diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile
---- mpage-2.5.6/Makefile.config	2004-05-30 21:38:31.000000000 +0200
-+++ mpage-2.5.6/Makefile	2009-03-27 11:11:14.652186064 +0100
-@@ -40,7 +40,7 @@ CC=gcc
+diff -aup mpage-2.5.7/Makefile.orig mpage-2.5.7/Makefile
+--- mpage-2.5.7/Makefile.orig	2017-06-28 10:07:41.000000000 +0200
++++ mpage-2.5.7/Makefile	2021-02-08 13:35:23.219223469 +0100
+@@ -48,7 +48,7 @@ CC=gcc
  #  See glob.c for all possibilities
  #
  # PAGESIZE=Letter
@@ -10,7 +10,7 @@ diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile
  
  #
  # Define your spooler type
-@@ -50,7 +50,7 @@ PAGESIZE=A4
+@@ -58,7 +58,7 @@ PAGESIZE=A4
  SPOOL_TYPE=BSD_SPOOLER
  
  # PREFIX=e:/usr		# OS/2 type
@@ -19,7 +19,7 @@ diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile
  #PREFIX=/usr
  BINDIR=$(PREFIX)/bin
  LIBDIR=$(PREFIX)/share
-@@ -73,7 +73,7 @@ SHEETMARGIN=18 
+@@ -81,7 +81,7 @@ SHEETMARGIN=18
  #
  DEFAULT_DUPLEX=0
  
@@ -28,7 +28,7 @@ diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile
  
  
  ############################################################################
-@@ -107,7 +107,7 @@ O = .o
+@@ -115,7 +115,7 @@ O = .o
  # If you are using gcc, you probably don't need to change anything here.
  
  # Linux:
@@ -37,7 +37,7 @@ diff -up mpage-2.5.6/Makefile.config mpage-2.5.6/Makefile
  
  # AIX (xlC on aix 4):
  #CFLAGS = -O2 -s $(DEFS)
-@@ -183,5 +183,4 @@ install:
+@@ -191,5 +191,4 @@ install:
  	if [ ! -d $(MANDIR) ] ; then mkdir -p $(MANDIR) ; fi
  	cp mpage$(E) $(BINDIR)
  	cp mpage.1 $(MANDIR)
-- 
2.30.0


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

only message in thread, other threads:[~2021-02-08 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 19:56 [PATCH] mpage: Update to 2.5.7 Adolf Belka

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