diff options
author | tron <tron> | 2001-08-09 15:35:42 +0000 |
---|---|---|
committer | tron <tron> | 2001-08-09 15:35:42 +0000 |
commit | 444827eaf45618b915c0dc43cc5cb151f5b14f61 (patch) | |
tree | 1391a848c5648421f19e511f1cbd5d6da6126a8e /graphics | |
parent | 6b3fa2692617a58326599a09b401970493640749 (diff) | |
download | pkgsrc-444827eaf45618b915c0dc43cc5cb151f5b14f61.tar.gz |
Remove patches obsoleted by update to version 3.2.3.4.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xfig/patches/patch-ad | 87 | ||||
-rw-r--r-- | graphics/xfig/patches/patch-ae | 21 |
2 files changed, 0 insertions, 108 deletions
diff --git a/graphics/xfig/patches/patch-ad b/graphics/xfig/patches/patch-ad deleted file mode 100644 index d2c49bfdafd..00000000000 --- a/graphics/xfig/patches/patch-ad +++ /dev/null @@ -1,87 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2000/06/29 07:20:39 tron Exp $ - ---- w_color.c.orig Mon Jan 3 11:09:46 2000 -+++ w_color.c Mon Jun 12 12:18:40 2000 -@@ -250,7 +250,6 @@ - choice_info *choice; - XColor col; - Pixel form_fg; -- XGCValues values; - Widget below, beside, stdForm, stdLabel; - Widget sb; - char str[8]; -@@ -707,7 +706,8 @@ - valScroll = XtCreateManagedWidget("valScroll", scrollbarWidgetClass, - mixingForm, Args, ArgCount); - -- original_background = values.foreground; -+ /* get background color of redLocked to restore background for locked sliders */ -+ XtVaGetValues(redLocked, XtNbackground, &(original_background), NULL); - bars_locked = 0; - - XtAddCallback(redScroll, XtNjumpProc, Thumbed, (XtPointer)S_RED); -@@ -960,6 +960,8 @@ - put_msg("No more user colors allowed"); - modified[edit_fill] = True; - pick_memory(current_memory); -+ colorUsed[current_memory]=True; -+ - } - - /* delete a color memory (current_memory) from the user colors */ -@@ -1020,6 +1022,7 @@ - num_usr_cols); - return; - } -+ colorUsed[indx] = True; - } - - /* count the number of unique user colors actually used by Fig objects */ -@@ -1212,7 +1215,7 @@ - - /* if not, increment num_usr_cols */ - if (indx>= num_usr_cols) { -- if (num_usr_cols >= MAX_USR_COLS-1) -+ if (num_usr_cols >= MAX_USR_COLS) - return -1; - if (use_exist) - num_usr_cols = indx+1; -@@ -1233,6 +1236,8 @@ - colors[NUM_STD_COLS+indx] = user_colors[indx].pixel; - - colorFree[indx] = False; -+ colorUsed[indx] = False; -+ - - /* if the color popup has been created create the widgets */ - if (pen_color_button->panel) { -@@ -1397,6 +1402,7 @@ - XFreeColors(tool_d, tool_cm, pixels, 1, 0); - /* now set free flag for that cell */ - colorFree[indx] = True; -+ colorUsed[indx] = False; - } - - /* if any object in the figure uses the user color "color" return True */ -@@ -1903,8 +1909,11 @@ - } - - do_change = True; -- if (current_memory >= 0) -+ if (current_memory >= 0) { - StoreMix_and_Mem(); -+ if (!colorUsed[current_memory]) -+ colorUsed[current_memory] = True; -+ } - update_scrl_triple((Widget)NULL, (XEvent *)NULL, - (String *)NULL, (Cardinal *)NULL); - } -@@ -2058,6 +2067,8 @@ - if (do_change) { - if (current_memory >= 0) { - StoreMix_and_Mem(); -+ if (!colorUsed[current_memory]) -+ colorUsed[current_memory] = True; - update_scrl_triple((Widget)NULL, (XEvent *)NULL, - (String *)NULL, (Cardinal *)NULL); - } diff --git a/graphics/xfig/patches/patch-ae b/graphics/xfig/patches/patch-ae deleted file mode 100644 index 7cb4724117d..00000000000 --- a/graphics/xfig/patches/patch-ae +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ae,v 1.1 2000/06/29 07:20:41 tron Exp $ - ---- w_file.c.orig Tue Jan 11 14:03:33 2000 -+++ w_file.c Mon Jun 12 12:18:40 2000 -@@ -1206,8 +1206,10 @@ - reset_layers(); - - /* save user colors in case preview changes them */ -- save_user_colors(); -- save_nuser_colors(); -+ if (!user_colors_saved) { -+ save_user_colors(); -+ save_nuser_colors(); -+ } - - /* make the cancel button sensitive */ - XtSetSensitive(preview_stop, True); ->Release-Note: ->Audit-Trail: ->Unformatted: - |