File: standard-new.patch

package info (click to toggle)
libnet-libdnet-perl 0.96-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 420 kB
  • sloc: perl: 1,012; ansic: 311; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 883 bytes parent folder | download | duplicates (4)
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 <dumbnet.h>
+#include <dnet.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{dumbnet-config --libs 2>/dev/null}
-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
+my $libs = qx{dnet-config --libs 2>/dev/null}
+   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
 
-my $inc = qx{dumbnet-config --cflags 2>/dev/null}
+my $inc = qx{dnet-config --cflags 2>/dev/null}
    || '-I/include -I/usr/include -I/usr/local/include';
 
 WriteMakefile(