SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,26 @@
--- src/gtkcompletionline.cc.orig Sun Nov 16 03:55:07 2003
+++ src/gtkcompletionline.cc Fri Mar 23 14:45:10 2012
@@ -76,9 +76,9 @@ static gboolean
on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data);
/* get_type */
-guint gtk_completion_line_get_type(void)
+GtkType gtk_completion_line_get_type(void)
{
- static guint type = 0;
+ static GtkType type = 0;
if (type == 0)
{
GtkTypeInfo type_info =
@@ -376,10 +376,7 @@ select_executables_only(const struct dirent* dent)
return 0;
}
-int my_alphasort(const void* va, const void* vb) {
- const struct dirent** a = (const struct dirent**)va;
- const struct dirent** b = (const struct dirent**)vb;
-
+int my_alphasort(const struct dirent** a, const dirent** b) {
const char* s1 = (*a)->d_name;
const char* s2 = (*b)->d_name;