unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 43e23c7015fb753acc40e6a2aa3b52dd33321e1c 583 bytes (raw)
name: gnu/packages/patches/libofa-2.diff 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
Description: fix an issue.
Author: Lukáš Lalinský <lalinsky@gmail.com>
Last-Update: 2006-08-22
Index: libofa-0.9.3/examples/wavefile.cpp
===================================================================
--- libofa-0.9.3.orig/examples/wavefile.cpp
+++ libofa-0.9.3/examples/wavefile.cpp
@@ -42,7 +42,11 @@ AudioData* loadWaveFile(char *file) {
     int srate = 0;
     int channels = 0;
 
-    int fd = open(file, O_RDONLY | 0x8000);
+#ifdef WIN32
+    int fd = open(file, O_RDONLY | O_BINARY);
+#else
+    int fd = open(file, O_RDONLY);
+#endif
     if (fd == -1)
 	return 0;
 

debug log:

solving 43e23c7015 ...
found 43e23c7015 in https://yhetil.org/guix-devel/b8c0ab3a-857f-c4f0-f614-936e9ffd1e28@disroot.org/

applying [1/1] https://yhetil.org/guix-devel/b8c0ab3a-857f-c4f0-f614-936e9ffd1e28@disroot.org/
diff --git a/gnu/packages/patches/libofa-2.diff b/gnu/packages/patches/libofa-2.diff
new file mode 100644
index 0000000000..43e23c7015

1:17: trailing whitespace.
 
1:25: space before tab in indent.
 	return 0;
1:26: trailing whitespace.
 
Checking patch gnu/packages/patches/libofa-2.diff...
1:26: new blank line at EOF.
+
Applied patch gnu/packages/patches/libofa-2.diff cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 43e23c7015fb753acc40e6a2aa3b52dd33321e1c	gnu/packages/patches/libofa-2.diff

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).