Giter Club home page Giter Club logo

Comments (10)

hrydgard avatar hrydgard commented on August 20, 2024

I'm confused, doesn't seem like this API change has been made part of an official release of miniupnp yet? Hm, the change was in may and our fork was updated in june?

We should probably just upgrade our forked version, and do this change without the ifdef, when it's time.

from ppsspp.

VVD avatar VVD commented on August 20, 2024

I'm confused, doesn't seem like this API change has been made part of an official release of miniupnp yet?

Already included in 2.2.8 release. Yes, it's API breakage in patch level update: 2.2.7 → 2.2.8. 👎

Hm, the change was in may and our fork was updated in june?

2.2.8 released month ago: https://github.com/miniupnp/miniupnp/releases/tag/miniupnpc_2_2_8

We should probably just upgrade our forked version, and do this change without the ifdef, when it's time.

Maybe. But the FreeBSD port emulators/ppsspp uses external miniupnpc from port net/miniupnpc.

from ppsspp.

hrydgard avatar hrydgard commented on August 20, 2024

Ok, I guess I'll just apply the patch with the version check then. Ugly.

from ppsspp.

hrydgard avatar hrydgard commented on August 20, 2024

Alright, PR submitted: #19335

from ppsspp.

VVD avatar VVD commented on August 20, 2024

You don't need old comment about status values.

from ppsspp.

VVD avatar VVD commented on August 20, 2024

Also status never used after call UPNP_GetValidIGD.

from ppsspp.

hrydgard avatar hrydgard commented on August 20, 2024

I thought you wanted to add it for some reason since it was included in your patch above.

Yeah, should probably check it. I'll just log it out for now. I didn't write that code, heh.

from ppsspp.

VVD avatar VVD commented on August 20, 2024

I said about this line:
- int status = UPNP_GetValidIGD(devlist, urls, datas, lanaddr, sizeof(lanaddr)); //possible "status" values, 0 = NO IGD found, 1 = A valid connected IGD has been found, 2 = A valid IGD has been found but it reported as not connected, 3 = an UPnP device has been found but was not recognized as an IGD

from ppsspp.

hrydgard avatar hrydgard commented on August 20, 2024

ooh, I misunderstood, heh. Will restore it.

from ppsspp.

VVD avatar VVD commented on August 20, 2024

Thanks!

from ppsspp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.