Git fails to make on FreeBSD 5.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm getting this error when I run gmake on FreeBSD 5.5

    CC builtin-archive.o
builtin-archive.c: In function `format_specfile':
builtin-archive.c:96: warning: implicit declaration of function `memmem'
builtin-archive.c:96: warning: assignment makes pointer from integer without a cast
    LINK git
builtin-archive.o(.text+0x225): In function `sha1_file_to_archive':
/root/git/builtin-archive.c:96: undefined reference to `memmem'
collect2: ld returned 1 exit status
gmake: *** [git] Error 1


After running git bisect I this:

df4a394f91d7d107c2a57e6c1df3638517cab54f is first bad commit
commit df4a394f91d7d107c2a57e6c1df3638517cab54f
Author: René Scharfe <rene.scharfe@xxxxxxxxxxxxxx>
Date:   Fri Sep 7 00:34:06 2007 +0200

archive: specfile syntax change: "$Format:%PLCHLDR$" instead of just "%PLCHLDR" (take 2)

As suggested by Johannes, --pretty=format: placeholders in specfiles need to be wrapped in $Format:...$ now. This syntax change restricts
    the expansion of placeholders and makes it easier to use with files
    that contain non-placeholder percent signs.

    Signed-off-by: Rene Scharfe <rene.scharfe@xxxxxxxxxxxxxx>
    Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx>

:040000 040000 925cf49a2106755230dce548f4e7aba264386c1c e12ac3535fa4a0bfefd80b309ddcb356962ed13f M Documentation :100644 100644 faccce302a5ca3104aa89020c89694e682ef0ba6 65bf9cbec1fdeff4bded1602d73ed62abe189fae M builtin-archive.c :040000 040000 789a0f59a5dcd87f5bcfb451008171ba4ae740cf 1711288bc915ae6d01d0754a488caaa6c434debe M t


Robert-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux