[packages/manedit] Rel 2
arekm
arekm at pld-linux.org
Fri May 8 19:49:06 CEST 2026
commit 88c4562e16a9acbb98bfe900561e2c005a61a376
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 19:48:39 2026 +0200
Rel 2
manedit-dont_strip.patch | 7 +++----
manedit-glibc.patch | 11 -----------
manedit-man_path.patch | 11 +++++------
manedit-string-include.patch | 14 ++++++++++++++
manedit.spec | 6 +++---
5 files changed, 25 insertions(+), 24 deletions(-)
---
diff --git a/manedit.spec b/manedit.spec
index d440aa9..90b525f 100644
--- a/manedit.spec
+++ b/manedit.spec
@@ -2,7 +2,7 @@ Summary: UNIX manual page integrated development environment
Summary(pl.UTF-8): Zintegrowane środowisko uniksowe do tworzenia stron podręcznika
Name: manedit
Version: 1.2.1
-Release: 1
+Release: 2
License: GPL v2
Group: X11/Applications/Editors
Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
@@ -11,10 +11,10 @@ Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-bzip2.patch
Patch1: %{name}-opt.patch
-Patch2: %{name}-glibc.patch
Patch3: %{name}-dont_strip.patch
Patch4: %{name}-man_path.patch
Patch5: %{name}-man.patch
+Patch6: %{name}-string-include.patch
URL: http://freecode.com/projects/manedit
BuildRequires: bzip2-devel
BuildRequires: gtk+-devel
@@ -38,10 +38,10 @@ GTK+ i działa w środowisku X Window.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
-%patch -P2 -p1
%patch -P3 -p1
%patch -P4 -p1
%patch -P5 -p1
+%patch -P6 -p1
%{__perl} -pi -e 's@/lib/$@/%{_lib}/@' manedit/platforms.ini
diff --git a/manedit-dont_strip.patch b/manedit-dont_strip.patch
index 47b42ce..d2fca2e 100644
--- a/manedit-dont_strip.patch
+++ b/manedit-dont_strip.patch
@@ -1,7 +1,6 @@
-diff -urN aaa/manedit-0.5.8/manedit/Makefile.install.UNIX manedit-0.5.8/manedit/Makefile.install.UNIX
---- aaa/manedit-0.5.8/manedit/Makefile.install.UNIX Mon Jan 20 07:17:00 2003
-+++ manedit-0.5.8/manedit/Makefile.install.UNIX Tue Jan 28 21:28:27 2003
-@@ -13,9 +13,9 @@
+--- manedit-1.2.1/manedit/Makefile.install.UNIX.orig 2003-01-20 07:17:00.000000000 +0100
++++ manedit-1.2.1/manedit/Makefile.install.UNIX 2003-01-28 21:28:27.000000000 +0100
+@@ -12,10 +12,10 @@
#
INSTALL = install
diff --git a/manedit-glibc.patch b/manedit-glibc.patch
deleted file mode 100644
index f163ae6..0000000
--- a/manedit-glibc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- manedit-0.5.6/include/xsw_ctype.h.orig Tue Mar 12 23:02:37 2002
-+++ manedit-0.5.6/include/xsw_ctype.h Fri Nov 1 20:31:53 2002
-@@ -1,7 +1,7 @@
- // xsw_ctype.h
- // This is intended as a prototype for files using the global/ctype.cpp file.
-
--#if !defined(__FreeBSD__) && !defined(__NetBSD__)
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__GLIBC__)
- # if defined(__cplusplus) || defined(c_plusplus)
-
- #ifndef isblank
diff --git a/manedit-man_path.patch b/manedit-man_path.patch
index 5a9a0f5..25fb00b 100644
--- a/manedit-man_path.patch
+++ b/manedit-man_path.patch
@@ -1,12 +1,11 @@
-diff -urN aaa/manedit-0.5.8/manedit/Makefile.install.UNIX manedit-0.5.8/manedit/Makefile.install.UNIX
---- aaa/manedit-0.5.8/manedit/Makefile.install.UNIX Mon Jan 20 07:17:00 2003
-+++ manedit-0.5.8/manedit/Makefile.install.UNIX Tue Jan 28 21:35:37 2003
-@@ -30,7 +30,7 @@
+--- manedit-1.2.1/manedit/Makefile.install.UNIX.orig 2003-01-20 07:17:00.000000000 +0100
++++ manedit-1.2.1/manedit/Makefile.install.UNIX 2003-01-28 21:35:37.000000000 +0100
+@@ -34,7 +34,7 @@
BIN_DIR = $(PREFIX)/bin
ICONS_DIR = $(PREFIX)/share/icons
DATA_DIR = $(PREFIX)/share/$(BIN)
-MAN_DIR = $(PREFIX)/man/man1
+MAN_DIR = $(PREFIX)/share/man/man1
- install_bin:
- $(MKDIR) $(MKDIRFLAGS) $(BIN_DIR)
+ HR = "-------------------------------------------------------------------------"
+
diff --git a/manedit-string-include.patch b/manedit-string-include.patch
new file mode 100644
index 0000000..c34beec
--- /dev/null
+++ b/manedit-string-include.patch
@@ -0,0 +1,14 @@
+--- manedit-1.2.1/manedit/ca_string.c.orig 2026-05-08 19:38:50.975847418 +0200
++++ manedit-1.2.1/manedit/ca_string.c 2026-05-08 19:38:50.979836293 +0200
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include <glib.h>
+ #include "ca_string.h"
+
+--- manedit-1.2.1/manedit/manpage_view.c.orig 2026-05-08 19:38:50.977594061 +0200
++++ manedit-1.2.1/manedit/manpage_view.c 2026-05-08 19:38:50.981938531 +0200
+@@ -1,3 +1,4 @@
++#include <string.h>
+ #include <gtk/gtk.h>
+
+ #include "guiutils.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/manedit.git/commitdiff/88c4562e16a9acbb98bfe900561e2c005a61a376
More information about the pld-cvs-commit
mailing list