57bdad4cf1
Steve Shockley <steve.shockley at shockley.net> with a little cleanup from me
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src_rip_c,v 1.3 2004/09/26 09:23:44 sturm Exp $
|
|
--- src/rip.c.orig Sun Jan 12 00:00:00 2003
|
|
+++ src/rip.c Sun Sep 26 10:06:26 2004
|
|
@@ -27,7 +27,7 @@
|
|
#elif defined (HAVE_SYS_VFS_H)
|
|
#include <sys/vfs.h>
|
|
#endif
|
|
-#if defined(__FreeBSD__)
|
|
+#if defined(__OpenBSD__)
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
#endif
|
|
@@ -385,7 +385,7 @@ static void AddSQLEntry(GripInfo *ginfo,
|
|
"-t",enc_track->song_name,"-d",enc_track->disc_name,
|
|
"-g",ID3GenreString(enc_track->id3_genre),"-y",year_str,
|
|
"-n",track_str,
|
|
- "-f",frame_str,"-l",length_str,"-m",playtime_str,NULL);
|
|
+ "-f",frame_str,"-l",length_str,"-m",playtime_str,(void *)NULL);
|
|
else
|
|
execlp("mp3insert","mp3insert",
|
|
"-p",enc_track->mp3_filename,
|
|
@@ -393,7 +393,7 @@ static void AddSQLEntry(GripInfo *ginfo,
|
|
"-t",enc_track->song_name,"-d",enc_track->disc_name,
|
|
"-g",ID3GenreString(enc_track->id3_genre),"-y",year_str,
|
|
"-n",track_str,
|
|
- "-f",frame_str,"-l",length_str,"-m",playtime_str,NULL);
|
|
+ "-f",frame_str,"-l",length_str,"-m",playtime_str,(void *)NULL);
|
|
|
|
_exit(0);
|
|
}
|