]> git.pld-linux.org Git - packages/sound-juicer.git/blame - sound-juicer-devfs.patch
- existance of /dev/cdroms directory (it's in dev package) doesn't mean that
[packages/sound-juicer.git] / sound-juicer-devfs.patch
CommitLineData
6457aab6 1diff -urN aa/sound-juicer-0.5.10.1/src/cd-drive.c sound-juicer-0.5.10.1/src/cd-drive.c
2--- aa/sound-juicer-0.5.10.1/src/cd-drive.c 2004-01-17 17:54:01.000000000 +0100
3+++ sound-juicer-0.5.10.1/src/cd-drive.c 2004-04-03 23:45:42.339541304 +0200
4@@ -573,13 +573,13 @@
5 GList *cdroms_list;
6 gboolean have_devfs;
7
8- /* devfs creates and populates the /dev/cdroms directory when its mounted
9+ /* devfs creates and populates the /proc/fs/devfs directory when its mounted
10 * the 'old style names' are matched with devfs names below.
11 * The cdroms.device string gets cleaned up again in cdrom_get_name()
12 * we need the oldstyle name to get device->display_name for ide.
13 */
14 have_devfs = FALSE;
15- if (g_file_test ("/dev/cdroms", G_FILE_TEST_IS_DIR)) {
16+ if (g_file_test ("/proc/fs/devfs", G_FILE_TEST_IS_DIR)) {
17 have_devfs = TRUE;
18 }
19
This page took 0.117983 seconds and 4 git commands to generate.