2015-09-27 19:33:37 +01:00
|
|
|
--- a/src/procmime.c 2015-10-01 23:02:16.629908590 -0700
|
|
|
|
+++ b/src/procmime.c 2015-10-01 23:02:46.932001337 -0700
|
2015-09-18 12:20:16 +01:00
|
|
|
@@ -1196,11 +1196,7 @@
|
|
|
|
if (mime_type_list)
|
|
|
|
return mime_type_list;
|
|
|
|
|
|
|
|
-#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
|
2015-09-27 19:33:37 +01:00
|
|
|
- if ((fp = procmime_fopen(DATAROOTDIR "/mime/globs", "rb")) == NULL)
|
2015-09-18 12:20:16 +01:00
|
|
|
-#else
|
|
|
|
- if ((fp = procmime_fopen("/usr/share/mime/globs", "rb")) == NULL)
|
|
|
|
-#endif
|
2015-09-27 19:33:37 +01:00
|
|
|
+ if ((fp = procmime_fopen("@MIMEROOTDIR@/mime/globs", "rb")) == NULL)
|
2015-09-18 12:20:16 +01:00
|
|
|
{
|
|
|
|
fp_is_glob_file = FALSE;
|
|
|
|
if ((fp = procmime_fopen("/etc/mime.types", "rb")) == NULL) {
|