void-packages/srcpkgs/dumb/patches/example-use-1.0-api.patch

12 lines
317 B
Diff

--- %_example_wrksrc%/dumb2wav.c.orig
+++ %_example_wrksrc%/dumb2wav.c
@@ -221,7 +221,7 @@
if (!duh) {
duh = dumb_load_s3m(fn);
if (!duh) {
- duh = dumb_load_mod(fn);
+ duh = dumb_load_mod(fn, 0);
if (!duh) {
fprintf(stderr, "Unable to open %s!\n", fn);
return EXIT_FAILURE;