commit 2f7ceb8bacfb0d70120a23a31de073e57bc17e77
Author: Jakub Bogusz <[email protected]>
Date:   Mon Mar 4 18:34:27 2024 +0100

    - updated to 1.0.5

 xorg-app-xmh-format.patch | 48 -----------------------------------------------
 xorg-app-xmh.spec         |  8 ++++----
 2 files changed, 4 insertions(+), 52 deletions(-)
---
diff --git a/xorg-app-xmh.spec b/xorg-app-xmh.spec
index af70a45..7cb3d13 100644
--- a/xorg-app-xmh.spec
+++ b/xorg-app-xmh.spec
@@ -1,12 +1,12 @@
 Summary:       xmh application - send and read mail with an X interface to MH
 Summary(pl.UTF-8):     Aplikacja xmh - czytanie i wysyƂanie poczty poprzez 
interfejs X do MH
 Name:          xorg-app-xmh
-Version:       1.0.4
+Version:       1.0.5
 Release:       1
 License:       MIT
 Group:         X11/Applications
 Source0:       
https://xorg.freedesktop.org/releases/individual/app/xmh-%{version}.tar.xz
-# Source0-md5: a3a83ff2fa3785f229631fa0ee7258fc
+# Source0-md5: 9708ee1127647cde2ee82313c2a26d12
 Patch0:                %{name}-man.patch
 Patch1:                %{name}-format.patch
 URL:           https://xorg.freedesktop.org/
@@ -18,10 +18,10 @@ BuildRequires:      xorg-data-xbitmaps >= 1.1.0
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXaw-devel
 BuildRequires: xorg-lib-libXmu-devel
-BuildRequires: xorg-lib-libXt-devel >= 1.0.0
+BuildRequires: xorg-lib-libXt-devel >= 1.3.0
 BuildRequires: xorg-util-util-macros >= 1.8
 BuildRequires: xz
-Requires:      xorg-lib-libXt >= 1.0.0
+Requires:      xorg-lib-libXt >= 1.3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
diff --git a/xorg-app-xmh-format.patch b/xorg-app-xmh-format.patch
index f71dbd0..05c2cfc 100644
--- a/xorg-app-xmh-format.patch
+++ b/xorg-app-xmh-format.patch
@@ -8,51 +8,3 @@
 +      fputs(ptr, stderr);
      }
  }
---- xmh-1.0.3/xmh.h.orig       2015-04-17 09:01:32.000000000 +0200
-+++ xmh-1.0.3/xmh.h    2015-04-21 17:00:41.328711021 +0200
-@@ -69,7 +69,7 @@
- 
- #define DEBUG(msg) \
-       if (app_resources.debug) \
--          {(void)fprintf(stderr, msg); (void)fflush(stderr);}
-+          {(void)fputs(msg, stderr); (void)fflush(stderr);}
- 
- #define DEBUG1(msg, arg) \
-       if (app_resources.debug) \
-@@ -79,6 +79,10 @@
-       if (app_resources.debug) \
-           {(void)fprintf(stderr,msg,arg1,arg2); (void)fflush(stderr);}
- 
-+#define DEBUG3(msg, arg1, arg2, arg3) \
-+      if (app_resources.debug) \
-+          {(void)fprintf(stderr,msg,arg1,arg2,arg3); (void)fflush(stderr);}
-+
- typedef int * dp;             /* For debugging. */
- 
- typedef FILE* FILEPTR;
---- xmh-1.0.3/toc.c.orig       2015-04-17 09:01:32.000000000 +0200
-+++ xmh-1.0.3/toc.c    2015-04-21 16:58:45.382046771 +0200
-@@ -1136,9 +1136,7 @@
-     h = toc->nummsgs - 1;
-     if (h < 0) {
-       if (app_resources.debug) {
--          char str[100];
--          (void)sprintf(str, "Toc is empty! folder=%s\n", toc->foldername);
--          DEBUG( str )
-+          DEBUG1("Toc is empty! folder=%s\n", toc->foldername);
-       }
-       return NULL;
-     }
-@@ -1152,11 +1150,8 @@
-     if (toc->msgs[l]->msgid == msgid) return toc->msgs[l];
-     if (toc->msgs[h]->msgid == msgid) return toc->msgs[h];
-     if (app_resources.debug) {
--      char str[100];
--      (void) sprintf(str,
--                    "TocMsgFromId search failed! hi=%d, lo=%d, msgid=%d\n",
-+      DEBUG3("TocMsgFromId search failed! hi=%d, lo=%d, msgid=%d\n",
-                     h, l, msgid);
--      DEBUG( str )
-     }
-     return NULL;
- }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-xmh.git/commitdiff/2f7ceb8bacfb0d70120a23a31de073e57bc17e77

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to