openbsd-ports/audio/grip/patches/patch-src_rip_c

31 lines
1.1 KiB
Plaintext
Raw Normal View History

$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
2002-05-07 17:05:33 -04:00
@@ -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,
2003-01-18 01:36:31 -05:00
"-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,
2003-01-18 01:36:31 -05:00
"-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);
}