aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/alure-dumb-2.patch
blob: 60d18f857095b86d445c0f4e6957b84dde0613ac (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Source: https://gitlab.archlinux.org/archlinux/packaging/packages/alure/-/blob/main/dumb-2.patch

diff -Naur a/src/codec_dumb.cpp b/src/codec_dumb.cpp
--- a/src/codec_dumb.cpp	2011-07-29 09:37:48.000000000 +0100
+++ b/src/codec_dumb.cpp	2020-05-10 15:59:48.502632496 +0100
@@ -272,7 +272,11 @@
 
 private:
     // DUMBFILE iostream callbacks
+#if DUMB_VERSION >= 2*10000
+    static int skip(void *user_data, dumb_off_t offset)
+#else
     static int skip(void *user_data, long offset)
+#endif
     {
         std::istream *stream = static_cast<dumbStream*>(user_data)->fstream;
         stream->clear();
@@ -282,7 +286,11 @@
         return -1;
     }
 
+#if DUMB_VERSION >= 2*10000
+    static dumb_ssize_t read(char *ptr, size_t size, void *user_data)
+#else
     static long read(char *ptr, long size, void *user_data)
+#endif
     {
         std::istream *stream = static_cast<dumbStream*>(user_data)->fstream;
         stream->clear();

1be4e87e0426f3b1b7f1a34265'>nls: Fix more Texinfo Italiano....Julien Lepiller 2023-03-07nls: Update translations.Julien Lepiller 2023-02-26nls: Fix more Texinfo Italiano....Tobias Geerinckx-Rice 2023-02-26nls: Fix typo in Italian translation....Tobias Geerinckx-Rice 2023-02-03gnu: Remove key-mon.scm....Julien Lepiller 2023-01-05nls: Update translations....Julien Lepiller 2022-12-15doc: Use VM image file name consistently....Ludovic Courtès 2022-12-04nls: Update translations....Julien Lepiller 2022-11-20scripts: Use translations for guix.pot for service descriptions....pelzflorian (Florian Pelz) 2022-11-15installer: Report known-unsupported PCI devices....Ludovic Courtès 2022-11-04nls: Update translations....Julien Lepiller 2022-10-08po: Fix syntax error in French translation....Ricardo Wurmus 2022-10-08po: Fix syntax error in German translation....Ricardo Wurmus 2022-10-06nls: Update translations.Julien Lepiller 2022-10-06services: dhcp-client: Implement and use a configuration record....Alexey Abramov 2022-09-24services: Add samba service....Simon Streit 2022-09-04nls: Update translations.Julien Lepiller 2022-08-16ui: Describe package outputs....Liliana Marie Prikler 2022-08-11po: Add 'guix/read-print.scm'....Ludovic Courtès 2022-08-10nls: Update translations....Julien Lepiller 2022-07-09nls: Update translations....Julien Lepiller 2022-06-24services: configuration: Report the location of field type errors....Ludovic Courtès 2022-06-17home: Add OpenSSH service....Ludovic Courtès 2022-06-04nls: Update translations....Julien Lepiller 2022-06-04guix home: Add 'edit' sub-command....Ludovic Courtès 2022-06-04guix system: Add 'edit' sub-command....Ludovic Courtès 2022-05-01nls: Update translations....Julien Lepiller 2022-04-02nls: Update translations....Julien Lepiller 2022-04-02nls: Enforce translation thresholds....Julien Lepiller 2022-03-18graph: Factorize 'lookup-backend'....Ludovic Courtès 2022-03-01nls: Update translations....Julien Lepiller 2022-02-04nls: Update translations....Julien Lepiller 2022-01-09nls: Update translations....Julien Lepiller 2022-01-03home: services: Make strings in Gexps translateble....Xinglu Chen