mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 03:51:18 +02:00
create bsd12 branch
This commit is contained in:
12
gnome/scrollkeeper/files/patch-libs_database.c
Normal file
12
gnome/scrollkeeper/files/patch-libs_database.c
Normal file
@@ -0,0 +1,12 @@
|
||||
--- libs/database.c.orig 2002-06-02 06:03:10.000000000 +0000
|
||||
+++ libs/database.c 2012-09-03 22:39:28.000000000 +0000
|
||||
@@ -131,7 +131,8 @@
|
||||
|
||||
/* create locale directories and symlinks */
|
||||
|
||||
- dir = opendir(data_dir);
|
||||
+ if ((dir = opendir(data_dir)) == NULL)
|
||||
+ return 1;
|
||||
|
||||
while((dir_ent = readdir(dir)) != NULL)
|
||||
{
|
||||
Reference in New Issue
Block a user