HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 3 and Version 4 of dev-util/gperf/3.0.4/1


Ignore:
Timestamp:
06/25/09 12:50:22 (6 years ago)
Author:
scottmc
Comment:

added patch to allow make check to run

Legend:

Unmodified
Added
Removed
Modified
  • dev-util/gperf/3.0.4/1

    v3 v4  
    11Builds ok except I had to comment out building of the doc folder in Makefile.[[BR]] 
    2 Make check fails on undefined reference to `setmode' 
    3 {{{ 
    4 ~/gperf-3.0.4> make check 
    5 cd lib; make check 
    6 make[1]: Entering directory `/boot/home/gperf-3.0.4/lib' 
    7 make[1]: Nothing to be done for `check'. 
    8 make[1]: Leaving directory `/boot/home/gperf-3.0.4/lib' 
    9 cd src; make check 
    10 make[1]: Entering directory `/boot/home/gperf-3.0.4/src' 
    11 make[1]: Nothing to be done for `check'. 
    12 make[1]: Leaving directory `/boot/home/gperf-3.0.4/src' 
    13 cd tests; make check 
    14 make[1]: Entering directory `/boot/home/gperf-3.0.4/tests' 
    15 performing some tests of the perfect hash generator 
    16 gcc -c -g -O2 ./test.c 
    17 ../src/gperf -c -l -S1 -I -o ./c.gperf > cinset.c 
    18 gcc -g -O2  -o cout cinset.c test.o 
    19 testing ANSI C reserved words, all items should be found in the set 
    20 ./cout -v < ./c.gperf | LC_ALL=C tr -d '\r' > c.out 
    21 diff ./c.exp c.out 
    22 ../src/gperf -k1,4,'$' -I ./ada.gperf > adainset.c 
    23 gcc -g -O2  -o aout adainset.c test.o 
    24 testing Ada reserved words, all items should be found in the set 
    25 ./aout -v < ./ada.gperf | LC_ALL=C tr -d '\r' > ada-res.out 
    26 diff ./ada-res.exp ada-res.out 
    27 ../src/gperf -D -k1,'$' -s 2 -I -o ./adadefs.gperf > preinset.c 
    28 1 input keys have identical hash values, examine output carefully... 
    29 gcc -g -O2  -o preout preinset.c test.o 
    30 testing Ada predefined words, all items should be found in the set 
    31 ./preout -v < ./adadefs.gperf | LC_ALL=C tr -d '\r' > ada-pred.out 
    32 diff ./ada-pred.exp ada-pred.out 
    33 ../src/gperf -k1,2,'$' -I -o ./modula3.gperf > m3inset.c 
    34 gcc -g -O2  -o m3out m3inset.c test.o 
    35 testing Modula3 reserved words, all items should be found in the set 
    36 ./m3out -v < ./modula3.gperf | LC_ALL=C tr -d '\r' > modula.out 
    37 diff ./modula.exp modula.out 
    38 ../src/gperf -o -S2 -I < ./pascal.gperf > pinset.c 
    39 gcc -g -O2  -o pout pinset.c test.o 
    40 testing Pascal reserved words, all items should be found in the set 
    41 ./pout -v < ./pascal.gperf | LC_ALL=C tr -d '\r' > pascal.out 
    42 diff ./pascal.exp pascal.out 
    43 ../src/gperf -k1 -t -I -K foreign_name < ./lang-utf8.gperf > lu8inset.c 
    44 gcc -g -O2  -o lu8out lu8inset.c test.o 
    45 testing UTF-8 encoded languages, all items should be found in the set 
    46 sed -e '1,6d' -e 's/,.*//' < ./lang-utf8.gperf | ./lu8out -v | LC_ALL=C tr -d '\r' > lang-utf8.out 
    47 diff ./lang-utf8.exp lang-utf8.out 
    48 gcc -c -g -O2 ./test2.c 
    49 ../src/gperf -k4 -t -l -I -K foreign_name < ./lang-ucs2.gperf > lu2inset.c 
    50 gcc -g -O2  -o lu2out lu2inset.c test2.o 
    51 test2.o: In function `main': 
    52 /boot/home/gperf-3.0.4/tests/./test2.c:41: undefined reference to `setmode' 
    53 collect2: ld returned 1 exit status 
    54 make[1]: *** [check-lang-ucs2] Error 1 
    55 make[1]: Leaving directory `/boot/home/gperf-3.0.4/tests' 
    56 make: *** [check] Error 2 
    57 ~/gperf-3.0.4>  
    58 }}} 
     2In order to run "make check" you need to patch test2.c first: [http://ports.haiku-files.org/export/327/haikuports/trunk/dev-util/gperf/gperf-3.0.4-haiku.diff Patch] 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/