diff --git a/ncurses-5.9-patches.tar.bz2 b/ncurses-5.9-patches.tar.bz2 index 7a58c07..0f02b23 100644 --- a/ncurses-5.9-patches.tar.bz2 +++ b/ncurses-5.9-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:320a7d61e0282cbd4ee839a35093cdfe2f5c2c9fdc50e2e231bed4b01ce6acc7 -size 3189737 +oid sha256:1c9fb178ba8923f0a31203d521fe88806a7aadedd801c6057478853b28fd34dd +size 3208870 diff --git a/ncurses-5.9.dif b/ncurses-5.9.dif index 9cfef9f..0dc706f 100644 --- a/ncurses-5.9.dif +++ b/ncurses-5.9.dif @@ -9,7 +9,7 @@ #include #if defined(__cplusplus) -@@ -4350,12 +4350,15 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -4480,9 +4483,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <\$TMP CF_EOF if test -n "$cf_compress" ; then -@@ -10872,9 +10875,9 @@ cat >>$cf_edit_man <>$cf_edit_man <>$cf_edit_man <>$cf_edit_man < @@ -350,7 +350,7 @@ fi if test "${includedir}" != /usr/include ; then --- misc/terminfo.src -+++ misc/terminfo.src 2012-07-31 09:22:44.000000000 +0000 ++++ misc/terminfo.src 2014-03-26 13:44:38.546235425 +0000 @@ -301,7 +301,9 @@ dumb|80-column dumb tty, am, cols#80, @@ -362,7 +362,7 @@ gn, use=dumb, lpr|printer|line printer, OTbs, hc, os, -@@ -1624,9 +1626,15 @@ linux-c|linux console 1.3.6+ for older n +@@ -1622,9 +1624,15 @@ linux-c|linux console 1.3.6+ for older n # The 2.2.x kernels add a private mode that sets the cursor type; use that to # get a block cursor for cvvis. # reported by Frank Heckenbach . @@ -379,7 +379,7 @@ # Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here: # http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/0868.html -@@ -2926,6 +2934,7 @@ vt132|DEC vt132, +@@ -3007,6 +3015,7 @@ vt132|DEC vt132, # at the top of the keyboard. The "DO" key is used as F10 to avoid conflict # with the key marked (ESC) on the vt220. See vt220d for an alternate mapping. # PF1--PF4 are used as F1--F4. @@ -387,7 +387,7 @@ # # added msgr -TD vt220-old|vt200-old|DEC VT220 in vt100 emulation mode, -@@ -2936,7 +2945,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e +@@ -3017,7 +3026,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, @@ -396,7 +396,7 @@ dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, -@@ -3093,6 +3102,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul. +@@ -3174,6 +3183,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul. # to SMASH the 1k-barrier... # From: Adam Thompson Sept 10 1995 # (vt320: uncommented --esr) @@ -404,7 +404,7 @@ vt320|vt300|dec vt320 7 bit terminal, am, hs, mir, msgr, xenl, cols#80, lines#24, wsl#80, -@@ -3102,7 +3112,7 @@ vt320|vt300|dec vt320 7 bit terminal, +@@ -3183,7 +3193,7 @@ vt320|vt300|dec vt320 7 bit terminal, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, @@ -413,7 +413,7 @@ ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, -@@ -3514,13 +3524,14 @@ putty-sco|putty with SCO function keys, +@@ -3595,13 +3605,14 @@ putty-sco|putty with SCO function keys, # retrieving the window title, and for setting the window size (i.e., using # "resize -s"), though it does not pass SIGWINCH to the application if the # user resizes the window with the mouse. @@ -429,7 +429,7 @@ dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, -@@ -3723,6 +3734,7 @@ xterm-old|antique xterm version, +@@ -3804,6 +3815,7 @@ xterm-old|antique xterm version, use=xterm-r6, # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up. # The name has been changed and some aliases have been removed. @@ -437,7 +437,7 @@ xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), OTbs, am, bce, km, mir, msgr, xenl, XT, cols#80, it#8, lines#24, ncv@, -@@ -3732,7 +3744,7 @@ xterm-xf86-v32|xterm terminal emulator ( +@@ -3813,7 +3825,7 @@ xterm-xf86-v32|xterm terminal emulator ( csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, @@ -446,7 +446,7 @@ ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, -@@ -4199,8 +4211,26 @@ xterm-noapp|xterm with cursor keys in no +@@ -4285,8 +4297,26 @@ xterm-noapp|xterm with cursor keys in no xterm-24|vs100|xterms|xterm terminal emulator (X Window System), lines#24, use=xterm-old, @@ -473,7 +473,7 @@ use=xterm-new, # This entry assumes that xterm's handling of VT100 SI/SO is disabled by -@@ -4406,7 +4436,7 @@ xterms-sun|small (80x24) xterm with sunF +@@ -4495,7 +4525,7 @@ xterms-sun|small (80x24) xterm with sunF #### GNOME (VTE) # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0 @@ -482,7 +482,7 @@ bce, kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-color, -@@ -4567,10 +4597,14 @@ mgt|Multi GNOME Terminal, +@@ -4656,10 +4686,14 @@ mgt|Multi GNOME Terminal, #### KDE # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce # or not is debatable). @@ -498,8 +498,8 @@ # Konsole 1.0.1 # (formerly known as kvt) # -@@ -4685,14 +4719,14 @@ konsole-256color|KDE console window with - mlterm|multi lingual terminal emulator, +@@ -4787,14 +4821,14 @@ mlterm3|multi lingual terminal emulator, + mlterm2|multi lingual terminal emulator, am, eslok, km, mc5i, mir, msgr, npc, xenl, XT, colors#8, cols#80, it#8, lines#24, pairs#64, - acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, @@ -516,7 +516,7 @@ home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, -@@ -4747,6 +4781,7 @@ mlterm-256color|mlterm 3.0 with xterm 25 +@@ -4849,6 +4883,7 @@ mlterm-256color|mlterm 3.0 with xterm 25 # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM. # Since rxvt is not really compatible with xterm, it should be configured as # "rxvt" or "rxvt-color". @@ -524,7 +524,7 @@ # # removed dch/dch1 because they are inconsistent with bce/ech -TD # remove km as per tack test -TD -@@ -4758,13 +4793,14 @@ rxvt-basic|rxvt terminal base (X Window +@@ -4860,13 +4895,14 @@ rxvt-basic|rxvt terminal base (X Window clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, @@ -542,7 +542,7 @@ rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, -@@ -4773,7 +4809,7 @@ rxvt-basic|rxvt terminal base (X Window +@@ -4875,7 +4911,7 @@ rxvt-basic|rxvt terminal base (X Window sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq, @@ -551,7 +551,7 @@ # Key Codes from rxvt reference: # # Note: Shift + F1-F10 generates F11-F20 -@@ -4856,8 +4892,8 @@ rxvt-basic|rxvt terminal base (X Window +@@ -4958,8 +4994,8 @@ rxvt-basic|rxvt terminal base (X Window # Removed kDN6, etc (control+shift) since rxvt does not implement this -TD rxvt+pcfkeys|fragment for PC-style fkeys, kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d, @@ -562,7 +562,7 @@ kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, -@@ -4895,6 +4931,39 @@ rxvt-cygwin-native|rxvt terminal emulato +@@ -4997,6 +5033,39 @@ rxvt-cygwin-native|rxvt terminal emulato acsc=+\257\,\256-\^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376, use=rxvt-cygwin, @@ -602,7 +602,7 @@ # This variant is supposed to work with rxvt 2.7.7 when compiled with # NO_BRIGHTCOLOR defined. rxvt needs more work... rxvt-16color|xterm with 16 colors like aixterm, -@@ -4924,7 +4993,7 @@ mrxvt-256color|multitabbed rxvt with 256 +@@ -5026,7 +5095,7 @@ mrxvt-256color|multitabbed rxvt with 256 # Eterm 0.9.3 # # removed kf0 which conflicts with kf10 -TD @@ -611,7 +611,7 @@ # Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT # but does otherwise follow the rxvt+pcfkeys model -TD # remove nonworking flash -TD -@@ -4938,13 +5007,13 @@ Eterm|Eterm-color|Eterm with xterm-style +@@ -5040,13 +5109,13 @@ Eterm|Eterm-color|Eterm with xterm-style csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, @@ -627,7 +627,7 @@ kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=, -@@ -5375,7 +5444,7 @@ pty|4bsd pseudo teletype, +@@ -5537,7 +5606,7 @@ pty|4bsd pseudo teletype, #### Emacs # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 @@ -636,7 +636,7 @@ am, mir, xenl, cols#80, lines#24, bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, -@@ -5388,6 +5457,13 @@ eterm|gnu emacs term.el terminal emulati +@@ -5550,6 +5619,13 @@ eterm|gnu emacs term.el terminal emulati rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, smul=\E[4m, @@ -650,7 +650,7 @@ # The codes supported by the term.el terminal emulation in GNU Emacs 22.2 eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96, -@@ -5438,7 +5514,7 @@ screen|VT 100/ANSI X3.64 virtual termina +@@ -5600,7 +5676,7 @@ screen|VT 100/ANSI X3.64 virtual termina cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, @@ -659,7 +659,7 @@ kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, -@@ -5617,7 +5693,7 @@ screen2|old VT 100/ANSI X3.64 virtual te +@@ -5779,7 +5855,7 @@ screen2|old VT 100/ANSI X3.64 virtual te cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, @@ -668,7 +668,7 @@ kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, -@@ -7351,7 +7427,7 @@ hp700-wy|HP700/41 emulating wyse30, +@@ -7513,7 +7589,7 @@ hp700-wy|HP700/41 emulating wyse30, ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, @@ -677,7 +677,7 @@ am, da, db, xhp, cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA, -@@ -10485,6 +10561,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit +@@ -10647,6 +10723,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit # at support for the VT320 itself. # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu. # (vt320-k3: I added / based on the init string -- esr) @@ -685,7 +685,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulation, am, eslok, hs, km, mir, msgr, xenl, cols#80, it#8, lines#49, pb#9600, vt#3, -@@ -10494,7 +10571,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio +@@ -10656,7 +10733,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, @@ -694,7 +694,7 @@ dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, -@@ -14770,7 +14847,7 @@ ibm3101|i3101|IBM 3101-10, +@@ -14932,7 +15009,7 @@ ibm3101|i3101|IBM 3101-10, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, @@ -703,7 +703,7 @@ is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162, -@@ -15000,7 +15077,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De +@@ -15162,7 +15239,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De tbc=\E[3g, # "Megapel" refers to the display adapter, which was used with the IBM RT # aka IBM 6150. @@ -838,7 +838,7 @@ } else if (strstr(env, "screen") != 0 --- ncurses/tinfo/read_entry.c +++ ncurses/tinfo/read_entry.c 2011-02-28 13:41:44.000000000 +0000 -@@ -404,6 +404,7 @@ _nc_read_file_entry(const char *const fi +@@ -406,6 +406,7 @@ _nc_read_file_entry(const char *const fi int limit; char buffer[MAX_ENTRY_SIZE + 1]; @@ -846,7 +846,7 @@ if (_nc_access(filename, R_OK) < 0 || (fp = fopen(filename, "rb")) == 0) { TR(TRACE_DATABASE, ("cannot open terminfo %s (errno=%d)", filename, errno)); -@@ -421,6 +422,7 @@ _nc_read_file_entry(const char *const fi +@@ -423,6 +424,7 @@ _nc_read_file_entry(const char *const fi } fclose(fp); } @@ -903,7 +903,7 @@ if (copied != 0) --- test/test.priv.h +++ test/test.priv.h 2006-05-18 14:07:19.000000000 +0000 -@@ -696,12 +696,12 @@ extern char *strnames[], *strcodes[], *s +@@ -708,12 +708,12 @@ extern char *strnames[], *strcodes[], *s #endif /* out-of-band values for representing absent capabilities */ diff --git a/ncurses.changes b/ncurses.changes index 3fb4caf..f6d3560 100644 --- a/ncurses.changes +++ b/ncurses.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Mon Mar 31 10:13:11 UTC 2014 - werner@suse.de + +- Add ncurses patch 20140329 + + add check in tic for mismatch between ccc and initp/initc + + cancel ccc in putty-256color and konsole-256color for consistency + with the cancelled initc capability (patch by Sven Zuhlsdorf). + + add xterm+256setaf building block for various terminals which only + get the 256-color feature half-implemented -TD + + updated "st" entry (leaving the 0.1.1 version as "simpleterm") to + 0.4.1 -TD + +------------------------------------------------------------------- +Thu Mar 27 13:57:11 UTC 2014 - werner@suse.de + +- Make sure that libgpm is always loaded dynamically + +------------------------------------------------------------------- +Wed Mar 26 09:04:28 UTC 2014 - werner@suse.de + +- Add ncurses patch 20140323 + + fix typo in "mlterm" entry (report by Gabriele Balducci) -TD +- Add ncurses patch 20140322 + + use types from in sample build-scripts for chtype, etc. + + modify configure script and curses.h.in to allow the types specified + using --with-chtype and related options to be defined in + + add terminology entry -TD + + add mlterm3 entry, use that as "mlterm" -TD + + inherit mlterm-256color from mlterm -TD + +------------------------------------------------------------------- +Tue Mar 18 17:18:00 UTC 2014 - werner@suse.de + +- Add ncurses patch 20140315 + + modify _nc_New_TopRow_and_CurrentItem() to ensure that the menu's + top-row is adjusted as needed to ensure that the current item is + on the screen (patch by Johann Klammer). + + add wgetdelay() to retrieve _delay member of WINDOW if it happens to + be opaque, e.g., in the pthread configuration (prompted by patch by + Soren Brinkmann). + +------------------------------------------------------------------- +Wed Mar 12 08:53:39 UTC 2014 - werner@suse.de + +- Add ncurses patch 20140308 + + modify ifdef in read_entry.c to handle the case where + NCURSES_USE_DATABASE is not defined (patch by Xin Li). + + add cast in form_driver_w() to fix ARM build (patch by Xin Li). + + add logic to win_driver.c to save/restore screen contents when not + allocating a console-buffer (cf: 20140215). + ------------------------------------------------------------------- Mon Mar 3 16:21:40 UTC 2014 - werner@suse.de diff --git a/ncurses.spec b/ncurses.spec index 4158278..79825dd 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -379,6 +379,10 @@ rm -vf mk-dlls.sh # libtinfo (is linked with) and therefore there is no # advantage about splitting of a libtinfo (IMHO). # +%if 0%{?suse_version} > 1310 + SO=$(rpm -ql gpm-devel|grep %{_libdir}) + SO=%{_libdir}/$(readlink $SO) +%endif touch --reference=README config.sub config.guess > $SCREENLOG tail -q -s 0.5 -f $SCREENLOG & pid=$! @@ -393,7 +397,11 @@ rm -vf mk-dlls.sh --with-manpage-renames=${PWD}/man/man_db.renames \ --with-manpage-aliases \ --with-ospeed=speed_t \ +%if 0%{?suse_version} > 1310 + --with-gpm=$SO \ +%else --with-gpm \ +%endif --with-dlsym \ --with-termlib=tinfo \ --with-ticlib=tic \