$OpenBSD: patch-src_rip_c,v 1.4 2005/06/30 22:34:29 alek Exp $ --- src/rip.c.orig Mon Jun 6 11:08:44 2005 +++ src/rip.c Mon Jun 6 11:09:34 2005 @@ -27,7 +27,7 @@ #elif defined (HAVE_SYS_VFS_H) #include #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__OpenBSD__) || defined(__NetBSD__) #include #include #endif @@ -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); else execlp("mp3insert","mp3insert", "-p",enc_track->mp3_filename, @@ -401,7 +401,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); }