File: ubuntu-new.patch

package info (click to toggle)
libnet-libdnet-perl 0.98-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 412 kB
  • sloc: perl: 1,007; ansic: 311; makefile: 9
file content (31 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: Libdnet.xs
===================================================================
--- Libdnet.xs	(revision 41)
+++ Libdnet.xs	(working copy)
@@ -34,7 +34,7 @@
 #include "XSUB.h"
 
 #include <stdio.h>
-#include <dnet.h>
+#include <dumbnet.h>
 
 #ifdef DNET_BLOB_H
 typedef blob_t              Blob;
Index: Makefile.PL
===================================================================
--- Makefile.PL	(revision 41)
+++ Makefile.PL	(working copy)
@@ -3,10 +3,10 @@
 #
 use ExtUtils::MakeMaker;
 
-my $libs = qx{dnet-config --libs 2>/dev/null}
-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
+my $libs = qx{dumbnet-config --libs 2>/dev/null}
+   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
 
-my $inc = qx{dnet-config --cflags 2>/dev/null}
+my $inc = qx{dumbnet-config --cflags 2>/dev/null}
    || '-I/include -I/usr/include -I/usr/local/include';
 
 WriteMakefile(