update to 5.06 changes: Xinerama/RANDR fixes: this time for sure. It should now work to add/remove monitors or resize screens at any time. New hack, skytentacles. New version of gleidescope. Added the -log option to the xscreensaver daemon, since a truly shocking number of Linux users seem to have no idea how to redirect output to a file. Added -duration arg to most image-loading hacks, so that they pick a new image every few minutes. Added an ATM crash to BSOD.diff -r1.96 -r1.97 pkgsrc/x11/xscreensaver/Makefile.common
(drochner)
@@ -1,20 +1,20 @@ | @@ -1,20 +1,20 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.96 2008/03/10 12:37:12 drochner Exp $ | 1 | # $NetBSD: Makefile.common,v 1.97 2008/07/30 20:18:36 drochner Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | # When updating the package, | 4 | # When updating the package, | |
5 | # please check kdeartwork3 -- it installs some extra | 5 | # please check kdeartwork3 -- it installs some extra | |
6 | # files depending on which screensavers it finds. | 6 | # files depending on which screensavers it finds. | |
7 | DISTNAME= xscreensaver-5.05 | 7 | DISTNAME= xscreensaver-5.06 | |
8 | CATEGORIES= x11 | 8 | CATEGORIES= x11 | |
9 | MASTER_SITES= ${HOMEPAGE} | 9 | MASTER_SITES= ${HOMEPAGE} | |
10 | 10 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 11 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://www.jwz.org/xscreensaver/ | 12 | HOMEPAGE= http://www.jwz.org/xscreensaver/ | |
13 | 13 | |||
14 | BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.2 | 14 | BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=1.0.2 | |
15 | 15 | |||
16 | USE_PKGLOCALEDIR= yes | 16 | USE_PKGLOCALEDIR= yes | |
17 | USE_X11= yes | 17 | USE_X11= yes | |
18 | USE_TOOLS+= msgfmt perl | 18 | USE_TOOLS+= msgfmt perl | |
19 | 19 | |||
20 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.32 2008/03/10 12:37:12 drochner Exp $ | 1 | @comment $NetBSD: PLIST,v 1.33 2008/07/30 20:18:36 drochner Exp $ | |
2 | bin/xscreensaver | 2 | bin/xscreensaver | |
3 | bin/xscreensaver-command | 3 | bin/xscreensaver-command | |
4 | bin/xscreensaver-getimage | 4 | bin/xscreensaver-getimage | |
5 | bin/xscreensaver-getimage-file | 5 | bin/xscreensaver-getimage-file | |
6 | bin/xscreensaver-getimage-video | 6 | bin/xscreensaver-getimage-video | |
7 | bin/xscreensaver-gl-helper | 7 | bin/xscreensaver-gl-helper | |
8 | bin/xscreensaver-text | 8 | bin/xscreensaver-text | |
9 | lib/X11/app-defaults/XScreenSaver | 9 | lib/X11/app-defaults/XScreenSaver | |
10 | libexec/xscreensaver/abstractile | 10 | libexec/xscreensaver/abstractile | |
11 | libexec/xscreensaver/anemone | 11 | libexec/xscreensaver/anemone | |
12 | libexec/xscreensaver/anemotaxis | 12 | libexec/xscreensaver/anemotaxis | |
13 | libexec/xscreensaver/antinspect | 13 | libexec/xscreensaver/antinspect | |
14 | libexec/xscreensaver/antmaze | 14 | libexec/xscreensaver/antmaze | |
@@ -204,26 +204,27 @@ libexec/xscreensaver/config/pyro.xml | @@ -204,26 +204,27 @@ libexec/xscreensaver/config/pyro.xml | |||
204 | libexec/xscreensaver/config/qix.xml | 204 | libexec/xscreensaver/config/qix.xml | |
205 | libexec/xscreensaver/config/queens.xml | 205 | libexec/xscreensaver/config/queens.xml | |
206 | libexec/xscreensaver/config/rd-bomb.xml | 206 | libexec/xscreensaver/config/rd-bomb.xml | |
207 | libexec/xscreensaver/config/ripples.xml | 207 | libexec/xscreensaver/config/ripples.xml | |
208 | libexec/xscreensaver/config/rocks.xml | 208 | libexec/xscreensaver/config/rocks.xml | |
209 | libexec/xscreensaver/config/rorschach.xml | 209 | libexec/xscreensaver/config/rorschach.xml | |
210 | libexec/xscreensaver/config/rotor.xml | 210 | libexec/xscreensaver/config/rotor.xml | |
211 | libexec/xscreensaver/config/rotzoomer.xml | 211 | libexec/xscreensaver/config/rotzoomer.xml | |
212 | libexec/xscreensaver/config/rubik.xml | 212 | libexec/xscreensaver/config/rubik.xml | |
213 | libexec/xscreensaver/config/sballs.xml | 213 | libexec/xscreensaver/config/sballs.xml | |
214 | libexec/xscreensaver/config/shadebobs.xml | 214 | libexec/xscreensaver/config/shadebobs.xml | |
215 | libexec/xscreensaver/config/sierpinski.xml | 215 | libexec/xscreensaver/config/sierpinski.xml | |
216 | libexec/xscreensaver/config/sierpinski3d.xml | 216 | libexec/xscreensaver/config/sierpinski3d.xml | |
217 | libexec/xscreensaver/config/skytentacles.xml | |||
217 | libexec/xscreensaver/config/slidescreen.xml | 218 | libexec/xscreensaver/config/slidescreen.xml | |
218 | libexec/xscreensaver/config/slip.xml | 219 | libexec/xscreensaver/config/slip.xml | |
219 | libexec/xscreensaver/config/sonar.xml | 220 | libexec/xscreensaver/config/sonar.xml | |
220 | libexec/xscreensaver/config/speedmine.xml | 221 | libexec/xscreensaver/config/speedmine.xml | |
221 | libexec/xscreensaver/config/sphere.xml | 222 | libexec/xscreensaver/config/sphere.xml | |
222 | libexec/xscreensaver/config/sphereeversion.xml | 223 | libexec/xscreensaver/config/sphereeversion.xml | |
223 | libexec/xscreensaver/config/spheremonics.xml | 224 | libexec/xscreensaver/config/spheremonics.xml | |
224 | libexec/xscreensaver/config/spiral.xml | 225 | libexec/xscreensaver/config/spiral.xml | |
225 | libexec/xscreensaver/config/spotlight.xml | 226 | libexec/xscreensaver/config/spotlight.xml | |
226 | libexec/xscreensaver/config/sproingies.xml | 227 | libexec/xscreensaver/config/sproingies.xml | |
227 | libexec/xscreensaver/config/squiral.xml | 228 | libexec/xscreensaver/config/squiral.xml | |
228 | libexec/xscreensaver/config/stairs.xml | 229 | libexec/xscreensaver/config/stairs.xml | |
229 | libexec/xscreensaver/config/starfish.xml | 230 | libexec/xscreensaver/config/starfish.xml | |
@@ -390,26 +391,27 @@ libexec/xscreensaver/pyro | @@ -390,26 +391,27 @@ libexec/xscreensaver/pyro | |||
390 | libexec/xscreensaver/qix | 391 | libexec/xscreensaver/qix | |
391 | libexec/xscreensaver/queens | 392 | libexec/xscreensaver/queens | |
392 | libexec/xscreensaver/rd-bomb | 393 | libexec/xscreensaver/rd-bomb | |
393 | libexec/xscreensaver/ripples | 394 | libexec/xscreensaver/ripples | |
394 | libexec/xscreensaver/rocks | 395 | libexec/xscreensaver/rocks | |
395 | libexec/xscreensaver/rorschach | 396 | libexec/xscreensaver/rorschach | |
396 | libexec/xscreensaver/rotor | 397 | libexec/xscreensaver/rotor | |
397 | libexec/xscreensaver/rotzoomer | 398 | libexec/xscreensaver/rotzoomer | |
398 | libexec/xscreensaver/rubik | 399 | libexec/xscreensaver/rubik | |
399 | libexec/xscreensaver/sballs | 400 | libexec/xscreensaver/sballs | |
400 | libexec/xscreensaver/shadebobs | 401 | libexec/xscreensaver/shadebobs | |
401 | libexec/xscreensaver/sierpinski | 402 | libexec/xscreensaver/sierpinski | |
402 | libexec/xscreensaver/sierpinski3d | 403 | libexec/xscreensaver/sierpinski3d | |
404 | libexec/xscreensaver/skytentacles | |||
403 | libexec/xscreensaver/slidescreen | 405 | libexec/xscreensaver/slidescreen | |
404 | libexec/xscreensaver/slip | 406 | libexec/xscreensaver/slip | |
405 | libexec/xscreensaver/sonar | 407 | libexec/xscreensaver/sonar | |
406 | libexec/xscreensaver/speedmine | 408 | libexec/xscreensaver/speedmine | |
407 | libexec/xscreensaver/sphere | 409 | libexec/xscreensaver/sphere | |
408 | libexec/xscreensaver/spheremonics | 410 | libexec/xscreensaver/spheremonics | |
409 | libexec/xscreensaver/spiral | 411 | libexec/xscreensaver/spiral | |
410 | libexec/xscreensaver/spotlight | 412 | libexec/xscreensaver/spotlight | |
411 | libexec/xscreensaver/sproingies | 413 | libexec/xscreensaver/sproingies | |
412 | libexec/xscreensaver/squiral | 414 | libexec/xscreensaver/squiral | |
413 | libexec/xscreensaver/stairs | 415 | libexec/xscreensaver/stairs | |
414 | libexec/xscreensaver/starfish | 416 | libexec/xscreensaver/starfish | |
415 | libexec/xscreensaver/starwars | 417 | libexec/xscreensaver/starwars | |
@@ -554,27 +556,27 @@ man/man6/interaggregate.6 | @@ -554,27 +556,27 @@ man/man6/interaggregate.6 | |||
554 | man/man6/interference.6 | 556 | man/man6/interference.6 | |
555 | man/man6/intermomentary.6 | 557 | man/man6/intermomentary.6 | |
556 | man/man6/jigglypuff.6 | 558 | man/man6/jigglypuff.6 | |
557 | man/man6/jigsaw.6 | 559 | man/man6/jigsaw.6 | |
558 | man/man6/juggle.6 | 560 | man/man6/juggle.6 | |
559 | man/man6/juggler3d.6 | 561 | man/man6/juggler3d.6 | |
560 | man/man6/julia.6 | 562 | man/man6/julia.6 | |
561 | man/man6/kaleidescope.6 | 563 | man/man6/kaleidescope.6 | |
562 | man/man6/klein.6 | 564 | man/man6/klein.6 | |
563 | man/man6/kumppa.6 | 565 | man/man6/kumppa.6 | |
564 | man/man6/lament.6 | 566 | man/man6/lament.6 | |
565 | man/man6/laser.6 | 567 | man/man6/laser.6 | |
566 | man/man6/lavalite.6 | 568 | man/man6/lavalite.6 | |
567 | man/man6/lcdscrub | 569 | man/man6/lcdscrub.6 | |
568 | man/man6/lightning.6 | 570 | man/man6/lightning.6 | |
569 | man/man6/lisa.6 | 571 | man/man6/lisa.6 | |
570 | man/man6/lissie.6 | 572 | man/man6/lissie.6 | |
571 | man/man6/ljlatest.6 | 573 | man/man6/ljlatest.6 | |
572 | man/man6/lmorph.6 | 574 | man/man6/lmorph.6 | |
573 | man/man6/lockward.6 | 575 | man/man6/lockward.6 | |
574 | man/man6/loop.6 | 576 | man/man6/loop.6 | |
575 | man/man6/maze.6 | 577 | man/man6/maze.6 | |
576 | man/man6/memscroller.6 | 578 | man/man6/memscroller.6 | |
577 | man/man6/menger.6 | 579 | man/man6/menger.6 | |
578 | man/man6/metaballs.6 | 580 | man/man6/metaballs.6 | |
579 | man/man6/mirrorblob.6 | 581 | man/man6/mirrorblob.6 | |
580 | man/man6/mismunch.6 | 582 | man/man6/mismunch.6 | |
@@ -608,26 +610,27 @@ man/man6/pyro.6 | @@ -608,26 +610,27 @@ man/man6/pyro.6 | |||
608 | man/man6/qix.6 | 610 | man/man6/qix.6 | |
609 | man/man6/queens.6 | 611 | man/man6/queens.6 | |
610 | man/man6/rd-bomb.6 | 612 | man/man6/rd-bomb.6 | |
611 | man/man6/ripples.6 | 613 | man/man6/ripples.6 | |
612 | man/man6/rocks.6 | 614 | man/man6/rocks.6 | |
613 | man/man6/rorschach.6 | 615 | man/man6/rorschach.6 | |
614 | man/man6/rotor.6 | 616 | man/man6/rotor.6 | |
615 | man/man6/rotzoomer.6 | 617 | man/man6/rotzoomer.6 | |
616 | man/man6/rubik.6 | 618 | man/man6/rubik.6 | |
617 | man/man6/sballs.6 | 619 | man/man6/sballs.6 | |
618 | man/man6/shadebobs.6 | 620 | man/man6/shadebobs.6 | |
619 | man/man6/sierpinski.6 | 621 | man/man6/sierpinski.6 | |
620 | man/man6/sierpinski3d.6 | 622 | man/man6/sierpinski3d.6 | |
623 | man/man6/skytentacles.6 | |||
621 | man/man6/slidescreen.6 | 624 | man/man6/slidescreen.6 | |
622 | man/man6/slip.6 | 625 | man/man6/slip.6 | |
623 | man/man6/sonar.6 | 626 | man/man6/sonar.6 | |
624 | man/man6/speedmine.6 | 627 | man/man6/speedmine.6 | |
625 | man/man6/sphere.6 | 628 | man/man6/sphere.6 | |
626 | man/man6/spheremonics.6 | 629 | man/man6/spheremonics.6 | |
627 | man/man6/spiral.6 | 630 | man/man6/spiral.6 | |
628 | man/man6/spotlight.6 | 631 | man/man6/spotlight.6 | |
629 | man/man6/sproingies.6 | 632 | man/man6/sproingies.6 | |
630 | man/man6/squiral.6 | 633 | man/man6/squiral.6 | |
631 | man/man6/stairs.6 | 634 | man/man6/stairs.6 | |
632 | man/man6/starfish.6 | 635 | man/man6/starfish.6 | |
633 | man/man6/starwars.6 | 636 | man/man6/starwars.6 |
@@ -1,12 +1,13 @@ | @@ -1,12 +1,13 @@ | |||
1 | $NetBSD: distinfo,v 1.52 2008/03/10 12:37:12 drochner Exp $ | 1 | $NetBSD: distinfo,v 1.53 2008/07/30 20:18:36 drochner Exp $ | |
2 | 2 | |||
3 | SHA1 (xscreensaver-5.05.tar.gz) = 6f23422b17dd8a06cdaf419fd16d398eee50601b | 3 | SHA1 (xscreensaver-5.06.tar.gz) = 3310789ecf1ed8ff790d94512fe536857e793e4c | |
4 | RMD160 (xscreensaver-5.05.tar.gz) = 8f174d544ae68f54454d946c854cf81749427afb | 4 | RMD160 (xscreensaver-5.06.tar.gz) = de164ee7f68094f77b28dcfaa3279953f98cba83 | |
5 | Size (xscreensaver-5.05.tar.gz) = 5468293 bytes | 5 | Size (xscreensaver-5.06.tar.gz) = 5486779 bytes | |
6 | SHA1 (patch-aa) = 6dbc44a362e0fc7142ed3135674a8fb6ed5a9979 | 6 | SHA1 (patch-aa) = 6dbc44a362e0fc7142ed3135674a8fb6ed5a9979 | |
7 | SHA1 (patch-ab) = d49a0854e40d6e0dcd9dfcec9c4007d0dd62dfdb | 7 | SHA1 (patch-ab) = d49a0854e40d6e0dcd9dfcec9c4007d0dd62dfdb | |
8 | SHA1 (patch-ac) = a18940984f4ebb96bcfb07618ae86aacbdc9cbfb | 8 | SHA1 (patch-ac) = 8ca1464ac1b0748755405977a436e51a2a288329 | |
9 | SHA1 (patch-ad) = 8a4e9578fa5b9b33c52884e360638ae707798be5 | 9 | SHA1 (patch-ad) = 8a4e9578fa5b9b33c52884e360638ae707798be5 | |
10 | SHA1 (patch-ae) = 16d0c8b50b2601458aaec09d1c7425fb23308225 | 10 | SHA1 (patch-ae) = 16d0c8b50b2601458aaec09d1c7425fb23308225 | |
11 | SHA1 (patch-af) = d8261f1c8fd01b455a151f97837712dc46aff6f3 | 11 | SHA1 (patch-af) = d8261f1c8fd01b455a151f97837712dc46aff6f3 | |
12 | SHA1 (patch-ai) = ceda5f16e4fca352a3c4cd6cbdc55d43d3e7b6d5 | 12 | SHA1 (patch-ai) = ceda5f16e4fca352a3c4cd6cbdc55d43d3e7b6d5 | |
13 | SHA1 (patch-aj) = 053c64a595423a65e9b3bde474ae2e19f3382cf7 |
@@ -1,71 +1,71 @@ | @@ -1,71 +1,71 @@ | |||
1 | $NetBSD: patch-ac,v 1.19 2008/03/10 12:37:12 drochner Exp $ | 1 | $NetBSD: patch-ac,v 1.20 2008/07/30 20:18:37 drochner Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2008-03-02 06:34:45.000000000 +0100 | 3 | --- configure.orig 2008-07-16 23:40:47.000000000 +0200 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -3510,6 +3510,9 @@ echo "${ECHO_T}Disabling Objective C ext | 5 | @@ -3500,6 +3500,9 @@ echo "${ECHO_T}$ac_cv_gcc_accepts_no_cpp | |
6 | fi | 6 | ac_gcc_accepts_no_cpp_precomp="$ac_cv_gcc_accepts_no_cpp_precomp" | |
7 | fi | 7 | fi | |
8 | 8 | |||
9 | +# Disable c89 options, since these trigger more errors than expected and | 9 | +# Disable c89 options, since these trigger more errors than expected and | |
10 | +# cause build failures. | 10 | +# cause build failures. | |
11 | +if false; then | 11 | +if false; then | |
12 | if test -n "$GCC"; then | 12 | if test -n "$GCC"; then | |
13 | if test -n "$GCC"; then | 13 | if test -n "$GCC"; then | |
14 | { echo "$as_me:$LINENO: checking whether gcc accepts -std=c89" >&5 | 14 | { echo "$as_me:$LINENO: checking whether gcc accepts -std=c89" >&5 | |
15 | @@ -3558,6 +3561,7 @@ echo "${ECHO_T}Disabling C++ comments in | 15 | @@ -3550,6 +3553,7 @@ echo "${ECHO_T}Disabling C++ comments in | |
16 | CC="$CC -Wp,-lang-c89" | 16 | CC="$CC -Wp,-lang-c89" | |
17 | fi | 17 | fi | |
18 | fi | 18 | fi | |
19 | +fi | 19 | +fi | |
20 | 20 | |||
21 | ac_ext=c | 21 | ac_ext=c | |
22 | ac_cpp='$CPP $CPPFLAGS' | 22 | ac_cpp='$CPP $CPPFLAGS' | |
23 | @@ -7929,7 +7933,7 @@ _ACEOF | 23 | @@ -7921,7 +7925,7 @@ _ACEOF | |
24 | 24 | |||
25 | 25 | |||
26 | 26 | |||
27 | -ALL_LINGUAS="ca da de es et fi fr hu it ja ko nb nl no pl pt pt_BR ru sk sv vi wa zh_CN zh_TW" | 27 | -ALL_LINGUAS="ca da de es et fi fr hu it ja ko nb nl no pl pt pt_BR ru sk sv vi wa zh_CN zh_TW" | |
28 | +ALL_LINGUAS="da de es et fi fr hu it ja ko nb nl no pl pt ru sk sv vi wa zh_CN zh_TW" | 28 | +ALL_LINGUAS="da de es et fi fr hu it ja ko nb nl no pl pt ru sk sv vi wa zh_CN zh_TW" | |
29 | if test -n "$ac_tool_prefix"; then | 29 | if test -n "$ac_tool_prefix"; then | |
30 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 30 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
31 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 31 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
32 | @@ -13552,7 +13556,7 @@ if test "${ac_cv_lib_krb4_krb_get_tf_rea | 32 | @@ -13640,7 +13644,7 @@ if test "${ac_cv_lib_krb4_krb_get_tf_rea | |
33 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 33 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
34 | else | 34 | else | |
35 | ac_check_lib_save_LIBS=$LIBS | 35 | ac_check_lib_save_LIBS=$LIBS | |
36 | -LIBS="-lkrb4 $LIBS" | 36 | -LIBS="-lkrb4 $LIBS" | |
37 | +LIBS="-lkrb -lcrypto -lroken -lcom_err $LIBS" | 37 | +LIBS="-lkrb -lcrypto -lroken -lcom_err $LIBS" | |
38 | cat >conftest.$ac_ext <<_ACEOF | 38 | cat >conftest.$ac_ext <<_ACEOF | |
39 | /* confdefs.h. */ | 39 | /* confdefs.h. */ | |
40 | _ACEOF | 40 | _ACEOF | |
41 | @@ -13639,7 +13643,7 @@ echo "$as_me: WARNING: Cannot find compa | 41 | @@ -13727,7 +13731,7 @@ echo "$as_me: WARNING: Cannot find compa | |
42 | # from Matt Knopp <mhat@infocalypse.netlag.com> | 42 | # from Matt Knopp <mhat@infocalypse.netlag.com> | |
43 | # (who got it from amu@mit.edu) | 43 | # (who got it from amu@mit.edu) | |
44 | 44 | |||
45 | - PASSWD_LIBS="$PASSWD_LIBS -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err" | 45 | - PASSWD_LIBS="$PASSWD_LIBS -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err" | |
46 | + PASSWD_LIBS="$PASSWD_LIBS -lkrb5 -lasn1 -lkrb -lcrypto -lroken -lcom_err" | 46 | + PASSWD_LIBS="$PASSWD_LIBS -lkrb5 -lasn1 -lkrb -lcrypto -lroken -lcom_err" | |
47 | 47 | |||
48 | # jwz: MacOS X uses -lkrb5, but not -lcrypt | 48 | # jwz: MacOS X uses -lkrb5, but not -lcrypt | |
49 | 49 | |||
50 | @@ -14801,7 +14805,7 @@ fi | 50 | @@ -14889,7 +14893,7 @@ fi | |
51 | # | 51 | # | |
52 | if test "$enable_locking" = yes ; then | 52 | if test "$enable_locking" = yes ; then | |
53 | case "$host" in | 53 | case "$host" in | |
54 | - *-hpux* | *-aix* | *-netbsd* | *-freebsd* | *-openbsd* ) | 54 | - *-hpux* | *-aix* | *-netbsd* | *-freebsd* | *-openbsd* ) | |
55 | + *-hpux* | *-aix* | *-freebsd* | *-openbsd* ) | 55 | + *-hpux* | *-aix* | *-freebsd* | *-openbsd* ) | |
56 | need_setuid=yes | 56 | need_setuid=yes | |
57 | ;; | 57 | ;; | |
58 | esac | 58 | esac | |
59 | @@ -15235,11 +15239,7 @@ echo "${ECHO_T}$ac_cv_gtk_config_libs" > | 59 | @@ -15323,11 +15327,7 @@ echo "${ECHO_T}$ac_cv_gtk_config_libs" > | |
60 | ac_gtk_config_libs=$ac_cv_gtk_config_libs | 60 | ac_gtk_config_libs=$ac_cv_gtk_config_libs | |
61 | 61 | |||
62 | GTK_EXTRA_OBJS="" | 62 | GTK_EXTRA_OBJS="" | |
63 | - GTK_DATADIR="" | 63 | - GTK_DATADIR="" | |
64 | - if test "$have_gtk" = yes; then | 64 | - if test "$have_gtk" = yes; then | |
65 | - GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` | 65 | - GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` | |
66 | - GTK_DATADIR="$GTK_DATADIR/share" | 66 | - GTK_DATADIR="$GTK_DATADIR/share" | |
67 | - fi | 67 | - fi | |
68 | + GTK_DATADIR="$datadir" | 68 | + GTK_DATADIR="$datadir" | |
69 | 69 | |||
70 | if test "$have_gtk" = yes; then | 70 | if test "$have_gtk" = yes; then | |
71 | INCLUDES="$INCLUDES $ac_gtk_config_cflags" | 71 | INCLUDES="$INCLUDES $ac_gtk_config_cflags" |
$NetBSD: patch-aj,v 1.1 2008/07/30 20:18:37 drochner Exp $
--- hacks/glx/skytentacles.c.orig 2008-07-16 22:19:15.000000000 +0200
+++ hacks/glx/skytentacles.c
@@ -241,6 +241,9 @@ make_tentacle (ModeInfo *mi, int which,
if (tc->tentacles_size <= tc->ntentacles)
{
+ if (!tc->tentacles_size)
+ tc->tentacles_size = 10;
+ else
tc->tentacles_size = (tc->tentacles_size * 1.2) + tc->ntentacles;
tc->tentacles = (tentacle **)
realloc (tc->tentacles, tc->tentacles_size * sizeof(*tc->tentacles));