openbsd-ports/audio/grip/patches/patch-src_gripcfg_c
naddy ac83cd8e23 * add missing return value (clang fix from upstream)
* replace gettext module and sync wantlib
2017-04-30 15:38:15 +00:00

13 lines
332 B
Plaintext

$OpenBSD: patch-src_gripcfg_c,v 1.1 2017/04/30 15:38:15 naddy Exp $
--- src/gripcfg.c.orig
+++ src/gripcfg.c
@@ -791,7 +791,7 @@ gboolean LoadRipperConfig(GripInfo *ginfo,int ripcfg)
};
#ifdef CDPAR
- if(ripcfg==0) return;
+ if(ripcfg==0) return 0;
#endif
sprintf(buf,"%s/%s-%s",getenv("HOME"),ginfo->config_filename,