diff options
author | Rene Ladan <rene@FreeBSD.org> | 2018-12-11 13:02:50 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2018-12-11 13:02:50 +0000 |
commit | 0fd403935ec532c3f1c293c1ce848fa11ef2f67f (patch) | |
tree | cd29f22d33a798f960e55b15a36127d05436a4db /misc/gregexp/files/patch-src__main.c | |
parent | - Update to 1.22.2 (diff) |
Remove expired ports:
2018-12-10 net/g2ipmsg: GNOME 2 application
2018-12-10 net/grdesktop: GNOME 2 application
2018-12-10 textproc/gnome-spell: GNOME 2 application
2018-12-10 textproc/sagasu: GNOME 2 application
2018-12-10 deskutils/planner: GNOME 2 application
2018-12-10 deskutils/multisync: GNOME 2 application
2018-12-10 deskutils/drivel: GNOME 2 application
2018-12-10 deskutils/notecase: GNOME 2 application
2018-12-10 deskutils/gtodo: GNOME 2 application
2018-12-10 deskutils/gtweakui: GNOME 2 application
2018-12-10 deskutils/gnotime: GNOME 2 application
2018-12-10 deskutils/gruler: GNOME 2 application
2018-12-10 japanese/gjiten: GNOME 2 application
2018-12-10 graphics/truevision: GNOME 2 application
2018-12-10 graphics/gx: GNOME 2 application
2018-12-10 graphics/amide: GNOME 2 application
2018-12-10 graphics/cbrpager: GNOME 2 application
2018-12-10 www/gurlchecker: GNOME 2 application
2018-12-10 security/gpass: GNOME 2 application
2018-12-10 security/libgnomesu: GNOME 2 application
2018-12-10 security/gnome-gpg: GNOME 2 application
2018-12-10 devel/gnome-vfs-monikers: GNOME 2 application
2018-12-10 ftp/gwget: GNOME 2 application
2018-12-10 print/gribouy: GNOME 2 application
2018-12-10 print/gnomephotoprinter: GNOME 2 application
2018-12-10 print/ggv: GNOME 2 application
2018-12-10 print/gnome-cups-manager: GNOME 2 application
2018-12-10 editors/conglomerate: GNOME 2 application
2018-12-10 misc/gregexp: GNOME 2 application
2018-12-10 science/linsmith: GNOME 2 application
2018-12-10 games/grhino: GNOME 2 application
2018-12-10 games/gnono: GNOME 2 application
2018-12-10 games/gnomekiss: GNOME 2 application
2018-12-10 games/gtktetcolor: GNOME 2 application
2018-12-10 games/gturing: GNOME 2 application
2018-12-10 games/gtetrinet: GNOME 2 application
2018-12-10 games/gdado: GNOME 2 application
2018-12-10 games/monkeybubble: GNOME 2 application
2018-12-10 games/teg: GNOME 2 application
2018-12-10 games/gnomeattacks: GNOME 2 application
2018-12-10 games/gnomebreakout: GNOME 2 application
2018-12-10 x11-clocks/gtubeclock: GNOME 2 application
2018-12-10 x11-clocks/sanduhr: GNOME 2 application
2018-12-10 audio/grip: GNOME 2 application
2018-12-10 audio/jack-rack: GNOME 2 application
2018-12-10 math/gdcalc: GNOME 2 application
2018-12-10 x11/brightside: GNOME 2 application
2018-12-10 x11-fm/gnome-commander2: GNOME 2 application
2018-12-10 multimedia/quark: GNOME 2 application
2018-12-10 astro/celestia-gnome: GNOME 2 application
2018-12-10 comms/gmfsk: GNOME 2 application
2018-12-10 comms/ge-x2212: GNOME 2 application
2018-12-10 comms/efax-gtk: GNOME 2 application
2018-12-10 sysutils/gnome-pkgview: GNOME 2 application
2018-12-10 sysutils/fusefs-gnome-vfs: GNOME 2 application
2018-12-10 sysutils/gai-leds: GNOME 2 application
2018-12-10 sysutils/gnome-device-manager: GNOME 2 application
2018-12-10 sysutils/battfink: GNOME 2 application
2018-12-10 sysutils/cog: GNOME 2 application
2018-12-10 sysutils/gcdmaster: GNOME 2 application
Notes
Notes:
svn path=/head/; revision=487235
Diffstat (limited to 'misc/gregexp/files/patch-src__main.c')
-rw-r--r-- | misc/gregexp/files/patch-src__main.c | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/misc/gregexp/files/patch-src__main.c b/misc/gregexp/files/patch-src__main.c deleted file mode 100644 index 78569bc147dd..000000000000 --- a/misc/gregexp/files/patch-src__main.c +++ /dev/null @@ -1,120 +0,0 @@ ---- src/main.c.orig Wed Mar 10 17:35:40 2004 -+++ src/main.c Thu Jul 1 21:03:44 2004 -@@ -107,16 +107,20 @@ - - void set_escaped ( gchar * expression, unsigned int levels ) - { -+ unsigned int num; -+ gchar * escaped; -+ unsigned int x; // temp var -+ unsigned int i, j; -+ - if ( !expression ) - return; - -- unsigned int num = (1<<levels)-1; -- gchar * escaped = g_malloc ( (strlen ( expression ) * (num+1) )+1 ); // worst case if each character would be escaped -+ num = (1<<levels)-1; -+ escaped = g_malloc ( (strlen ( expression ) * (num+1) )+1 ); // worst case if each character would be escaped - escaped[0] = 0; - -- unsigned int x; // temp var -- unsigned int i = 0; -- unsigned int j = 0; -+ i = 0; -+ j = 0; - while ( expression[i] ) - { - switch ( expression[i] ) -@@ -144,10 +148,12 @@ - - void clear_result () - { -+ ResultItem * result; -+ - if ( !lastResult ) - return; - -- ResultItem * result = lastResult; -+ result = lastResult; - while ( result->position >= 0 ) - { - if ( result->value ) -@@ -202,14 +208,16 @@ - ResultItem * transform ( int * ovector, unsigned int matches, const gchar * data ) - { - ResultItem * resultItems; -+ int parent; -+ GTrashStack * stack; -+ unsigned int o; - - resultItems = g_malloc ( sizeof(ResultItem)*(matches+1) ); - -- int parent = 0; -+ parent = 0; - -- GTrashStack * stack = NULL; -+ stack = NULL; - -- unsigned int o; - for ( o = 0; o<matches; o++ ) - { - int offset = ovector[o*2]; -@@ -268,17 +276,18 @@ - { - GtkTextIter iter; - GtkTextBuffer * buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(resultEntry) ); -+ gchar * result; -+ int o, j, i, x; - - gtk_text_buffer_set_text ( buffer, "", -1 ); - - gtk_text_buffer_get_iter_at_offset (buffer, &iter, 0); - -- gchar * result = g_malloc ( (strlen ( data ) + 128 ) * 2 ); -+ result = g_malloc ( (strlen ( data ) + 128 ) * 2 ); - -- int o; -- int j = 0; -- int i = 0; -- int x = 0; -+ j = 0; -+ i = 0; -+ x = 0; - while ( data[i] ) - { - for ( o = 0; o<matches; o++ ) -@@ -362,6 +371,8 @@ - - int flags = PCRE_UTF8; - -+ ResultItem * resultItems; -+ - if ( opt_multiline() ) - flags |= PCRE_MULTILINE; - -@@ -403,7 +414,6 @@ - - // Fill result tree - -- ResultItem * resultItems; - resultItems = transform ( ovector, rc, data ); - update_model ( resultItems, resultTree ); - -@@ -441,14 +451,14 @@ - GtkTreeSelection * sel; - GtkTreeModel * model; - GtkTreeIter iter; -+ gint position; -+ - sel = gtk_tree_view_get_selection ( GTK_TREE_VIEW(resultTree) ); - - if ( !gtk_tree_selection_get_selected ( sel, &model, &iter ) ) - { - return; - } -- -- gint position; - - gtk_tree_model_get ( model, &iter, POSITION_COLUMN, &position, -1 ); - |