[csw-devel] SF.net SVN: gar:[21961] csw/mgar/pkg/pypcap/trunk/files/ 0003-include-pcap-must-be-first-to-pick-pcap_file.patch

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Sep 18 09:54:14 CEST 2013


Revision: 21961
          http://gar.svn.sourceforge.net/gar/?rev=21961&view=rev
Author:   wahwah
Date:     2013-09-18 07:54:14 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
pypcap/trunk: Add an explanation of what the problem is

Modified Paths:
--------------
    csw/mgar/pkg/pypcap/trunk/files/0003-include-pcap-must-be-first-to-pick-pcap_file.patch

Modified: csw/mgar/pkg/pypcap/trunk/files/0003-include-pcap-must-be-first-to-pick-pcap_file.patch
===================================================================
--- csw/mgar/pkg/pypcap/trunk/files/0003-include-pcap-must-be-first-to-pick-pcap_file.patch	2013-09-18 07:49:58 UTC (rev 21960)
+++ csw/mgar/pkg/pypcap/trunk/files/0003-include-pcap-must-be-first-to-pick-pcap_file.patch	2013-09-18 07:54:14 UTC (rev 21961)
@@ -3,6 +3,16 @@
 Date: Wed, 18 Sep 2013 09:43:43 +0200
 Subject: [PATCH] include/pcap must be first to pick pcap_file()
 
+If /opt/csw/include/pcap.h gets picked up first, it and only it gets parsed
+and searched for "pcap_file(". But /opt/csw/include/pcap.h is only
+an empty compatibility file, it only includes the /opt/csw/include/pcap/pcap.h
+file. But since this code only parses the first found include file,
+.../include/pcap/pcap.h doesn't get parsed and the configure script thinks
+that the pcap_file() function is not available.
+
+The downsides of custom configure scripts with custom discovery methods, not
+actually running the compiler.
+
 ---
  setup.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list