Ticket #27506: macports-1.9.2-entry.patch

File macports-1.9.2-entry.patch, 659 bytes (added by mmpestorich (Mike M Pestorich), 14 years ago)
  • src/cregistry/entry.c

    old new  
    12291229int reg_entry_dependents(reg_entry* entry, reg_entry*** dependents,
    12301230        reg_error* errPtr) {
    12311231    reg_registry* reg = entry->reg;
    1232     char* query = sqlite3_mprintf("SELECT dependent.id FROM ports port "
     1232    char* query = sqlite3_mprintf("SELECT dependencies.id FROM ports port "
    12331233            "INNER JOIN dependencies USING(name) INNER JOIN ports dependent "
    12341234            "USING(id) WHERE port.id=%lld ORDER BY dependent.name,"
    12351235            "dependent.epoch, dependent.version, dependent.revision,"