Changeset 98293
- Timestamp:
- Oct 2, 2012, 7:22:34 AM (12 years ago)
- Location:
- trunk/dports/math/gnuplot
- Files:
-
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/gnuplot/Portfile
r97625 r98293 6 6 7 7 name gnuplot 8 version 4.6.0 9 revision 2 8 version 4.6.1 10 9 categories math science 11 10 # the license has some inconvenient requirements that we're not meeting … … 33 32 extract.only ${distname}.tar.gz 34 33 checksums ${distname}.tar.gz \ 35 rmd160 2 c06500f45fb81850b45713a2cd0e38f0021b065\36 sha256 6e60adb5039a3541f407c2ade670004178b376754c424c13f0be24c7960c17be\34 rmd160 2b6fb6c1f1ce60f0bac2cb9b496c45b073ce6bb2 \ 35 sha256 f4bf99907d0fea7db90b6e50147f1730b5bde2fbb93d9e58478b6b94409eebc6 \ 37 36 ${name}.pdf \ 38 rmd160 374614145a7b78e263b0cfbb695eb22d07dede9a\39 sha256 57bd4d88e1321968ba06f29dfa322b4cd9e6beb4e0f42e1a4775d9c9a41af17037 rmd160 0ddad32373efab2145fcd0e6e4d4c3e751d535bf \ 38 sha256 05cec7b49c9b5435ca94f6b4e2f34b07365411a3610bca7eaf73fa9b5475b533 40 39 41 40 depends_lib port:expat \ … … 51 50 52 51 patchfiles patch-src-variable.c.diff \ 52 patch-docs-Makefile.in.diff \ 53 53 patch-upstream-compilerwarnings.diff \ 54 patch-upstream-wxt-scroll.diff \55 patch-upstream-qt.diff \56 patch-configure-qt.diff \57 54 patch-configure-aquaterm.diff 58 59 # upstream patches:60 #61 # - patch-upstream-compilerwarnings.diff62 # 2012-03-18 17:30:42 Hans-Bernhard Broeker (cvs commit:broeker)63 # - patch-upstream-wxt-scroll.diff64 # 2012-02-29 19:29:25 Mojca Miklavec (cvs commit:sfeam)65 # - patch-upstream-qt.diff66 # 2012-04-01 08:49:45 Jérôme Lodewyck (cvs commit:lodewyck)67 55 68 56 minimum_xcodeversions {9 3.1} … … 166 154 # and were installed straight into ${prefix}/share/texmf/tex/latex/gnuplot 167 155 # 168 # it may be removed after a while; it is only a problem for those who installed156 # it may be removed in August 2013; it is only a problem for those who installed 169 157 # with +tutorial 170 158 pre-activate { -
trunk/dports/math/gnuplot/files/patch-configure-aquaterm.diff
r96897 r98293 12 12 --- configure.orig 13 13 +++ configure 14 @@ -7 69,6 +769,7 @@ with_texdir14 @@ -787,6 +787,7 @@ with_texdir 15 15 with_kpsexpand 16 16 with_x … … 20 20 with_gihdir 21 21 with_linux_vga 22 @@ -1 482,6 +1483,7 @@ Optional Packages:22 @@ -1509,6 +1510,7 @@ Optional Packages: 23 23 --with-x use the X Window System 24 24 --with-x-app-defaultdir=DIR location of X11 application defaults … … 28 28 --with-gihdir=DIR location of .gih help text file 29 29 (default PREFIX/share/PACKAGE/VERSION) 30 @@ - 7485,8 +7487,8 @@ fi30 @@ -8024,8 +8026,8 @@ fi 31 31 rm -f conftest* 32 32 … … 39 39 /* end confdefs.h. */ 40 40 #if defined(__APPLE__) && defined(__MACH__) 41 @@ -7498,13 +7500,96 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41 @@ -8035,15 +8037,98 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42 _ACEOF 43 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 42 44 $EGREP "yes" >/dev/null 2>&1; then : 43 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 45 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 46 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44 47 $as_echo "yes" >&6; } 45 48 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aqtInit in -laquaterm" >&5 46 49 -$as_echo_n "checking for aqtInit in -laquaterm... " >&6; } 47 -if test "${ac_cv_lib_aquaterm_aqtInit+set}" = set; then :50 -if ${ac_cv_lib_aquaterm_aqtInit+:} false; then : 48 51 + is_apple=yes 49 52 +else … … 141 144 /* end confdefs.h. */ 142 145 143 @@ - 7524,33 +7609,32 @@ return aqtInit ();146 @@ -8063,33 +8148,32 @@ return aqtInit (); 144 147 } 145 148 _ACEOF … … 158 161 -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aquaterm_aqtInit" >&5 159 162 -$as_echo "$ac_cv_lib_aquaterm_aqtInit" >&6; } 160 -if test "x$ac_cv_lib_aquaterm_aqtInit" = x ""yes; then :163 -if test "x$ac_cv_lib_aquaterm_aqtInit" = xyes; then : 161 164 - LIBS="-laquaterm $LIBS -framework Foundation" 162 165 - CFLAGS="$CFLAGS -ObjC" … … 189 192 190 193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BeOS" >&5 191 @@ -1 4910,7 +14994,7 @@ else194 @@ -15496,7 +15580,7 @@ else 192 195 $as_echo " next terminal: no" >&6; } 193 196 fi … … 200 203 --- configure.in.orig 201 204 +++ configure.in 202 @@ -13 66,7 +1366,7 @@ else205 @@ -1370,7 +1370,7 @@ else 203 206 AC_MSG_RESULT([ next terminal: no]) 204 207 fi … … 357 360 #import <Foundation/NSAutoreleasePool.h> 358 361 #import <Foundation/NSArray.h> 359 @@ -356,7 +356,7 @@ AQUA_init()360 [adapter openPlotWithIndex:AQUA_plotRef];361 362 /* Check for support of version-dependent features */363 - AQUA_hasAlphaSupport = [AQTAdapter respondsToSelector:@selector(setColorRed:green:blue:alpha:)];364 + AQUA_hasAlphaSupport = [AQTAdapter instancesRespondToSelector:@selector(setColorRed:green:blue:alpha:)];365 366 /* set xmax, ymax*/367 term->xmax = AQUA_xSize; -
trunk/dports/math/gnuplot/files/patch-upstream-compilerwarnings.diff
r92572 r98293 1 1 --- src/color.c.orig 2 2 +++ src/color.c 3 @@ -51 5,7 +515,7 @@ cbtick_callback(3 @@ -517,7 +517,7 @@ cbtick_callback( 4 4 if (axis_array[axis].manual_justify) 5 5 just = axis_array[axis].label.pos; … … 10 10 if (hrotate) 11 11 (*term->text_angle)(0); 12 @@ -52 6,7 +526,7 @@ cbtick_callback(12 @@ -528,7 +528,7 @@ cbtick_callback( 13 13 if (axis_array[axis].manual_justify) 14 14 just = axis_array[axis].label.pos; … … 19 19 } 20 20 term_apply_lp_properties(&border_lp); /* border linetype */ 21 --- src/gplt_x11.c.orig22 +++ src/gplt_x11.c23 @@ -2897,22 +2897,22 @@ exec_cmd(plot_struct *plot, char *command)24 25 case PseudoColor:26 fprintf(stderr, ERROR_NOTICE("PseudoColor"));27 - fprintf(stderr, display_error_text_after);28 + fprintf(stderr, "%s", display_error_text_after);29 break;30 31 case GrayScale:32 fprintf(stderr, ERROR_NOTICE("GrayScale"));33 - fprintf(stderr, display_error_text_after);34 + fprintf(stderr, "%s", display_error_text_after);35 break;36 37 case StaticColor:38 fprintf(stderr, ERROR_NOTICE("StaticColor"));39 - fprintf(stderr, display_error_text_after);40 + fprintf(stderr, "%s", display_error_text_after);41 break;42 43 case StaticGray:44 fprintf(stderr, ERROR_NOTICE("StaticGray"));45 - fprintf(stderr, display_error_text_after);46 + fprintf(stderr, "%s", display_error_text_after);47 break;48 49 case DirectColor:50 21 --- src/graphics.c.orig 51 22 +++ src/graphics.c 52 @@ -17 34,7 +1734,7 @@ do_plot(struct curve_points *plots, int pcount)23 @@ -1720,7 +1720,7 @@ do_plot(struct curve_points *plots, int pcount) 53 24 ignore_enhanced(axis_array[FIRST_X_AXIS].label.noenhanced); 54 25 apply_pm3dcolor(&(axis_array[FIRST_X_AXIS].label.textcolor), t); … … 61 32 --- src/plot2d.c.orig 62 33 +++ src/plot2d.c 63 @@ -212 0,7 +2120,7 @@ eval_plots()34 @@ -2127,7 +2127,7 @@ eval_plots() 64 35 65 36 if (this_plot->labels == NULL) { … … 70 41 } 71 42 parse_label_options(this_plot->labels); 72 @@ -23 09,7 +2309,7 @@ eval_plots()43 @@ -2316,7 +2316,7 @@ eval_plots() 73 44 if (this_plot->plot_style == LABELPOINTS) { 74 45 if (this_plot->labels == NULL) { … … 81 52 --- src/plot3d.c.orig 82 53 +++ src/plot3d.c 83 @@ -155 5,7 +1555,7 @@ eval_3dplots()54 @@ -1559,7 +1559,7 @@ eval_3dplots() 84 55 int stored_token = c_token; 85 56 if (this_plot->labels == NULL) { … … 90 61 } 91 62 parse_label_options(this_plot->labels); 63 --- src/wxterminal/wxt_gui.cpp.orig 64 +++ src/wxterminal/wxt_gui.cpp 65 @@ -2692,6 +2692,7 @@ void wxtPanel::wxt_cairo_exec_command(gp_command command) 66 text_justification_mode = command.mode; 67 return; 68 case command_put_text : 69 + case command_enhanced_put_text : 70 if (wxt_in_key_sample) { 71 int slen = strlen(command.string) * term->h_char * 0.75; 72 if (text_justification_mode == RIGHT) slen = -slen; 73 --- term/lua.trm.orig 74 +++ term/lua.trm 75 @@ -872,7 +872,7 @@ LUA_init() 76 { 77 fseek(gpoutfile, 0, SEEK_SET); 78 /* ignore compiler warnings here, because `gpoutfile' is already open */ 79 - if (ftruncate(fileno(gpoutfile), 0)); 80 + (void)ftruncate(fileno(gpoutfile), 0); 81 82 /* reset image counter */ 83 image_cnt = 0; 84 --- term/x11.trm.orig 85 +++ term/x11.trm 86 @@ -617,7 +617,11 @@ X11_options() 87 /* Leave the current window unchanged when closing an old window */ 88 if (X11_ipc) { 89 if (set_close) { 90 - fprintf(X11_ipc, (set_number ? "C%d\n" : "C\n"), new_term_number); 91 + if (set_number) { 92 + fprintf(X11_ipc, "C%d\n", new_term_number); 93 + } else { 94 + fputs("C\n", X11_ipc); 95 + } 96 fflush(X11_ipc); 97 } else if (set_number) { 98 #ifdef EXTERNAL_X11_WINDOW
Note: See TracChangeset
for help on using the changeset viewer.